|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.security.srp.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 | |
java.lang.String |
cipherAlgorithm
The algorithm to use for any encryption of data. |
byte[] |
cipherIV
The cipher intialization vector bytes |
byte[] |
g
The algorithm primitive generator |
java.lang.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,
java.lang.String hashAlgorithm)
|
|
SRPParameters(byte[] N,
byte[] g,
byte[] s,
java.lang.String hashAlgorithm,
java.lang.String cipherAlgorithm)
|
|
SRPParameters(byte[] N,
byte[] g,
byte[] s,
java.lang.String hashAlgorithm,
java.lang.String cipherAlgorithm,
byte[] cipherIV)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.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 java.lang.String hashAlgorithm
public final java.lang.String cipherAlgorithm
public byte[] cipherIV
| Constructor Detail |
public SRPParameters(byte[] N,
byte[] g,
byte[] s)
public SRPParameters(byte[] N,
byte[] g,
byte[] s,
java.lang.String hashAlgorithm)
public SRPParameters(byte[] N,
byte[] g,
byte[] s,
java.lang.String hashAlgorithm,
java.lang.String cipherAlgorithm)
public SRPParameters(byte[] N,
byte[] g,
byte[] s,
java.lang.String hashAlgorithm,
java.lang.String cipherAlgorithm,
byte[] cipherIV)
| Method Detail |
public java.lang.Object clone()
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||