From 28e4dd20a4e2829293b540113f7d80facc7bddc2 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Thu, 2 May 2019 11:22:39 +0200 Subject: ssl: Add cipher suite convertion functions --- lib/ssl/doc/src/ssl.xml | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'lib/ssl/doc') diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index d626748af6..3aa6e09c2c 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -1131,6 +1131,15 @@ fun(srp, Username :: string(), UserState :: term()) -> + + + Returns a list of RFC or OpenSSL names +

Same as cipher_suites/2 + but lists RFC or OpenSSL string names instead of erl_cipher_suite() +

+
+
+ @@ -1563,12 +1572,36 @@ fun(srp, Username :: string(), UserState :: term()) ->

Stops the SSL application.

+ + + + Converts an RFC or OpenSSL name string to an erlang cipher suite format + +

Converts an RFC or OpenSSL name string to an + erl_cipher_suite() + Returns an error if the cipher suite is not supported or the name is not a valid cipher suite name.

+
+
+ + + Converts erlang cipher suite format to an OpenSSL name string. + + +

Converts erl_cipher_suite() + to OpenSSL name string.

+ +

PRE TLS-1.3 these names differ for RFC names

+ +
+
+ - Returns the string representation of a cipher suite. + Converts an erlang cipher suite to an RFC name string. -

Returns the string representation of a cipher suite.

+

Converts erl_cipher_suite() + to RFC name string.

-- cgit v1.2.3