Retrieves the certificate chain from the current connection peer and returns it.
An SSL connection must already be established.
- Parameters
-
ppEnum | [ in ] The address of an P6R::p6IEnumCerts interface in which the enumerator will be placed. |
- 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 | The peer did not provide a certificate chain or the socket is not yet connected. |