|
Pdftools SDK
|
Go to the source code of this file.
Macros | |
| #define | PDFTOOLS_CALL |
| #define PDFTOOLS_CALL |
| PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_Default *PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Default_New | ( | void | ) |
NULL if there is an error.
NULL is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidation_CustomTrustList *PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_GetCustomTrustList | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile | ) |
The custom list of trusted certificates Default: NULL (no custom trust list)
| [in,out] | pProfile | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_Profile. |
NULL if either an error occurred or the returned object is actually NULL. To determine if an error has occurred, check the error code as described in the note section below.
NULL is returned and the error code returned by PdfTools_GetLastError is different from ePdfTools_Error_Success. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_TrustConstraints *PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_GetSigningCertTrustConstraints | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile | ) |
Trust constraints for certificates of signatures.
| [in,out] | pProfile | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_Profile. |
NULL if there is an error.
NULL is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_TrustConstraints *PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_GetTimeStampTrustConstraints | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile | ) |
Trust constraints for certificates of time-stamps.
| [in,out] | pProfile | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_Profile. |
NULL if there is an error.
NULL is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_ProfileType PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_GetType | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile | ) |
Get actual derived type of base type TPdfToolsSignatureValidationProfiles_Profile.
This function is invoked prior to downcasting to ascertain the derived object type.
| [in,out] | pProfile | Acts as a handle to a native object. |
0 in case of an error.0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_ValidationOptions *PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_GetValidationOptions | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile | ) |
Signature validation options.
| [in,out] | pProfile | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_Profile. |
NULL if there is an error.
NULL is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_Profile_SetCustomTrustList | ( | TPdfToolsSignatureValidationProfiles_Profile * | pProfile, |
| TPdfToolsSignatureValidation_CustomTrustList * | pCustomTrustList ) |
The custom list of trusted certificates Default: NULL (no custom trust list)
| [in,out] | pProfile | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_Profile. |
| [in,out] | pCustomTrustList | Set value. |
| PDFTOOLS_EXPORT TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_TrustConstraints_GetRevocationCheckPolicy | ( | TPdfToolsSignatureValidationProfiles_TrustConstraints * | pTrustConstraints | ) |
Whether to check certificate revocation.
| [in,out] | pTrustConstraints | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_TrustConstraints. |
May indicate an error in certain scenarios. For further information see the note section below.
0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidation_DataSource PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_TrustConstraints_GetTrustSources | ( | TPdfToolsSignatureValidationProfiles_TrustConstraints * | pTrustConstraints | ) |
Allowed sources for trusted certificates Note that the trust sources are implicitly added to the profile's PdfToolsSignatureValidationProfiles_ValidationOptions_GetCertificateSources.
| [in,out] | pTrustConstraints | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_TrustConstraints. |
May indicate an error in certain scenarios. For further information see the note section below.
0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_TrustConstraints_SetRevocationCheckPolicy | ( | TPdfToolsSignatureValidationProfiles_TrustConstraints * | pTrustConstraints, |
| TPdfToolsSignatureValidationProfiles_RevocationCheckPolicy | iRevocationCheckPolicy ) |
Whether to check certificate revocation.
| [in,out] | pTrustConstraints | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_TrustConstraints. |
| [in] | iRevocationCheckPolicy | Set value. |
| PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_TrustConstraints_SetTrustSources | ( | TPdfToolsSignatureValidationProfiles_TrustConstraints * | pTrustConstraints, |
| TPdfToolsSignatureValidation_DataSource | iTrustSources ) |
Allowed sources for trusted certificates Note that the trust sources are implicitly added to the profile's PdfToolsSignatureValidationProfiles_ValidationOptions_GetCertificateSources.
| [in,out] | pTrustConstraints | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_TrustConstraints. |
| [in] | iTrustSources | Set value. |
| PDFTOOLS_EXPORT TPdfToolsSignatureValidation_DataSource PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_GetCertificateSources | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions | ) |
Allowed sources to get certificates, e.g. intermediate issuer certificates.
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidation_DataSource PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_GetRevocationInformationSources | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions | ) |
Allowed sources to get revocation information (OCSP, CRL)
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT TPdfToolsSignatureValidation_TimeSource PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_GetTimeSource | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions | ) |
Allowed validation time sources.
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
May indicate an error in certain scenarios. For further information see the note section below.
0 is returned. The specific error code can be retrieved by calling PdfTools_GetLastError. The error message can be obtained by calling PdfTools_GetLastErrorMessage. | PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_SetCertificateSources | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions, |
| TPdfToolsSignatureValidation_DataSource | iCertificateSources ) |
Allowed sources to get certificates, e.g. intermediate issuer certificates.
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
| [in] | iCertificateSources | Set value. |
| PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_SetRevocationInformationSources | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions, |
| TPdfToolsSignatureValidation_DataSource | iRevocationInformationSources ) |
Allowed sources to get revocation information (OCSP, CRL)
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
| [in] | iRevocationInformationSources | Set value. |
| PDFTOOLS_EXPORT BOOL PDFTOOLS_CALL PdfToolsSignatureValidationProfiles_ValidationOptions_SetTimeSource | ( | TPdfToolsSignatureValidationProfiles_ValidationOptions * | pValidationOptions, |
| TPdfToolsSignatureValidation_TimeSource | iTimeSource ) |
Allowed validation time sources.
| [in,out] | pValidationOptions | Acts as a handle to the native object of type TPdfToolsSignatureValidationProfiles_ValidationOptions. |
| [in] | iTimeSource | Set value. |