|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.pkcs.pkcs11.parameters.SSL3RandomDataParameters
This class encapsulates parameters for the Mechanism.SSL3_MASTER_KEY_DERIVE and Mechanism.SSL3_KEY_AND_MAC_DERIVE mechanisms.
Field Summary | |
protected byte[] |
clientRandom_
The client's random data. |
protected byte[] |
serverRandom_
The server's random data. |
Constructor Summary | |
SSL3RandomDataParameters(byte[] clientRandom,
byte[] serverRandom)
Create a new SSL3RandomDataParameters object with the given cleint and server random. |
Method Summary | |
Object |
clone()
Create a (deep) clone of this object. |
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object. |
byte[] |
getClientRandom()
Get the client's random data. |
Object |
getPKCS11ParamsObject()
Get this parameters object as a CK_SSL3_RANDOM_DATA object. |
byte[] |
getServerRandom()
Get the server's random data. |
int |
hashCode()
The overriding of this method should ensure that the objects of this class work correctly in a hashtable. |
void |
setClientRandom(byte[] clientRandom)
Set the client's random data. |
void |
setServerRandom(byte[] serverRandom)
Set the server's random data. |
String |
toString()
Returns the string representation of this object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected byte[] clientRandom_
protected byte[] serverRandom_
Constructor Detail |
public SSL3RandomDataParameters(byte[] clientRandom, byte[] serverRandom)
clientRandom
- The client's random data.serverRandom
- The server's random data.Method Detail |
public Object clone()
public Object getPKCS11ParamsObject()
getPKCS11ParamsObject
in interface Parameters
public byte[] getClientRandom()
public byte[] getServerRandom()
public void setClientRandom(byte[] clientRandom)
clientRandom
- The client's random data.public void setServerRandom(byte[] serverRandom)
serverRandom
- The server's random data.public String toString()
public boolean equals(Object otherObject)
otherObject
- The other object to compare to.
public int hashCode()
|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |