CT_GetObjectDigest

Compute the object digest as used by SET Attributes Ticket to identify the target object.

Synopsis

CK_RV CT_GetObjectDigest(
       CK_SESSION_HANDLE hSession,  /* IN */
       CK_OBJECT_HANDLE hObject,    /* IN */
       CK_MECHANISM_PTR pDigestMech,/* IN */
 
       CK_BYTE_PTR * ppDigest,  /* OUT returned buffer must be freed */
       CK_ULONG    * pulDigest  /* OUT length of returned buffer */
               );