C_GetObjectSize
This function operates as specified in PKCS#11.
SafeNet ProtectToolkit-C interprets the object size to be the amount of memory guaranteed to be sufficient to encode the object’s attributes.
Synopsis
C_GetObjectSize( CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize );