Class VerificationException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class VerificationException
    extends java.security.GeneralSecurityException
    Deprecated.
    starting from 9.0.0 since all the classes that use this one are also deprecated in favour of new signature validation logic in the com.itextpdf.signatures.validation package.
    An exception that is thrown when something is wrong with a certificate.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VerificationException​(java.security.cert.Certificate cert, java.lang.String message)
      Deprecated.
      Creates a VerificationException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • BOUNCY_CASTLE_FACTORY

        private static final IBouncyCastleFactory BOUNCY_CASTLE_FACTORY
        Deprecated.
    • Constructor Detail

      • VerificationException

        public VerificationException​(java.security.cert.Certificate cert,
                                     java.lang.String message)
                              throws java.security.cert.CertificateEncodingException
        Deprecated.
        Creates a VerificationException.
        Parameters:
        cert - is a failed certificate
        message - is a reason of failure
        Throws:
        java.security.cert.CertificateEncodingException - if an encoding error occurs in Certificate.