Add the attribute to an object in the keystore.
The attribute will have the same life span as the object it is associated with. The name of an attribute has to be unique per object.
- Parameters
-
pUUID | [ in ] There can only be one item associated with the globally unique identifer. |
newAttrib | [ in ] The name and value of the attribute. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pUUID is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eExists | The attribute already exists for the given object. |
P6R::eNotFound | There is no object associated with the pUUID parameter. |
P6R::eInvalidState | A successful call to open() was not made before this call. |