Class SRPTlsClient

    • Constructor Detail

      • SRPTlsClient

        public SRPTlsClient​(TlsCrypto crypto,
                            byte[] identity,
                            byte[] password)
    • Method Detail

      • requireSRPServerExtension

        protected boolean requireSRPServerExtension()
      • processServerExtensions

        public void processServerExtensions​(java.util.Hashtable serverExtensions)
                                     throws java.io.IOException
        Description copied from interface: TlsClient
        The TlsClientProtocol implementation validates that any server extensions received correspond to client extensions sent. If further processing of the server extensions is needed, it can be done in this callback. NOTE: This is not called for session resumption handshakes.
        Specified by:
        processServerExtensions in interface TlsClient
        Overrides:
        processServerExtensions in class AbstractTlsClient
        Parameters:
        serverExtensions - (Integer -> byte[])
        Throws:
        java.io.IOException
      • getAuthentication

        public TlsAuthentication getAuthentication()
                                            throws java.io.IOException
        Throws:
        java.io.IOException