Cryptographic Token Interface Standard

PKCS#11


CK_PBE_PARAMS Reference

CK_PBE_PARAMS; CK_PBE_PARAMS_PTR

CK_PBE_PARAMS is a structure which provides all of the necessary information required by the CKM_PBE mechanisms (see PKCS #5 and PKCS #12 for information on the PBE generation mechanisms) and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism. More...


Data Fields

CK_BYTE_PTR pInitVector
 pointer to the location that receives the 8-byte initialization vector (IV), if an IV is required;. More...

CK_UTF8CHAR_PTR pPassword
 points to the password to be used in the PBE key generation;. More...

CK_ULONG ulPasswordLen
 length in bytes of the password information;. More...

CK_BYTE_PTR pSalt
 points to the salt to be used in the PBE key generation;. More...

CK_ULONG ulSaltLen
 length in bytes of the salt information;. More...

CK_ULONG ulIteration
 number of iterations required for the generation. More...


Detailed Description

CK_PBE_PARAMS; CK_PBE_PARAMS_PTR

CK_PBE_PARAMS is a structure which provides all of the necessary information required by the CKM_PBE mechanisms (see PKCS #5 and PKCS #12 for information on the PBE generation mechanisms) and the CKM_PBA_SHA1_WITH_SHA1_HMAC mechanism.
pInitVector pointer to the location that receives the 8-byte initialization vector (IV), if an IV is required;
pPassword points to the password to be used in the PBE key generation;
ulPasswordLen length in bytes of the password information;
pSalt points to the salt to be used in the PBE key generation;
ulSaltLen length in bytes of the salt information;
ulIteration number of iterations required for the generation.

CK_PBE_PARAMS_PTR is a pointer to a CK_PBE_PARAMS.

typedef struct CK_PBE_PARAMS {
CK_BYTE_PTR pInitVector;
CK_UTF8CHAR_PTR pPassword;
CK_ULONG ulPasswordLen;
CK_BYTE_PTR pSalt;
CK_ULONG ulSaltLen;
CK_ULONG ulIteration;
} CK_PBE_PARAMS;

pInitVector pointer to the location that receives the 8-byte initialization vector (IV), if an IV is required;
pPassword points to the password to be used in the PBE key generation;
ulPasswordLen length in bytes of the password information;
pSalt points to the salt to be used in the PBE key generation;
ulSaltLen length in bytes of the salt information;
ulIteration number of iterations required for the generation.

CK_PBE_PARAMS_PTR is a pointer to a CK_PBE_PARAMS.


Field Documentation

CK_BYTE_PTR pInitVector
 

pointer to the location that receives the 8-byte initialization vector (IV), if an IV is required;.

CK_UTF8CHAR_PTR pPassword
 

points to the password to be used in the PBE key generation;.

CK_ULONG ulPasswordLen
 

length in bytes of the password information;.

CK_BYTE_PTR pSalt
 

points to the salt to be used in the PBE key generation;.

CK_ULONG ulSaltLen
 

length in bytes of the salt information;.

CK_ULONG ulIteration
 

number of iterations required for the generation.


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