diff options
author | Ingela Anderton Andin <[email protected]> | 2018-10-15 12:09:34 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-10-23 15:41:04 +0200 |
commit | fcbcaa59336bc75afcc7655c257b934e96030200 (patch) | |
tree | bae00fb6f1c690c51f759148a01b95ea40dba2f7 /lib/public_key/src/public_key.erl | |
parent | 639bb57cf7d6550a48608dc827a6fd3aed1af005 (diff) | |
download | otp-fcbcaa59336bc75afcc7655c257b934e96030200.tar.gz otp-fcbcaa59336bc75afcc7655c257b934e96030200.tar.bz2 otp-fcbcaa59336bc75afcc7655c257b934e96030200.zip |
public_key: Add DSA with SHA2 support
Diffstat (limited to 'lib/public_key/src/public_key.erl')
-rw-r--r-- | lib/public_key/src/public_key.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/public_key/src/public_key.erl b/lib/public_key/src/public_key.erl index 3f609ce6c6..dca1e0766e 100644 --- a/lib/public_key/src/public_key.erl +++ b/lib/public_key/src/public_key.erl @@ -609,6 +609,10 @@ pkix_sign_types(?'id-dsa-with-sha1') -> {sha, dsa}; pkix_sign_types(?'id-dsaWithSHA1') -> {sha, dsa}; +pkix_sign_types(?'id-dsa-with-sha224') -> + {sha224, dsa}; +pkix_sign_types(?'id-dsa-with-sha256') -> + {sha256, dsa}; pkix_sign_types(?'ecdsa-with-SHA1') -> {sha, ecdsa}; pkix_sign_types(?'ecdsa-with-SHA256') -> |