The encryption library. The functions here are located in RDM Encrytion Library. Linker option: More...
Functions |
|
RDM_RETCODE | rdm_encryptFree (RDM_ENCRYPT enc) |
Free an encryption context. More... | |
RDM_RETCODE | rdm_encryptGetType (RDM_ENCRYPT enc, RDM_ENC_TYPE *ptype) |
Get the encryption type for an allocated encryption context. More... | |
Detailed Description
The encryption library. The functions here are located in RDM Encrytion Library. Linker option:
-l
rdmenc
See the Instantiating Encryption Context for how to instantiate an encryption context.
Function Documentation
rdm_encryptFree()
RDM_RETCODE rdm_encryptFree | ( | RDM_ENCRYPT | enc | ) |
#include <rdmencryptapi.h>
Free an encryption context.
This function will cleanup and free an encryption context. Once the encryption context and been freed it will not be used when open a database.
- Locking Requirements
- None
- See also
- rdm_tfsAllocEncrypt
- Return values
-
sOKAY Success
- Parameters
-
enc Pointer to an encryption context
rdm_encryptGetType()
RDM_RETCODE rdm_encryptGetType | ( | RDM_ENCRYPT | enc, |
RDM_ENC_TYPE * | ptype | ||
) |
#include <rdmencryptapi.h>
Get the encryption type for an allocated encryption context.
This function will return the encryption type for an allocated encryption context.
- Locking Requirements
- None
- See also
- rdm_encryptFree
- Return values
-
sOKAY Success
- Parameters
-
[in] enc [IN] An encryption context [out] ptype [OUT] A pointer to a RDM_ENC_TYPE