|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.srp.SRPParameters
public class SRPParameters
The RFC2945 algorithm session parameters that the client and server agree to use. In addition to the base RFC2945 parameters, one can choose an alternate hash algorithm for the private session key.
Field Summary | |
---|---|
String |
cipherAlgorithm
The algorithm to use for any encryption of data. |
byte[] |
cipherIV
The cipher intialization vector bytes |
byte[] |
g
The algorithm primitive generator |
String |
hashAlgorithm
The algorithm to hash the session key to produce K. |
byte[] |
N
The algorithm safe-prime modulus |
byte[] |
s
The random password salt originally used to verify the password |
Constructor Summary | |
---|---|
SRPParameters(byte[] N,
byte[] g,
byte[] s)
Creates a new instance of SRPParameters |
|
SRPParameters(byte[] N,
byte[] g,
byte[] s,
String hashAlgorithm)
|
|
SRPParameters(byte[] N,
byte[] g,
byte[] s,
String hashAlgorithm,
String cipherAlgorithm)
|
|
SRPParameters(byte[] N,
byte[] g,
byte[] s,
String hashAlgorithm,
String cipherAlgorithm,
byte[] cipherIV)
|
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final byte[] N
public final byte[] g
public final byte[] s
public final String hashAlgorithm
public final String cipherAlgorithm
public byte[] cipherIV
Constructor Detail |
---|
public SRPParameters(byte[] N, byte[] g, byte[] s)
public SRPParameters(byte[] N, byte[] g, byte[] s, String hashAlgorithm)
public SRPParameters(byte[] N, byte[] g, byte[] s, String hashAlgorithm, String cipherAlgorithm)
public SRPParameters(byte[] N, byte[] g, byte[] s, String hashAlgorithm, String cipherAlgorithm, byte[] cipherIV)
Method Detail |
---|
public Object clone()
clone
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |