com.itextpdf.text.pdf
Class LtvVerification

java.lang.Object
  extended by com.itextpdf.text.pdf.LtvVerification

public class LtvVerification
extends Object

Add verification according to PAdES-LTV (part 4)

Author:
psoares

Nested Class Summary
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
 
Method Summary
 boolean addVerification(String signatureName, OcspClient ocsp, CrlClient crl, LtvVerification.CertificateOption certOption, LtvVerification.Level level, LtvVerification.CertificateInclusion certInclude)
          Add verification for a particular signature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addVerification

public boolean addVerification(String signatureName,
                               OcspClient ocsp,
                               CrlClient crl,
                               LtvVerification.CertificateOption certOption,
                               LtvVerification.Level level,
                               LtvVerification.CertificateInclusion certInclude)
                        throws Exception
Add verification for a particular signature

Parameters:
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 -
Returns:
true if a validation was generated, false otherwise
Throws:
Exception


Copyright © 2011. All Rights Reserved.