diff options
author | Erlang/OTP <[email protected]> | 2018-11-15 12:26:08 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2018-11-15 12:26:08 +0100 |
commit | ac9b007a55f78659104eb43efed5a2821a753826 (patch) | |
tree | aae6360222c49a41396ea52db85fe85c68dce5bb /lib/public_key/test/public_key_SUITE.erl | |
parent | 876751e39f704355fdf99e765c6ede17d1bc3c1b (diff) | |
parent | d5b6ff00b123de2d822a951a788678b0ee63d71a (diff) | |
download | otp-ac9b007a55f78659104eb43efed5a2821a753826.tar.gz otp-ac9b007a55f78659104eb43efed5a2821a753826.tar.bz2 otp-ac9b007a55f78659104eb43efed5a2821a753826.zip |
Merge branch 'ingela/public_key/DSA-SHA2/OTP-15367' into maint-21
* ingela/public_key/DSA-SHA2/OTP-15367:
public_key: Add additional ASN-1 definitions for DSA SHA2 support
public_key: Add DSA with SHA2 support
Diffstat (limited to 'lib/public_key/test/public_key_SUITE.erl')
-rw-r--r-- | lib/public_key/test/public_key_SUITE.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/public_key/test/public_key_SUITE.erl b/lib/public_key/test/public_key_SUITE.erl index 1955e9e119..878489eb0f 100644 --- a/lib/public_key/test/public_key_SUITE.erl +++ b/lib/public_key/test/public_key_SUITE.erl @@ -44,7 +44,9 @@ all() -> encrypt_decrypt, {group, sign_verify}, pkix, pkix_countryname, pkix_emailaddress, pkix_path_validation, - pkix_iso_rsa_oid, pkix_iso_dsa_oid, pkix_crl, general_name, + pkix_iso_rsa_oid, pkix_iso_dsa_oid, + pkix_dsa_sha2_oid, + pkix_crl, general_name, pkix_verify_hostname_cn, pkix_verify_hostname_subjAltName, pkix_verify_hostname_subjAltName_IP, @@ -1114,6 +1116,13 @@ pkix_iso_dsa_oid(Config) when is_list(Config) -> {_, dsa} = public_key:pkix_sign_types(SigAlg#'SignatureAlgorithm'.algorithm). %%-------------------------------------------------------------------- +pkix_dsa_sha2_oid() -> + [{doc, "Test support dsa_sha2 oid"}]. +pkix_dsa_sha2_oid(Config) when is_list(Config) -> + {sha224, dsa} = public_key:pkix_sign_types(?'id-dsa-with-sha224'), + {sha256, dsa} = public_key:pkix_sign_types(?'id-dsa-with-sha256'). + +%%-------------------------------------------------------------------- pkix_crl() -> [{doc, "test pkix_crl_* functions"}]. |