public class SSL3RandomDataParameters extends java.lang.Object implements Parameters
Modifier and Type | Field and Description |
---|---|
protected byte[] |
clientRandom_
The client's random data.
|
protected byte[] |
serverRandom_
The server's random data.
|
Constructor and Description |
---|
SSL3RandomDataParameters(byte[] clientRandom,
byte[] serverRandom)
Create a new SSL3RandomDataParameters object with the given cleint and server random.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Create a (deep) clone of this object.
|
boolean |
equals(java.lang.Object otherObject)
Compares all member variables of this object with the other object.
|
byte[] |
getClientRandom()
Get the client's random data.
|
java.lang.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.
|
java.lang.String |
toString()
Returns the string representation of this object.
|
protected byte[] clientRandom_
protected byte[] serverRandom_
public SSL3RandomDataParameters(byte[] clientRandom, byte[] serverRandom)
clientRandom
- The client's random data.serverRandom
- The server's random data.public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
otherObject
- The other object to compare to.public int hashCode()
hashCode
in class java.lang.Object
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9