For protocols where a separate server certificate is associated with each transaction, for example, HTTP over TLS, you can get the certificate using RHTTPTransaction::ServerCert()
. This is not intended for use by a WSP client and will not return useful data. For a WTLS server certificate, RHTTPSession::ServerCert()
is used to obtain a copy of the WAP Proxy's server certificate after a secure WTLS handshake has completed.