Package org.bouncycastle.tls.crypto
Class TlsSRPConfig
- java.lang.Object
-
- org.bouncycastle.tls.crypto.TlsSRPConfig
-
public class TlsSRPConfig extends java.lang.Object
Basic config for SRP.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigInteger[]
explicitNG
-
Constructor Summary
Constructors Constructor Description TlsSRPConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger[]
getExplicitNG()
Return the (N, g) values used in SRP-6.void
setExplicitNG(java.math.BigInteger[] explicitNG)
Set the (N, g) values used for SRP-6.
-
-
-
Method Detail
-
getExplicitNG
public java.math.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(java.math.BigInteger[] explicitNG)
Set the (N, g) values used for SRP-6.- Parameters:
explicitNG
- (N, g) as a BigInteger array (N=[0], g=[1]).
-
-