Vanilla.PDF  2.0.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
51 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetContactInfo(DigitalSignatureHandle* handle, StringObjectHandle** result);
52
57 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetReason(DigitalSignatureHandle* handle, StringObjectHandle** result);
58
63 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetLocation(DigitalSignatureHandle* handle, StringObjectHandle** result);
64
74 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetSigningTime(DigitalSignatureHandle* handle, DateHandle** result);
75
82 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetName(DigitalSignatureHandle* handle, StringObjectHandle** result);
83
88 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetRevision(DigitalSignatureHandle* handle, IntegerObjectHandle** result);
89
101 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetCertificate(DigitalSignatureHandle* handle, StringObjectHandle** result);
102
114
123
128 VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_Release(DigitalSignatureHandle* handle);
129
140 VANILLAPDF_API error_type CALLING_CONVENTION ByteRangeCollection_GetSize(ByteRangeCollectionHandle* handle, size_type* result);
141
146 VANILLAPDF_API error_type CALLING_CONVENTION ByteRangeCollection_GetValue(ByteRangeCollectionHandle* handle, size_type at, ByteRangeHandle** result);
147
152 VANILLAPDF_API error_type CALLING_CONVENTION ByteRangeCollection_Release(ByteRangeCollectionHandle* handle);
153
164 VANILLAPDF_API error_type CALLING_CONVENTION ByteRange_GetOffset(ByteRangeHandle* handle, IntegerObjectHandle** result);
165
169 VANILLAPDF_API error_type CALLING_CONVENTION ByteRange_GetLength(ByteRangeHandle* handle, IntegerObjectHandle** result);
170
175 VANILLAPDF_API error_type CALLING_CONVENTION ByteRange_Release(ByteRangeHandle* handle);
176
179#ifdef __cplusplus
180};
181#endif
182
183#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.
error_type CALLING_CONVENTION ByteRangeCollection_Release(ByteRangeCollectionHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ByteRangeCollection_GetSize(ByteRangeCollectionHandle *handle, size_type *result)
Get size of byte range collection.
error_type CALLING_CONVENTION ByteRangeCollection_GetValue(ByteRangeCollectionHandle *handle, size_type at, ByteRangeHandle **result)
Get single byte range from array at specific position.
Represents starting byte offset and length.
error_type CALLING_CONVENTION ByteRange_GetLength(ByteRangeHandle *handle, IntegerObjectHandle **result)
Get length of byte range.
error_type CALLING_CONVENTION ByteRange_GetOffset(ByteRangeHandle *handle, IntegerObjectHandle **result)
Get starting offset of byte range.
error_type CALLING_CONVENTION ByteRange_Release(ByteRangeHandle *handle)
Decrement the internal reference counter.
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_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_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.
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
uint32_t size_type
Size type defined in standard library.
Definition c_types.h:62