Hi,
first of all many thanks :)
Then, yes you can use custom attributes. The class ObjectAttribute defines
public const int CKA_VENDOR_DEFINED = 0x80000000;
so in your code you can define yout custom attributes:
public const int CKA_CUSTOM1 = ObjectAttribute .CKA_VENDOR_DEFINED + 1
public const int CKA_CUSTOM2 = ObjectAttribute .CKA_VENDOR_DEFINED + 2
Regards,
Ugo Chirico
http://www.ugosweb.com