1 #ifndef _C_ENCRYPTION_H 2 #define _C_ENCRYPTION_H void(* EncryptionKeyCleanupFunction)(void)
Cleanup all dependencies after the decryption process has finished.
Definition: c_encryption.h:45
error_type EncryptionKey_Release(EncryptionKeyHandle *handle)
Decrement the internal reference counter.
error_type(* EncryptionKeyDecryptFunction)(const BufferHandle *data, BufferHandle **result)
User provided function used for decrypting data.
Definition: c_encryption.h:54
error_type(* EncryptionKeyContainsFunction)(const BufferHandle *issuer, const BufferHandle *serial, boolean_type *result)
Function used to determine whether the private key for certificate issued by issuer with serial is pr...
Definition: c_encryption.h:62
This file contains all type forward declarations returned by the library API.
error_type EncryptionKey_CreateCustom(EncryptionKeyInitializeFunction initialize, EncryptionKeyCleanupFunction cleanup, EncryptionKeyDecryptFunction decrypt, EncryptionKeyContainsFunction contains, EncryptionKeyHandle **result)
Creates a custom EncryptionKeyHandle to provide custom decrypt operation.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
Represents encryption key other than password.
void(* EncryptionKeyInitializeFunction)(void)
Function pointer used to initialize dependencies in order to provide decryption.
Definition: c_encryption.h:37
This file contains types and constants used as parameters or return values.
Represents memory stored data.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31