Class SSLClientCertificateState


  • public final class SSLClientCertificateState
    extends java.lang.Object
    Status of client certificate exchange (which is optional for both server and client).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int None
      Server hasn't asked for a cert.
      static int Rejected
      Client sent a cert but failed validation.
      static int Requested
      Server has asked for a cert, but client didn't send it.
      static int Sent
      Server side: We asked for a cert, client sent one, we validated it OK.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • None

        public static final int None
        Server hasn't asked for a cert. Client hasn't sent one.
        See Also:
        Constant Field Values
      • Requested

        public static final int Requested
        Server has asked for a cert, but client didn't send it.
        See Also:
        Constant Field Values
      • Sent

        public static final int Sent
        Server side: We asked for a cert, client sent one, we validated it OK. App can inspect the cert via SSLCopyPeerCertificates(). Client side: server asked for one, we sent it.
        See Also:
        Constant Field Values
      • Rejected

        public static final int Rejected
        Client sent a cert but failed validation. Server side only. Server app can inspect the cert via SSLCopyPeerCertificates().
        See Also:
        Constant Field Values