Top Description Fields Constructors Methods
org.bouncycastle.tls.crypto

public Class TlsSRPConfig

extends Object
Class Inheritance
Imports
java.math.BigInteger

Basic config for SRP.

Field Summary

Modifier and TypeField and Description
protected BigInteger[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BigInteger[]

Returns:

(N, g) as a BigInteger array (N=[0], g=[1]).
getExplicitNG
()

Return the (N, g) values used in SRP-6.

public void
setExplicitNG(BigInteger[]
(N, g) as a BigInteger array (N=[0], g=[1]).
explicitNG
)

Set the (N, g) values used for SRP-6.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

explicitNGback to summary
protected BigInteger[] explicitNG

Constructor Detail

TlsSRPConfigback to summary
public TlsSRPConfig()

Method Detail

getExplicitNGback to summary
public BigInteger[] getExplicitNG()

Return the (N, g) values used in SRP-6.

Returns:BigInteger[]

(N, g) as a BigInteger array (N=[0], g=[1]).

setExplicitNGback to summary
public void setExplicitNG(BigInteger[] explicitNG)

Set the (N, g) values used for SRP-6.

Parameters
explicitNG:BigInteger[]

(N, g) as a BigInteger array (N=[0], g=[1]).