Class CertificateVerifier

  • Direct Known Subclasses:
    RootStoreVerifier

    public class CertificateVerifier
    extends Object
    Superclass for a series of certificate verifiers that will typically be used in a chain. It wraps another CertificateVerifier that is the next element in the chain of which the verify() method will be called.
    • Field Detail

      • verifier

        protected CertificateVerifier verifier
        The previous CertificateVerifier in the chain of verifiers.
      • onlineCheckingAllowed

        protected boolean onlineCheckingAllowed
        Indicates if going online to verify a certificate is allowed.
    • Constructor Detail

      • CertificateVerifier

        public CertificateVerifier​(CertificateVerifier verifier)
        Creates the final CertificateVerifier in a chain of verifiers.
        Parameters:
        verifier - the previous verifier in the chain
    • Method Detail

      • setOnlineCheckingAllowed

        public void setOnlineCheckingAllowed​(boolean onlineCheckingAllowed)
        Decide whether or not online checking is allowed.
        Parameters:
        onlineCheckingAllowed -