Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystore::getKeyByUUID ( P6UUID pUUID,
p6ICryptoKey **  pKey 
)
pure virtual

Finds and returns an existing key with the matching global unique identifer.

Parameters
pUUID[ in ] There can only be one item associated with the globally unique identifer.
pKey[ out ] The same key that was previously stored in the keystore via a call to setKey()
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgIf pKey is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eNotFoundThere is no keystore entry associated with the UUID parameter.
P6R::eInvalidStateA successful call to open() was not made before this call.