CT_SetLimitsAttributes
Synopsis
CK_RV CT_SetLimitsAttributes( CK_SESSION_HANDLE hSession, /* IN */ CK_OBJECT_HANDLE hObj, /* IN */ CK_VOID_PTR pCertData, /* IN - optional CKA_ADMIN_CERT value */ CK_ULONG ulCertDataLen, /* IN - length of pCertData */ CK_ULONG * usage_limit, /* IN - optional CKA_USAGE_LIMIT */ CK_ULONG * usage_count, /* IN - optional CKA_USAGE_COUNT */ char * start_date, /* IN - optional CKA_START_DATE */ char * end_date /* IN - optional CKA_END_DATE */ );
Description
Apply limit attributes to an object. The optional inputs may be set to NULL to indicte that that Attributes should not be set.
NOTE Object should have CKA_MODIFIABLE-false for this function to work.