Interface TlsSRP6Client


public interface TlsSRP6Client
Basic interface for an SRP-6 client implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates the secret S given the server's credentials
    generateClientCredentials(byte[] salt, byte[] identity, byte[] password)
    Generates client's credentials given the client's salt, identity and password
  • Method Details

    • calculateSecret

      BigInteger calculateSecret(BigInteger serverB) throws IOException
      Generates the secret S given the server's credentials
      Parameters:
      serverB - The server's credentials
      Returns:
      Client's verification message for the server
      Throws:
      IOException - If server's credentials are invalid
    • generateClientCredentials

      BigInteger generateClientCredentials(byte[] salt, byte[] identity, byte[] password)
      Generates client's credentials given the client's salt, identity and password
      Parameters:
      salt - The salt used in the client's verifier.
      identity - The user's identity (eg. username)
      password - The user's password
      Returns:
      Client's public value to send to server