Class PKICertificateApprovalCallback

  • All Implemented Interfaces:
    org.mozilla.jss.ssl.SSLCertificateApprovalCallback

    public class PKICertificateApprovalCallback
    extends java.lang.Object
    implements org.mozilla.jss.ssl.SSLCertificateApprovalCallback
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.mozilla.jss.ssl.SSLCertificateApprovalCallback

        org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityItem, org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityStatus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      PKIClient client  
      static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean approve​(org.mozilla.jss.crypto.X509Certificate serverCert, org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityStatus status)  
      java.lang.String displayReason​(int reason)  
      java.lang.String getMessage​(org.mozilla.jss.crypto.X509Certificate serverCert, int reason)  
      boolean handleUntrustedIssuer​(org.mozilla.jss.crypto.X509Certificate serverCert)  
      • Methods inherited from class java.lang.Object

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

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • PKICertificateApprovalCallback

        public PKICertificateApprovalCallback​(PKIClient client)
    • Method Detail

      • displayReason

        public java.lang.String displayReason​(int reason)
      • getMessage

        public java.lang.String getMessage​(org.mozilla.jss.crypto.X509Certificate serverCert,
                                           int reason)
      • handleUntrustedIssuer

        public boolean handleUntrustedIssuer​(org.mozilla.jss.crypto.X509Certificate serverCert)
      • approve

        public boolean approve​(org.mozilla.jss.crypto.X509Certificate serverCert,
                               org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityStatus status)
        Specified by:
        approve in interface org.mozilla.jss.ssl.SSLCertificateApprovalCallback