Package org.bouncycastle.tls
Class BasicTlsSRPIdentity
java.lang.Object
org.bouncycastle.tls.BasicTlsSRPIdentity
- All Implemented Interfaces:
TlsSRPIdentity
A basic SRP Identity holder.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBasicTlsSRPIdentity
(byte[] identity, byte[] password) BasicTlsSRPIdentity
(String identity, String password) -
Method Summary
-
Field Details
-
identity
protected byte[] identity -
password
protected byte[] password
-
-
Constructor Details
-
BasicTlsSRPIdentity
public BasicTlsSRPIdentity(byte[] identity, byte[] password) -
BasicTlsSRPIdentity
-
-
Method Details
-
getSRPIdentity
public byte[] getSRPIdentity()- Specified by:
getSRPIdentity
in interfaceTlsSRPIdentity
-
getSRPPassword
public byte[] getSRPPassword()- Specified by:
getSRPPassword
in interfaceTlsSRPIdentity
-