Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_document_signature_settings.h
Go to the documentation of this file.
1 #ifndef _C_DOCUMENT_SIGNATURE_SETTINGS_H
2 #define _C_DOCUMENT_SIGNATURE_SETTINGS_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
10 
12 
13 #ifdef __cplusplus
14 extern "C"
15 {
16 #endif
17 
39  VANILLAPDF_API error_type CALLING_CONVENTION DocumentSignatureSettings_Create(DocumentSignatureSettingsHandle** result);
40 
45 
50 
55 
60 
65 
70 
75 
80 
85 
90 
97  VANILLAPDF_API error_type CALLING_CONVENTION DocumentSignatureSettings_GetSigningTime(DocumentSignatureSettingsHandle* handle, DateHandle** result);
98 
102  VANILLAPDF_API error_type CALLING_CONVENTION DocumentSignatureSettings_SetSigningTime(DocumentSignatureSettingsHandle* handle, DateHandle* value);
103 
111 
116 
121  VANILLAPDF_API error_type CALLING_CONVENTION DocumentSignatureSettings_Release(DocumentSignatureSettingsHandle* handle);
122 
125 #ifdef __cplusplus
126 };
127 #endif
128 
129 #endif /* _C_DOCUMENT_SIGNATURE_SETTINGS_H */
error_type DocumentSignatureSettings_SetDigest(DocumentSignatureSettingsHandle *handle, MessageDigestAlgorithmType value)
Message digest algorithm for calculation hash of the data to be signed.
This file contains class definitions for DateHandle.
error_type DocumentSignatureSettings_GetDigest(DocumentSignatureSettingsHandle *handle, MessageDigestAlgorithmType *result)
Message digest algorithm for calculation hash of the data to be signed.
error_type DocumentSignatureSettings_GetName(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle **result)
Set the name of the person or authority signing the document.
Text stored in raw format.
Text stored in hexadecimal notation.
error_type DocumentSignatureSettings_GetSigningKey(DocumentSignatureSettingsHandle *handle, SigningKeyHandle **result)
Get handle to key used for calculating document signature value.
error_type DocumentSignatureSettings_SetCertificate(DocumentSignatureSettingsHandle *handle, HexadecimalStringObjectHandle *value)
An array of byte strings that shall represent the X.509 certificate chain used when signing and verif...
error_type DocumentSignatureSettings_SetLocation(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle *value)
Get the CPU host name or physical location of the signing.
error_type DocumentSignatureSettings_SetSigningKey(DocumentSignatureSettingsHandle *handle, SigningKeyHandle *value)
Get handle to key used for calculating document signature value.
Used for document signing.
error_type DocumentSignatureSettings_SetName(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle *value)
Set the name of the person or authority signing the document.
This file contains all type forward declarations returned by the library API.
error_type DocumentSignatureSettings_GetReason(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle **result)
Set the reason for the signing, such as (I agree...).
error_type DocumentSignatureSettings_SetReason(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle *value)
Set the reason for the signing, such as (I agree...).
error_type DocumentSignatureSettings_GetLocation(DocumentSignatureSettingsHandle *handle, LiteralStringObjectHandle **result)
Get the CPU host name or physical location of the signing.
Represents a reference to a particular day represented within a calendar system.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
error_type DocumentSignatureSettings_Create(DocumentSignatureSettingsHandle **result)
Creates a new DocumentSignatureSettings instance.
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type DocumentSignatureSettings_GetSigningTime(DocumentSignatureSettingsHandle *handle, DateHandle **result)
The time of signing.
Group of settings controlling document's digital signature.
error_type DocumentSignatureSettings_SetSigningTime(DocumentSignatureSettingsHandle *handle, DateHandle *value)
The time of signing.
error_type DocumentSignatureSettings_GetCertificate(DocumentSignatureSettingsHandle *handle, HexadecimalStringObjectHandle **result)
An array of byte strings that shall represent the X.509 certificate chain used when signing and verif...
This file contains class definitions for SigningKeyHandle.
This file contains types and constants used as parameters or return values.
error_type DocumentSignatureSettings_Release(DocumentSignatureSettingsHandle *handle)
Decrement the internal reference counter.
This file contains all supported digest algorithms.
MessageDigestAlgorithmType
Supported digest algorithms used as hash functions.
Definition: c_message_digest_algorithm.h:22