Package org.bouncycastle.tls.crypto
Class TlsSRPConfig
java.lang.Object
org.bouncycastle.tls.crypto.TlsSRPConfig
Basic config for SRP.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the (N, g) values used in SRP-6.void
setExplicitNG
(BigInteger[] explicitNG) Set the (N, g) values used for SRP-6.
-
Field Details
-
explicitNG
-
-
Constructor Details
-
TlsSRPConfig
public TlsSRPConfig()
-
-
Method Details
-
getExplicitNG
Return the (N, g) values used in SRP-6.- Returns:
- (N, g) as a BigInteger array (N=[0], g=[1]).
-
setExplicitNG
Set the (N, g) values used for SRP-6.- Parameters:
explicitNG
- (N, g) as a BigInteger array (N=[0], g=[1]).
-