axTLS
|
A representation of an SSL connection. More...
Public Member Functions | |
SSL (int ip) | |
Store the reference to an SSL context. More... | |
void | dispose () |
Free any used resources on this connection. More... | |
int | handshakeStatus () |
Return the result of a handshake. More... | |
byte | getCipherId () |
Return the SSL cipher id. More... | |
byte[] | getSessionId () |
Get the session id for a handshake. More... | |
String | getCertificateDN (int component) |
Retrieve an X.509 distinguished name component. More... | |
Data Fields | |
int | m_ssl |
A representation of an SSL connection.
|
inline |
Store the reference to an SSL context.
ip | [in] A reference to an SSL object. |
References axTLSj.SSL.m_ssl.
|
inline |
Free any used resources on this connection.
A "Close Notify" message is sent on this connection (if possible). It is up to the application to close the socket.
References axTLSj.SSL.m_ssl.
|
inline |
Return the result of a handshake.
References axTLSj.SSL.m_ssl.
|
inline |
Return the SSL cipher id.
References axTLSj.SSL.m_ssl.
|
inline |
Get the session id for a handshake.
This will be a 32 byte sequence and is available after the first handshaking messages are sent.
References axTLSj.SSL.m_ssl.
|
inline |
Retrieve an X.509 distinguished name component.
When a handshake is complete and a certificate has been exchanged, then the details of the remote certificate can be retrieved.
This will usually be used by a client to check that the server's common name matches the URL.
A full handshake needs to occur for this call to work.
component | [in] one of:
|
References axTLSj.SSL.m_ssl.
int axTLSj.SSL.m_ssl |
A pointer to the real SSL type
Referenced by axTLSj.SSL.dispose(), axTLSj.SSL.getCertificateDN(), axTLSj.SSL.getCipherId(), axTLSj.SSL.getSessionId(), axTLSj.SSL.handshakeStatus(), axTLSj.SSLCTX.read(), axTLSj.SSLCTX.renegotiate(), axTLSj.SSL.SSL(), axTLSj.SSLCTX.verifyCert(), and axTLSj.SSLCTX.write().