| typedef error_type(CALLING_CONVENTION * | SigningKey_Initialize_Function) (void *user_data, MessageDigestAlgorithmType algorithm) |
| | Initialize signing engine using selected digest algorithm.
|
| |
| typedef error_type(CALLING_CONVENTION * | SigningKey_Update_Function) (void *user_data, const BufferHandle *data) |
| | Insert data into engine for digest calculation.
|
| |
| typedef error_type(CALLING_CONVENTION * | SigningKey_Final_Function) (void *user_data, BufferHandle **result) |
| | Finish the digest calculation and return signed hash.
|
| |
| typedef error_type(CALLING_CONVENTION * | SigningKey_Cleanup_Function) (void *user_data) |
| | Cleanup all dependencies after the signing process has finished.
|
| |
|
error_type CALLING_CONVENTION | SigningKey_CreateCustom (SigningKey_Initialize_Function sign_init, SigningKey_Update_Function sign_update, SigningKey_Final_Function sign_final, SigningKey_Cleanup_Function sign_cleanup, void *user_data, SigningKeyHandle **result) |
| | Creates a custom SigningKeyHandle to provide custom sign operation.
|
| |
|
error_type CALLING_CONVENTION | SigningKey_ToUnknown (SigningKeyHandle *handle, IUnknownHandle **result) |
| | Reinterpret current object as IUnknownHandle.
|
| |
|
error_type CALLING_CONVENTION | SigningKey_FromUnknown (IUnknownHandle *handle, SigningKeyHandle **result) |
| | Convert IUnknownHandle to BufferHandle.
|
| |
| error_type CALLING_CONVENTION | SigningKey_SignInitialize (SigningKeyHandle *handle, MessageDigestAlgorithmType algorithm) |
| | Initialize signing operation with specified digest algorithm.
|
| |
| error_type CALLING_CONVENTION | SigningKey_SignUpdate (SigningKeyHandle *handle, const BufferHandle *data) |
| | Update signing operation with data to be signed.
|
| |
| error_type CALLING_CONVENTION | SigningKey_SignFinal (SigningKeyHandle *handle, BufferHandle **result) |
| | Finalize signing operation and return signature.
|
| |
| error_type CALLING_CONVENTION | SigningKey_SignCleanup (SigningKeyHandle *handle) |
| | Cleanup signing operation resources.
|
| |
| error_type CALLING_CONVENTION | SigningKey_Release (SigningKeyHandle *handle) |
| | Decrement the internal reference counter.
|
| |
Used for document signing.
Standard routine for message signing is Initialize, (single or multiple) Update, Final.
- See also
- DocumentSignatureSettingsHandle
- Examples
- sign.c, and sign_custom.c.