public class LtvVerification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LtvVerification.CertificateInclusion
Certificate inclusion in the DSS and VRI dictionaries in the CERT and CERTS keys
|
static class |
LtvVerification.CertificateOption
Options for how many certificates to include
|
static class |
LtvVerification.Level
What type of verification to include
|
Constructor and Description |
---|
LtvVerification(PdfStamper stp)
The verification constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addVerification(String signatureName, Collection
Alternative addVerification.
|
boolean |
addVerification(String signatureName, OcspClient ocsp, CrlClient crl, LtvVerification.CertificateOption certOption, LtvVerification.Level level, LtvVerification.CertificateInclusion certInclude)
Add verification for a particular signature
|
void |
merge()
Merges the validation with any validation already in the document or creates a new one.
|
public LtvVerification(PdfStamper stp)
stp
- the PdfStamper to apply the validation to
public boolean addVerification(String signatureName, OcspClient ocsp, CrlClient crl, LtvVerification.CertificateOption certOption, LtvVerification.Level level, LtvVerification.CertificateInclusion certInclude) throws IOException, GeneralSecurityException
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
-
level
- the validation options to include
certInclude
-
GeneralSecurityException
IOException
public boolean addVerification(String signatureName, Collectionocsps, Collection crls, Collection certs) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public void merge() throws IOException
IOException
Copyright © 1998–2018. All rights reserved.