Interface SSL_KEY_EXCHANGE.SessionVerifier

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init​(java.lang.String arg)
      Called after creation with session_verifier_arg
      void verify​(javax.net.ssl.SSLSession session)
      Called to verify that the session is correct, e.g.
    • Method Detail

      • init

        void init​(java.lang.String arg)
        Called after creation with session_verifier_arg
      • verify

        void verify​(javax.net.ssl.SSLSession session)
             throws java.lang.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:
        java.lang.SecurityException