Home | C-Bits Package Documentation | Project Page |
#include <SSLPeer.h>
Public Types | |
typedef std::vector< const SSLCert * > | SSLCertChain |
typedef std::vector< const SSLCert * >::iterator | SSLCertChainIter |
Public Methods | |
const std::string | getSubjectName () const |
Access this peer's SubjectName field from its certificate. More... | |
const SSLCertChain & | getCertChain () const |
Access this peer's certificate chain. More... | |
Private Methods | |
SSLPeer (const SSLCert *cert) | |
Private constructor to prevent forgery. More... | |
~SSLPeer () | |
Private destructor to prevent illegal destruction. More... | |
void | addCert (const SSLCert *cert) |
Add a certificate to a this peer's certificate chain. More... | |
SSLPeer (const SSLPeer &) | |
NOT IMPLEMENTED *. More... | |
SSLPeer & | operator= (const SSLPeer &) |
Private Attributes | |
SSLCertChain | _cert_chain |
The peer's certificate chain. More... | |
Friends | |
class | SSLSocket |
class | SSLServerSocket |
Instances of this class can only be obtained from a connected cbits::SSLSocket instance which has successfully negotiated the SSL handshake with a remote peer.
|
|
|
|
|
Private constructor to prevent forgery.
|
|
Private destructor to prevent illegal destruction.
|
|
NOT IMPLEMENTED *.
|
|
Add a certificate to a this peer's certificate chain. This is a priviledged operation. |
|
Access this peer's certificate chain.
|
|
Access this peer's SubjectName field from its certificate.
|
|
|
|
|
|
|
|
The peer's certificate chain.
|
|
|