Cryptographic Token Interface Standard

PKCS#11


CK_RSA_PKCS_PSS_PARAMS Reference

CK_RSA_PKCS_PSS_PARAMS; CK_RSA_PKCS_PSS_PARAMS_PTR

CK_RSA_PKCS_PSS_PARAMS is a structure that provides the parameters to the CKM_RSA_PKCS_PSS mechanism. More...


Data Fields

CK_MECHANISM_TYPE hashAlg
 hash algorithm used in the PSS encoding; if the signature mechanism does not include message hashing, then this value must be the mechanism used by the application to generate the message hash; if the signature mechanism includes hashing, then this value must match the hash algorithm indicated by the signature mechanism. More...

CK_RSA_PKCS_MGF_TYPE mgf
 mask generation function to use on the encoded block. More...

CK_ULONG sLen
 length, in bytes, of the salt value used in the PSS encoding; typical values are the length of the message hash and zero. More...


Detailed Description

CK_RSA_PKCS_PSS_PARAMS; CK_RSA_PKCS_PSS_PARAMS_PTR

CK_RSA_PKCS_PSS_PARAMS is a structure that provides the parameters to the CKM_RSA_PKCS_PSS mechanism. The structure is defined as follows:
hashAlg hash algorithm used in the PSS encoding; if the signature mechanism does not include message hashing, then this value must be the mechanism used by the application to generate the message hash; if the signature mechanism includes hashing, then this value must match the hash algorithm indicated by the signature mechanism
mgf mask generation function to use on the encoded block
sLen length, in bytes, of the salt value used in the PSS encoding; typical values are the length of the message hash and zero

CK_RSA_PKCS_PSS_PARAMS_PTR is a pointer to a CK_RSA_PKCS_PSS_PARAMS.


Field Documentation

CK_MECHANISM_TYPE hashAlg
 

hash algorithm used in the PSS encoding; if the signature mechanism does not include message hashing, then this value must be the mechanism used by the application to generate the message hash; if the signature mechanism includes hashing, then this value must match the hash algorithm indicated by the signature mechanism.

CK_RSA_PKCS_MGF_TYPE mgf
 

mask generation function to use on the encoded block.

CK_ULONG sLen
 

length, in bytes, of the salt value used in the PSS encoding; typical values are the length of the message hash and zero.


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