ExtractAllAttributes

Synopsis

CK_RV ExtractAllAttributes(
CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hobj,
TOK_ATTR_DATA ** pna);

Description

Extract all non-sensitive valid attributes of an object.

Parameters

hSession

Open session handle

hObj

Object to extract from

pna

Reference to a reference to extracted attribute set

On Successful Return

*pna — newly allocated attribute set of extracted attributes; this memory needs to be freed (see FreeAttributeSet)