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... | |
The encryption library. The functions here are located in RDM Encrytion Library. Linker option:
-lrdmenc
See the rdm_encryption for how to instantiate an encryption context.
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.
sOKAY | Success |
enc | Pointer to an encryption context |
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.
sOKAY | Success |
[in] | enc | An encryption context |
[out] | ptype | A pointer to a RDM_ENC_TYPE |