Class JSSEngineReferenceImpl.CertValidationTask

java.lang.Object
org.mozilla.jss.nss.CertAuthHandler
org.mozilla.jss.ssl.javax.JSSEngineReferenceImpl.CertValidationTask
All Implemented Interfaces:
Runnable
Enclosing class:
JSSEngineReferenceImpl

private class JSSEngineReferenceImpl.CertValidationTask extends CertAuthHandler
  • Constructor Details

    • CertValidationTask

      public CertValidationTask(SSLFDProxy fd)
  • Method Details

    • findAuthType

      public String findAuthType(SSLFDProxy ssl_fd, PK11Cert[] chain) throws Exception
      Throws:
      Exception
    • check

      public int check(SSLFDProxy fd)
      Description copied from class: CertAuthHandler
      Returns the PRErrorCode the error validating certificate auth, else 0. Note that it is up to the implementer to fetch the certificates (via SSL.PeerCertificateChain(ssl_fd)) and validate them properly.
      Specified by:
      check in class CertAuthHandler
    • assignException

      private int assignException(Exception excpt, PK11Cert[] chain)