Retrieves the root certificate from the current connections peer and returns it.
An SSL connection must already be established.
- Parameters
-
ppCert | [ in ] The address of an P6R::p6ICert pointer in which to return the certificate interface pointer. |
- Returns
Success | P6R::eOk | A chain was retrieved from the peer and the enumerator is returned via ppEnum |
Failure | P6R::eNotInitialized | The initialize() method has not yet been called successfuly. |
P6R::eSSLEngMissingPeerCert | The peer did not provide a certificate chain or the socket is not yet connected. |
P6R::eNotFound | The peer returned a certificate chain, but a root certificate was not found in the chain. |