Interface SSL_KEY_EXCHANGE.SessionVerifier

All Known Implementing Classes:
CertficateCNMatcher
Enclosing class:
SSL_KEY_EXCHANGE

public static interface SSL_KEY_EXCHANGE.SessionVerifier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(String arg)
    Called after creation with session_verifier_arg
    void
    verify(SSLSession session)
    Called to verify that the session is correct, e.g.
  • Method Details

    • init

      void init(String arg)
      Called after creation with session_verifier_arg
    • verify

      void verify(SSLSession session) throws SecurityException
      Called to verify that the session is correct, e.g. by matching the peer's certificate-CN. Needs to throw a SecurityException if not
      Throws:
      SecurityException