C_DigestKey
This function operates as specified in PKCS#11, although it may be used on any PKCS#11 object.
If the CKF_LOGIN_REQUIRED
flag is set for the Token associated with the provided session the session state must be either CKS_RW_USER_FUNCTIONS
or CKS_RO_USER_FUNCTIONS
,otherwise the error result CKR_USER_NOT_LOGGED_IN
is returned.
Synopsis
C_DigestKey( CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey );