Attribute.invalid


Description:

[ CCode ( has_construct_function = false ) ]
public Attribute.invalid (ulong attr_type)

Create a new PKCS#11 attribute as 'invalid' or 'not found' state.

Specifically this sets the value length to (CK_ULONG)-1 as specified in the PKCS#11 specification.

Parameters:

attr_type

the PKCS#11 attribute type to set on the attribute

Returns:

the new attribute; when done with the attribute use free to free it