From e682fd8081ba3f60db28da9185a027e3bded6a06 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Wed, 15 Mar 2017 15:37:59 +0100 Subject: ssl: Add connection information items Add session_id and remove undocumented ssl:session_info/1 Add client_random, server_random and master_secret, they will not be included in ssl:connection_information/1 as they may affect the connections security if used recklessly. --- lib/ssl/doc/src/ssl.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'lib/ssl/doc/src/ssl.xml') diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index 916b41742e..91c590c247 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -935,13 +935,14 @@ fun(srp, Username :: string(), UserState :: term()) -> Returns all the connection information. - Item = protocol | cipher_suite | sni_hostname | ecc | atom() + Item = protocol | cipher_suite | sni_hostname | ecc | session_id | atom() Meaningful atoms, not specified above, are the ssl option names. Result = [{Item::atom(), Value::term()}] Reason = term() -

Returns all relevant information about the connection, ssl options that - are undefined will be filtered out.

+

Returns the most relevant information about the connection, ssl options that + are undefined will be filtered out. Note that values that affect the security of the + connection will only be returned if explicitly requested by connection_information/2.

@@ -952,8 +953,10 @@ fun(srp, Username :: string(), UserState :: term()) -> Items = [Item] - Item = protocol | cipher_suite | sni_hostname | atom() - Meaningful atoms, not specified above, are the ssl option names. + Item = protocol | cipher_suite | sni_hostname | ecc | session_id | client_random + | server_random | master_secret | atom() + Note that client_random, server_random and master_secret are values + that affect the security of connection. Meaningful atoms, not specified above, are the ssl option names. Result = [{Item::atom(), Value::term()}] Reason = term() -- cgit v1.2.3