Class TlsSRPConfig

java.lang.Object
org.bouncycastle.tls.crypto.TlsSRPConfig

public class TlsSRPConfig extends Object
Basic config for SRP.
  • Field Details

  • Constructor Details

    • TlsSRPConfig

      public TlsSRPConfig()
  • Method Details

    • getExplicitNG

      public BigInteger[] getExplicitNG()
      Return the (N, g) values used in SRP-6.
      Returns:
      (N, g) as a BigInteger array (N=[0], g=[1]).
    • setExplicitNG

      public void setExplicitNG(BigInteger[] explicitNG)
      Set the (N, g) values used for SRP-6.
      Parameters:
      explicitNG - (N, g) as a BigInteger array (N=[0], g=[1]).