Interface TlsSRP6Server


public interface TlsSRP6Server
Basic interface for an SRP-6 server implementation.
  • Method Details

    • generateServerCredentials

      BigInteger generateServerCredentials()
      Generates the server's credentials that are to be sent to the client.
      Returns:
      The server's public value to the client
    • calculateSecret

      BigInteger calculateSecret(BigInteger clientA) throws IOException
      Processes the client's credentials. If valid the shared secret is generated and returned.
      Parameters:
      clientA - The client's credentials
      Returns:
      A shared secret BigInteger
      Throws:
      IOException - If client's credentials are invalid