Finds and an existing array of untyped bytes (i.e., a blob) with the matching 'pNamespace pName' identifier.
Makes a new blob instance by copying that existing blob and associating it with a new glbally unique identifier. This is a shallow copy without copying any associated links or attributes.
- Parameters
-
pNamespace | [ in ] An identifier to separate the namespace of pName between applications |
pName | [ in ] An application defined, unique identifier for a blob |
pCopyName | [ in ] Name of new blob copy, Name must be unique in a Namespace |
pCopy | [ out ] Copy of an existing blob but with a new globally unique identifer. |
- 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::eNotFound | There is no keystore entry associated with the pNamespace pName identifer. |
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. |