![]() |
Vanilla.PDF
2.2.0
Cross-platform toolkit for creating and modifying PDF documents
|
Configuration settings for signature verification. More...
Additional Inherited Members | |
Public Member Functions inherited from IUnknownHandle | |
| error_type CALLING_CONVENTION | IUnknown_AddRef (IUnknownHandle *handle) |
| Increment the internal reference counter. | |
Related Symbols inherited from IUnknownHandle | |
| error_type CALLING_CONVENTION | IUnknown_Release (IUnknownHandle *handle) |
| Decrement the internal reference counter. | |
Configuration settings for signature verification.
| error_type CALLING_CONVENTION SignatureVerificationSettings_Create | ( | SignatureVerificationSettingsHandle ** | result | ) |
Create new signature verification settings with default values.
| result | Output handle to created settings |
|
related |
Get skip certificate validation flag.
| handle | The settings handle |
| result | Output flag value |
When enabled, signature verification will skip X509 certificate chain validation. The cryptographic signature is still verified, but the certificate chain is not validated against the trust store.
The IsCertificateTrusted flag remains false because the certificate chain was not actually verified - we cannot claim trust for something we did not check. This provides transparency: a Valid status with IsCertificateTrusted=false indicates that validation was bypassed rather than successfully completed.
|
related |
Set skip certificate validation flag.
| handle | The settings handle |
| value | Flag value to set (true to skip validation, false for full validation) |
When set to true, certificate chain validation is bypassed entirely. The cryptographic signature is still verified, but no X509 chain validation is performed. This allows signatures with expired, self-signed, or untrusted certificates to pass verification.
|
related |
Get check signing time flag.
| handle | The settings handle |
| result | Output flag value |
|
related |
Set check signing time flag.
| handle | The settings handle |
| value | Flag value to set |
|
related |
Get allow weak algorithms flag.
| handle | The settings handle |
| result | Output flag value |
|
related |
Set allow weak algorithms flag (MD5, SHA-1, RSA < 2048 bits)
| handle | The settings handle |
| value | Flag value to set |
|
related |
Decrement the internal reference counter.
When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.