Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystore5::getCertificateChainByUUID ( P6UUID pUUID,
p6ICert **  pCertChain,
P6UINT32  numChain,
P6UINT32 pNumWritten 
)
pure virtual

Finds and returns a certificate chain associated with an existing key.

Parameters
pUUID[ in ] This globally unique identifer is associated with the key that the chain belongs to.
pCertChain[ out ] An array of certificates that represent a keys certificate chain. If NULL, then the number of certificates in the chain is returned in the parameter pNumWritten.
numChain[ in ] The number of entires in the pCertChain array
pNumWritten[ out ] The number of certificates written into pCertChain, or if pCertChain is NULL, the number required.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL (except for pCertChain).
P6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eNotFoundThere is no keystore entry associated with the UUID parameter..
P6R::eFailThe number of entries in pCertChain are too small to hold the entire chain.
P6R::eInvalidStateA successful call to open() was not made before this call.