isSensitiveAttr

Synopsis

int isSensitiveAttr(
const struct TOK_ATTR_DATA * attrData,
const CK_ATTRIBUTE * na);

Descriptio

Report TRUE for potentially sensitive attributes, as per the PKCS#11 spec.  Note that the object has to be marked sensitive for this to have any effect.

SafeNet ProtectToolkit-C extension: all objects have the CKA_VALUE as sensitive if the object has CKA_SENSITIVE set to TRUE. This is useful for objects that are used internally only, or just wrapped for transmission elsewhere.

Parameters

na

Reference to attribute to check