1 #ifndef _C_PKCS12_KEY_H 2 #define _C_PKCS12_KEY_H error_type PKCS12Key_ToEncryptionKey(PKCS12KeyHandle *handle, EncryptionKeyHandle **result)
Reinterpret current object as EncryptionKeyHandle.
Used for document signing.
error_type PKCS12Key_ToSigningKey(PKCS12KeyHandle *handle, SigningKeyHandle **result)
Reinterpret current object as SigningKeyHandle.
This file contains all type forward declarations returned by the library API.
const char * string_type
C-Style string.
Definition: c_types.h:82
error_type PKCS12Key_FromEncryptionKey(EncryptionKeyHandle *handle, PKCS12KeyHandle **result)
Convert SigningKeyHandle to EncryptionKeyHandle.
PKCS#12 container is often used in cryptography to store asymmetric key pair.
error_type PKCS12Key_Release(PKCS12KeyHandle *handle)
Decrement the internal reference counter.
error_type PKCS12Key_FromSigningKey(SigningKeyHandle *handle, PKCS12KeyHandle **result)
Convert SigningKeyHandle to PKCS12KeyHandle.
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.
This file contains types and constants used as parameters or return values.
error_type PKCS12Key_CreateFromBuffer(BufferHandle *data, string_type password, PKCS12KeyHandle **result)
Uses PKCS#12 standard format to access asymmetric keys.
Represents memory stored data.
error_type PKCS12Key_CreateFromFile(string_type path, string_type password, PKCS12KeyHandle **result)
Uses PKCS#12 standard format to access asymmetric keys.