Uses of Class
org.apache.pdfbox.examples.signature.cert.CertificateVerificationException
Packages that use CertificateVerificationException
Package
Description
These examples will show how to gain access to the PDF signature.
-
Uses of CertificateVerificationException in org.apache.pdfbox.examples.signature
Methods in org.apache.pdfbox.examples.signature that throw CertificateVerificationExceptionModifier and TypeMethodDescriptionstatic voidThis is the entry point for the application.private voidShowSignature.showSignature(String[] args) static voidSigUtils.verifyCertificateChain(org.bouncycastle.util.Store<org.bouncycastle.cert.X509CertificateHolder> certificatesStore, X509Certificate certFromSignedData, Date signDate) Verify the certificate chain up to the root, including OCSP or CRL.private voidShowSignature.verifyETSIdotRFC3161(InputStream signedContentAsStream, byte[] contents) Verify ETSI.RFC3161 TimeStampTokenprivate voidShowSignature.verifyPKCS7(InputStream signedContentAsStream, byte[] contents, PDSignature sig) Verify a PKCS7 signature. -
Uses of CertificateVerificationException in org.apache.pdfbox.examples.signature.cert
Methods in org.apache.pdfbox.examples.signature.cert that throw CertificateVerificationExceptionModifier and TypeMethodDescriptionprivate static voidCertificateVerifier.checkRevocations(X509Certificate cert, Set<X509Certificate> additionalCerts, Date signDate) private static voidCertificateVerifier.checkRevocationsWithIssuer(X509Certificate cert, X509Certificate issuerCert, Set<X509Certificate> additionalCerts, Date signDate) private static X509CRLCRLVerifier.downloadCRL(String crlURL) Downloads CRL from given URL.private static X509CRLCRLVerifier.downloadCRLFromLDAP(String ldapURL) Downloads a CRL from given LDAP url, e.g.static PKIXCertPathBuilderResultCertificateVerifier.verifyCertificate(X509Certificate cert, Set<X509Certificate> additionalCerts, boolean verifySelfSignedCert, Date signDate) Attempts to build a certification chain for given certificate and to verify it.static voidCRLVerifier.verifyCertificateCRLs(X509Certificate cert, Date signDate, Set<X509Certificate> additionalCerts) Extracts the CRL distribution points from the certificate (if available) and checks the certificate revocation status against the CRLs coming from the distribution points.private static voidCertificateVerifier.verifyOCSP(OcspHelper ocspHelper, Set<X509Certificate> additionalCerts) Verify whether the certificate has been revoked at signing date, and verify whether the certificate of the responder has been revoked now. -
Uses of CertificateVerificationException in org.apache.pdfbox.examples.signature.validation
Methods in org.apache.pdfbox.examples.signature.validation that throw CertificateVerificationExceptionModifier and TypeMethodDescriptionprivate voidAddValidationInformation.addCrlRevocationInfo(CertInformationCollector.CertSignatureInformation certInfo) Fetches and adds CRL data to storage for the given Certificate.