Re: [pkcs11] Re: Proposal: New CKA_DESTROYABLE attribute

From
Tim Hudson <>
Date
2013-06-12T19:22:33+00:00
ID
Thread
Re: [pkcs11] Re: Proposal: New CKA_DESTROYABLE attribute
> I wonder if we should use the same code in both places, that is:
> 
> #define CKA_NOT_PERMITTED    0x0000001A
> #define CKA_COPY_PROHIBITED   CKR_NOT_PERMITTED

Absolutely definitely not something I would suggest makes sense. 
If we see the need to have a separate name for an error code then it SHALL be a separate value. 
Aliases for error codes is not a sensible path IMHO.

Tim.