This function is used to verify that the Certificate file has been generated by the CA in question and that it has not be since revoked (i.e., it can be trusted).
All files must be in PEM format.
- Parameters
-
pCertificate | [ in ] The certificate to verify by validating the CA's signature. |
pCertChain | [ in ] An array of one or more certificate in the chain of certificates to the CA's certificate |
numChain | [ in ] The number of p6ICert components in the pCertChain list |
pCrlFile | [ in ] The Certificate Revocation List from the CA, this parameter can be NULL. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eFailAndException | The certificate verification failed. Exception record provides detailed error info. |
P6R::eInvalidArg | pCertifcate or pCertChain are NULL, or numChain is zero. |