Vanilla.PDF  1.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 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "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 
113  VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetContents(DigitalSignatureHandle* handle, HexadecimalStringObjectHandle** result);
114 
122  VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_GetByteRange(DigitalSignatureHandle* handle, ByteRangeCollectionHandle** result);
123 
128  VANILLAPDF_API error_type CALLING_CONVENTION DigitalSignature_Release(DigitalSignatureHandle* handle);
129 
140  VANILLAPDF_API error_type CALLING_CONVENTION ByteRangeCollection_Size(ByteRangeCollectionHandle* handle, size_type* result);
141 
146  VANILLAPDF_API error_type CALLING_CONVENTION ByteRangeCollection_At(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 */
error_type DigitalSignature_GetContents(DigitalSignatureHandle *handle, HexadecimalStringObjectHandle **result)
The signature value.
Represents starting byte offset and length.
Text stored in hexadecimal notation.
Represents a collection of ByteRangeHandle.
Represents integer values.
This file contains all type forward declarations returned by the library API.
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62
error_type ByteRangeCollection_At(ByteRangeCollectionHandle *handle, size_type at, ByteRangeHandle **result)
Get single byte range from array at specific position.
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 ByteRangeCollection_Size(ByteRangeCollectionHandle *handle, size_type *result)
Get size of byte range collection.
error_type ByteRangeCollection_Release(ByteRangeCollectionHandle *handle)
Decrement the internal reference counter.
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type 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 DigitalSignature_GetLocation(DigitalSignatureHandle *handle, StringObjectHandle **result)
The CPU host name or physical location of the signing.
Represents document's authenticated digital signature.
error_type 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 ByteRange_Release(ByteRangeHandle *handle)
Decrement the internal reference counter.
error_type ByteRange_GetOffset(ByteRangeHandle *handle, IntegerObjectHandle **result)
Get starting offset of byte range.
error_type DigitalSignature_GetReason(DigitalSignatureHandle *handle, StringObjectHandle **result)
The reason for the signing, such as (I agree...).
This file contains types and constants used as parameters or return values.
error_type DigitalSignature_GetByteRange(DigitalSignatureHandle *handle, ByteRangeCollectionHandle **result)
Exact byte range for the digest calculation.
Reprsents human readable text.
error_type DigitalSignature_Release(DigitalSignatureHandle *handle)
Decrement the internal reference counter.
error_type DigitalSignature_GetSigningTime(DigitalSignatureHandle *handle, DateHandle **result)
The time of signing.
error_type DigitalSignature_GetName(DigitalSignatureHandle *handle, StringObjectHandle **result)
The name of the person or authority signing the document.
error_type ByteRange_GetLength(ByteRangeHandle *handle, IntegerObjectHandle **result)
Get length of byte range.
error_type DigitalSignature_GetRevision(DigitalSignatureHandle *handle, IntegerObjectHandle **result)
The version of the signature handler that was used to create the signature.