Top Description Fields Constructors Methods
sun.security.pkcs11.wrapper

public Class CK_SSL3_RANDOM_DATA

extends Object
Class Inheritance

class CK_SSL3_RANDOM_DATA provides information about the random data of a client and a server in an SSL context. This class is used by both the CKM_SSL3_MASTER_KEY_DERIVE and the CKM_SSL3_KEY_AND_MAC_DERIVE mechanisms.

PKCS#11 structure:

typedef struct CK_SSL3_RANDOM_DATA {
  CK_BYTE_PTR pClientRandom;
  CK_ULONG ulClientRandomLen;
  CK_BYTE_PTR pServerRandom;
  CK_ULONG ulServerRandomLen;
} CK_SSL3_RANDOM_DATA;
Authors
Karl Scheibelhofer , Martin Schlaeffer

Field Summary

Modifier and TypeField and Description
public byte[]
pClientRandom

PKCS#11:

  CK_BYTE_PTR pClientRandom;
  CK_ULONG ulClientRandomLen;
public byte[]
pServerRandom

PKCS#11:

  CK_BYTE_PTR pServerRandom;
  CK_ULONG ulServerRandomLen;

Constructor Summary

AccessConstructor and Description
public
CK_SSL3_RANDOM_DATA(byte[] clientRandom, byte[] serverRandom)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the string representation of CK_SSL3_RANDOM_DATA
toString
()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SSL3_RANDOM_DATA.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pClientRandomback to summary
public byte[] pClientRandom

PKCS#11:

  CK_BYTE_PTR pClientRandom;
  CK_ULONG ulClientRandomLen;
pServerRandomback to summary
public byte[] pServerRandom

PKCS#11:

  CK_BYTE_PTR pServerRandom;
  CK_ULONG ulServerRandomLen;

Constructor Detail

CK_SSL3_RANDOM_DATAback to summary
public CK_SSL3_RANDOM_DATA(byte[] clientRandom, byte[] serverRandom)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representation of CK_SSL3_RANDOM_DATA.

Returns:String

the string representation of CK_SSL3_RANDOM_DATA