Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

HashToCKM

function HashToCKM(aHash: tHashAlgorithm; out aMech: CK_MECHANISM_TYPE): Boolean;
The CKM_ digest mechanism and CKG_ MGF1 identifier for aHash, needed to fill in CK_RSA_PKCS_PSS_PARAMS. A hash with no PKCS#11 identifier cannot be used with a generic PSS mechanism however well the library supports it.