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
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | If pCert 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 fingerprint parameter. |
P6R::eInvalidState | A successful call to open() was not made before this call. |
P6R::eUnsupported | The given digest format is not supported. |