diff options
author | Ingela Anderton Andin <[email protected]> | 2018-09-06 11:57:01 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-09-06 11:57:01 +0200 |
commit | 22c94c8d9b10efbb65e12755ecf73d8f30acfb8d (patch) | |
tree | d12ab222ca8d19510935b9c7fd2b74552dec4392 /lib/ssl/src | |
parent | 26e03d10c6c51868640869da8b091efdeab28bb0 (diff) | |
parent | 1cca9ffa82cab9e64a7e0c58dd9c4ea04f62dc0b (diff) | |
download | otp-22c94c8d9b10efbb65e12755ecf73d8f30acfb8d.tar.gz otp-22c94c8d9b10efbb65e12755ecf73d8f30acfb8d.tar.bz2 otp-22c94c8d9b10efbb65e12755ecf73d8f30acfb8d.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl_api.hrl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_api.hrl b/lib/ssl/src/ssl_api.hrl index 144323c572..7579b56ab0 100644 --- a/lib/ssl/src/ssl_api.hrl +++ b/lib/ssl/src/ssl_api.hrl @@ -42,7 +42,8 @@ {verify, verify_type()} | {verify_fun, {fun(), InitialUserState::term()}} | {fail_if_no_peer_cert, boolean()} | {depth, integer()} | - {cert, Der::binary()} | {certfile, path()} | {key, Der::binary()} | + {cert, Der::binary()} | {certfile, path()} | + {key, {private_key_type(), Der::binary()}} | {keyfile, path()} | {password, string()} | {cacerts, [Der::binary()]} | {cacertfile, path()} | {dh, Der::binary()} | {dhfile, path()} | {user_lookup_fun, {fun(), InitialUserState::term()}} | @@ -65,4 +66,11 @@ ClosedTag::atom(), ErrTag::atom()}}. -type prf_random() :: client_random | server_random. +-type private_key_type() :: rsa | %% Backwards compatibility + dsa | %% Backwards compatibility + 'RSAPrivateKey' | + 'DSAPrivateKey' | + 'ECPrivateKey' | + 'PrivateKeyInfo'. + -endif. % -ifdef(ssl_api). |