Creates a key reference in the keystore with the matching 'pNamespace pName' identifier.
- Parameters
-
pNamespace | [ in ] An identifier to separate the namespace of pName between applications |
pName | [ in ] An application defined, unique identifier for a key |
pReference | [ in ] Where the key is located |
pUUID | [ out ] Optional, can be NULL. Return the P6UUID associated with the key in the keystore. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidState | A successful call to open() was not made before this call. |
P6R::eTooBig | pNamespace is larger than P6KSMAXNAMESPACE or pName is larger than P6KSMAXNAME. |
P6R::eTooSmall | pNamespace or pName have length of zero. |
P6R::eExists | The key already exists in the keystore. |