Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKeystore3::getCertificateByFingerprint ( P6WCHAR pFingerprint,
P6DIGESTS  digest,
p6ICert **  pCert 
)
pure virtual

Finds and returns an existing certificate with the matching fingerprint.

Parameters
pFingerprint[ in ] Hex encoded fingerprint of the contents of the certificate the caller is trying to find
digest[ in ] The type of algorithm used to calculate the fingerprint in the pFingerprint parameter (i.e., currently supported: MD5, SHA1)
pCert[ out ] The same certificate that was previously stored in the keystore via a call to setCertificate()
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgIf pCert is NULL.
P6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eNotFoundThere is no keystore entry associated with the fingerprint parameter.
P6R::eInvalidStateA successful call to open() was not made before this call.
P6R::eUnsupportedThe given digest format is not supported.