Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITcpSecureSocket::getPeerCertificateChain ( p6IEnumCerts **  ppEnum)
pure virtual

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
SuccessP6R::eOkThe peers certificate is returned via ppCert
FailureP6R::eNotInitializedThe initialize() method has not yet been called successfuly.
P6R::eSSLEngMissingPeerCertThe peer did not provide a certificate chain or the socket is not yet connected.