|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.tls.SimulatedTlsSRPIdentityManager
An implementation of TlsSRPIdentityManager
that simulates the existence of "unknown" identities
to obscure the fact that there is no verifier for them.
Field Summary | |
protected SRP6GroupParameters |
group
Deprecated. |
protected Mac |
mac
Deprecated. |
protected SRP6VerifierGenerator |
verifierGenerator
Deprecated. |
Constructor Summary | |
SimulatedTlsSRPIdentityManager(SRP6GroupParameters group,
SRP6VerifierGenerator verifierGenerator,
Mac mac)
Deprecated. |
Method Summary | |
TlsSRPLoginParameters |
getLoginParameters(byte[] identity)
Deprecated. Lookup the TlsSRPLoginParameters corresponding to the specified identity.
|
static SimulatedTlsSRPIdentityManager |
getRFC5054Default(SRP6GroupParameters group,
byte[] seedKey)
Deprecated. Create a SimulatedTlsSRPIdentityManager that implements the algorithm from RFC 5054 2.5.1.3 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SRP6GroupParameters group
protected SRP6VerifierGenerator verifierGenerator
protected Mac mac
Constructor Detail |
public SimulatedTlsSRPIdentityManager(SRP6GroupParameters group, SRP6VerifierGenerator verifierGenerator, Mac mac)
Method Detail |
public static SimulatedTlsSRPIdentityManager getRFC5054Default(SRP6GroupParameters group, byte[] seedKey)
SimulatedTlsSRPIdentityManager
that implements the algorithm from RFC 5054 2.5.1.3
group
- the SRP6GroupParameters
defining the group that SRP is operating inseedKey
- the secret "seed key" referred to in RFC 5054 2.5.1.3
SimulatedTlsSRPIdentityManager
public TlsSRPLoginParameters getLoginParameters(byte[] identity)
TlsSRPIdentityManager
TlsSRPLoginParameters
corresponding to the specified identity.
NOTE: To avoid "identity probing", unknown identities SHOULD be handled as recommended in RFC
5054 2.5.1.3. SimulatedTlsSRPIdentityManager
is provided for this purpose.
getLoginParameters
in interface TlsSRPIdentityManager
identity
- the SRP identity sent by the connecting client
TlsSRPLoginParameters
for the specified identity, or else 'simulated'
parameters if the identity is not recognized. A null value is also allowed, but not
recommended.
|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |