CT_Create_Set_Attributes_Ticket

The function combines the AttributeCertificateInfo DER encoding returned from the CT_Create_Set_Attributes_Ticket_Info function with a digital signature to form the DER encoded AttributeCertificate that may be passed to a CT_PresentTicket function using the CKM_SET_ATTRIBUTES mechanism.

Synopsis

CK_RV CT_Create_Set_Attributes_Ticket( 
void * pTicketInfo,    /* IN unsigned ticket */
 unsigned int uiTicketInfoLen; /* IN pTicketInfo buffer length */
 
 CK_MECHANISM_TYPE signatureAlg, /* signature alg */
 unsigned char * pSignature, /* signature of pTicketData */
 unsigned int uiSigLen; /* IN pSignature buffer length */
 
 void * pTicketData,    /* OUT new unsigned ticket returned here */
 unsigned int * puiTicketLen; /* IN/OUT pTicketData buffer length */
);