|
iText 7 7.2.4 API
|
Add verification according to PAdES-LTV (part 4). More...
Public Types |
|
| enum | Level { Level.OCSP, Level.CRL, Level.OCSP_CRL, Level.OCSP_OPTIONAL_CRL } |
| What type of verification to include. More... |
|
| enum | CertificateOption { CertificateOption.SIGNING_CERTIFICATE, CertificateOption.WHOLE_CHAIN } |
| Options for how many certificates to include. More... |
|
| enum | CertificateInclusion { CertificateInclusion.YES, CertificateInclusion.NO } |
| Certificate inclusion in the DSS and VRI dictionaries in the CERT and CERTS keys. More... |
|
Public Member Functions |
|
| LtvVerification (PdfDocument document) | |
| The verification constructor. More... |
|
| virtual bool | AddVerification (String signatureName, IOcspClient ocsp, ICrlClient crl, LtvVerification.CertificateOption certOption, LtvVerification.Level level, LtvVerification.CertificateInclusion certInclude) |
| Add verification for a particular signature. More... |
|
| virtual bool | AddVerification (String signatureName, ICollection< byte[]> ocsps, ICollection< byte[]> crls, ICollection< byte[]> certs) |
| Adds verification to the signature. More... |
|
| virtual void | Merge () |
| Merges the validation with any validation already in the document or creates a new one. More... |
|
Static Public Member Functions |
|
| static String | ConvertToHex (byte[] bytes) |
| Converts an array of bytes to a String of hexadecimal values More... |
|
Add verification according to PAdES-LTV (part 4).
|
strong |
|
inline |
The verification constructor.
The verification constructor. This class should only be created with PdfStamper.getLtvVerification() otherwise the information will not be added to the Pdf.
| document | The iText.Kernel.Pdf.PdfDocument to apply the validation to. |
|
inlinevirtual |
Adds verification to the signature.
| signatureName | name of the signature |
| ocsps | collection of DER-encoded BasicOCSPResponses |
| crls | collection of DER-encoded CRLs |
| certs | collection of DER-encoded certificates |
|
inlinevirtual |
Add verification for a particular signature.
| signatureName | the signature to validate (it may be a timestamp) |
| ocsp | the interface to get the OCSP |
| crl | the interface to get the CRL |
| certOption | options as to how many certificates to include |
| level | the validation options to include |
| certInclude | certificate inclusion options |
|
inlinestatic |
Converts an array of bytes to a String of hexadecimal values
| bytes | a byte array |
|
inlinevirtual |
Merges the validation with any validation already in the document or creates a new one.