Class PKICertificateApprovalCallback

java.lang.Object
com.netscape.certsrv.client.PKICertificateApprovalCallback
All Implemented Interfaces:
org.mozilla.jss.ssl.SSLCertificateApprovalCallback

public class PKICertificateApprovalCallback extends 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
     
    static org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    approve(org.mozilla.jss.crypto.X509Certificate serverCert, org.mozilla.jss.ssl.SSLCertificateApprovalCallback.ValidityStatus status)
     
    displayReason(int reason)
     
    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 Details

    • logger

      public static org.slf4j.Logger logger
    • client

      public PKIClient client
  • Constructor Details

    • PKICertificateApprovalCallback

      public PKICertificateApprovalCallback(PKIClient client)
  • Method Details

    • displayReason

      public String displayReason(int reason)
    • getMessage

      public 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