public class SSL3RandomDataParameters extends 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 client and
server random.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObject)
Compares all member variables of this object with the other object.
|
byte[] |
getClientRandom()
Get the client's random data.
|
sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA |
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.
|
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 sun.security.pkcs11.wrapper.CK_SSL3_RANDOM_DATA getPKCS11ParamsObject()
getPKCS11ParamsObject in interface Parameterspublic 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)
Copyright © 2022. All rights reserved.