This documentation is deprecated and will no longer be updated. Please use the official documentation at vanillapdf.readthedocs.io.
Vanilla.PDF  2.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_digital_signature.h
Go to the documentation of this file.
1#ifndef _C_DIGITAL_SIGNATURE_H
2#define _C_DIGITAL_SIGNATURE_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
37 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetContactInfo(DigitalSignatureHandle* handle, StringObjectHandle** result);
38
43 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetReason(DigitalSignatureHandle* handle, StringObjectHandle** result);
44
49 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetLocation(DigitalSignatureHandle* handle, StringObjectHandle** result);
50
60 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetSigningTime(DigitalSignatureHandle* handle, DateHandle** result);
61
68 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetName(DigitalSignatureHandle* handle, StringObjectHandle** result);
69
74 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetRevision(DigitalSignatureHandle* handle, IntegerObjectHandle** result);
75
87 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetCertificate(DigitalSignatureHandle* handle, StringObjectHandle** result);
88
100
109
113 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_ToUnknown(DigitalSignatureHandle* handle, IUnknownHandle** result);
114
118 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_FromUnknown(IUnknownHandle* handle, DigitalSignatureHandle** result);
119
124 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_Release(DigitalSignatureHandle* handle);
125
128#ifdef __cplusplus
129};
130#endif
131
132#endif /* _C_DIGITAL_SIGNATURE_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
Represents a collection of ByteRangeHandle.
Represents a reference to a particular day represented within a calendar system.
Represents document's authenticated digital signature.
error_type CALLING_CONVENTION DigitalSignature_GetLocation(DigitalSignatureHandle *handle, StringObjectHandle **result)
The CPU host name or physical location of the signing.
error_type CALLING_CONVENTION DigitalSignature_GetContents(DigitalSignatureHandle *handle, HexadecimalStringObjectHandle **result)
The signature value.
error_type CALLING_CONVENTION DigitalSignature_GetSigningTime(DigitalSignatureHandle *handle, DateHandle **result)
The time of signing.
error_type CALLING_CONVENTION DigitalSignature_GetContactInfo(DigitalSignatureHandle *handle, StringObjectHandle **result)
Information provided by the signer to enable a recipient to contact the signer to verify the signatur...
error_type CALLING_CONVENTION DigitalSignature_FromUnknown(IUnknownHandle *handle, DigitalSignatureHandle **result)
Convert IUnknownHandle to DigitalSignatureHandle.
error_type CALLING_CONVENTION DigitalSignature_GetRevision(DigitalSignatureHandle *handle, IntegerObjectHandle **result)
The version of the signature handler that was used to create the signature.
error_type CALLING_CONVENTION DigitalSignature_GetCertificate(DigitalSignatureHandle *handle, StringObjectHandle **result)
An array of byte strings that shall represent the X.509 certificate chain used when signing and verif...
error_type CALLING_CONVENTION DigitalSignature_GetByteRange(DigitalSignatureHandle *handle, ByteRangeCollectionHandle **result)
Exact byte range for the digest calculation.
error_type CALLING_CONVENTION DigitalSignature_ToUnknown(DigitalSignatureHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type CALLING_CONVENTION DigitalSignature_GetName(DigitalSignatureHandle *handle, StringObjectHandle **result)
The name of the person or authority signing the document.
error_type CALLING_CONVENTION DigitalSignature_GetReason(DigitalSignatureHandle *handle, StringObjectHandle **result)
The reason for the signing, such as (I agree...).
error_type CALLING_CONVENTION DigitalSignature_Release(DigitalSignatureHandle *handle)
Decrement the internal reference counter.
A hexadecimal string is preferable for arbitrary binary data.
Base class for reference counting.
Integer objects represent mathematical integers.
Reprsents human readable text.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25