Cryptographic Token Interface Standard

PKCS#11


CK_SSL3_KEY_MAT_PARAMS Reference

CK_SSL3_KEY_MAT_PARAMS; CK_SSL3_KEY_MAT_PARAMS_PTR

CK_SSL3_KEY_MAT_PARAMS is a structure that provides the parameters to the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism. More...


Data Fields

CK_ULONG ulMacSizeInBits
 the length (in bits) of the MACing keys agreed upon during the protocol handshake phase. More...

CK_ULONG ulKeySizeInBits
 the length (in bits) of the secret keys agreed upon during the protocol handshake phase. More...

CK_ULONG ulIVSizeInBits
 the length (in bits) of the IV agreed upon during the protocol handshake phase. More...

CK_BBOOL bIsExport
 a Boolean value which indicates whether the keys have to be derived for an export version of the protocol. More...

CK_SSL3_RANDOM_DATA RandomInfo
 client's and server's random data information. More...

CK_SSL3_KEY_MAT_OUT_PTR pReturnedKeyMaterial
 points to a '''CK_SSL3_KEY_MAT_OUT''' structures which receives the handles for the keys generated and the IVs. More...


Detailed Description

CK_SSL3_KEY_MAT_PARAMS; CK_SSL3_KEY_MAT_PARAMS_PTR

CK_SSL3_KEY_MAT_PARAMS is a structure that provides the parameters to the CKM_SSL3_KEY_AND_MAC_DERIVE mechanism. It is defined as follows:
ulMacSizeInBits the length (in bits) of the MACing keys agreed upon during the protocol handshake phase
ulKeySizeInBits the length (in bits) of the secret keys agreed upon during the protocol handshake phase
ulIVSizeInBits the length (in bits) of the IV agreed upon during the protocol handshake phase. If no IV is required, the length should be set to 0
bIsExport a Boolean value which indicates whether the keys have to be derived for an export version of the protocol
RandomInfo client's and server's random data information.
pReturnedKeyMaterial points to a '''CK_SSL3_KEY_MAT_OUT''' structures which receives the handles for the keys generated and the IVs

CK_SSL3_KEY_MAT_PARAMS_PTR is a pointer to a CK_SSL3_KEY_MAT_PARAMS.


Field Documentation

CK_ULONG ulMacSizeInBits
 

the length (in bits) of the MACing keys agreed upon during the protocol handshake phase.

CK_ULONG ulKeySizeInBits
 

the length (in bits) of the secret keys agreed upon during the protocol handshake phase.

CK_ULONG ulIVSizeInBits
 

the length (in bits) of the IV agreed upon during the protocol handshake phase. If no IV is required, the length should be set to 0

CK_BBOOL bIsExport
 

a Boolean value which indicates whether the keys have to be derived for an export version of the protocol.

CK_SSL3_RANDOM_DATA RandomInfo
 

client's and server's random data information.

CK_SSL3_KEY_MAT_OUT_PTR pReturnedKeyMaterial
 

points to a '''CK_SSL3_KEY_MAT_OUT''' structures which receives the handles for the keys generated and the IVs.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v230