Retrieves the certificate from the current connections peer and returns it.
An SSL connection must already be established.
- Parameters
-
ppCert | [ out ] The address of a p6ICert interface pointer in which to return the certificates interface |
- Returns
Success | P6R::eOk | The peers certificate is returned via ppCert |
Failure | P6R::eNotInitialized | The initialize() method has not yet been called successfuly. |
P6R::eSSLEngMissingPeerCert | No peer certificate could be retrievied. The peer may not have provided a certificate or the SSL socket is not yet connected. |