diff options
author | lloyd <[email protected]> | 2012-01-19 13:37:39 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-19 13:37:39 +0000 |
commit | 0ac2549aba9a3265a8108b475dffb380dbb07715 (patch) | |
tree | ac71301adf5c6b337bf70c476f8c5a1dab6befbd /src/tls/tls_session.h | |
parent | e3d14f1bacde5f23d63ccc5860d5c13c81f70b3a (diff) |
Support SSLv3 client auth on the client side.
Add getters for major and minor protocoll version on TLS_Session.
Add Certificate_Type code points for ECC certs.
Diffstat (limited to 'src/tls/tls_session.h')
-rw-r--r-- | src/tls/tls_session.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tls/tls_session.h b/src/tls/tls_session.h index b4b3861ed..f1352a0e0 100644 --- a/src/tls/tls_session.h +++ b/src/tls/tls_session.h @@ -68,6 +68,16 @@ class BOTAN_DLL TLS_Session { return static_cast<Version_Code>(m_version); } /** + * Get the major version of the saved session + */ + byte major_version() const { return get_byte(0, m_version); } + + /** + * Get the minor version of the saved session + */ + byte minor_version() const { return get_byte(0, m_version); } + + /** * Get the ciphersuite of the saved session */ u16bit ciphersuite() const { return m_ciphersuite; } |