|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||
#include "ot/ssl/SSLSession.h"

A SSL connection uses a SSL session, but that session may be used by many connections. The SSL session used by a connection may be replaced by a different SSL session if SSL renegotiation takes place.
| Method Summary | |
virtual String |
getCipherSuite() const=0Returns the name of the cipher suite being employed by this SSLSession. |
virtual ByteString |
getId() const=0Returns the SSL session identifier assigned to this SSLSession by the server. |
virtual String |
getPeerCertDomainName() const=0Returns the domain name contained within the peer's certificate. |
virtual String |
getPeerCertIssuerName() const=0Returns the name of the principal who signed and issued the peer's certificate. |
virtual String |
getPeerCertSubjectName() const=0Returns the subject name field from the peer's certificate. |
virtual String |
getPeerHost() const=0Returns the host name of the peer. |
virtual int |
getPeerPort() const=0Returns the port number of the peer. |
virtual String |
getProtocol() const=0Returns a string representation of the SSL/TLS protocol being employed by this SSLSession. |
virtual void |
invalidate()=0Invalidates the SSL session. |
virtual bool |
isValid()=0Returns a boolean flag indicating if this SSLSession represents a successfully negotiated session between two peers. |
| Methods inherited from class ot::ManagedObject |
addRef(), getRefCount(), onFinalRelease(), operator=(const ManagedObject&), release() |
| Method Detail |
virtual String getCipherSuite() const=0
virtual ByteString getId() const=0
virtual String getPeerCertDomainName() const=0
This method first checks for a subjectAltName extension and, failing that, extracts the Common Name from the Subject Name.
virtual String getPeerCertIssuerName() const=0
/CN=ElCel CA/ST=London/C=UK/emailAddress=ca@elcel.com/O=ElCel Technology
virtual String getPeerCertSubjectName() const=0
/CN=www.elcel.com/ST=London/C=UK/emailAddress=info@elcel.com/O=ElCel Technology
virtual String getPeerHost() const=0
virtual int getPeerPort() const=0
virtual String getProtocol() const=0
virtual void invalidate()=0
virtual bool isValid()=0
|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||