diff options
author | Ingela Anderton Andin <[email protected]> | 2018-11-06 14:31:55 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-11-08 10:55:56 +0100 |
commit | d5b6ff00b123de2d822a951a788678b0ee63d71a (patch) | |
tree | 5a8f39f4c847be2b19e9a95fb24bf78163e12573 | |
parent | fa3963dee6d0a718fd5c3816fcdfeef3fb41b185 (diff) | |
download | otp-d5b6ff00b123de2d822a951a788678b0ee63d71a.tar.gz otp-d5b6ff00b123de2d822a951a788678b0ee63d71a.tar.bz2 otp-d5b6ff00b123de2d822a951a788678b0ee63d71a.zip |
public_key: Add additional ASN-1 definitions for DSA SHA2 support
-rw-r--r-- | lib/public_key/asn1/OTP-PKIX.asn1 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/public_key/asn1/OTP-PKIX.asn1 b/lib/public_key/asn1/OTP-PKIX.asn1 index 10a83555af..9bcd99fba3 100644 --- a/lib/public_key/asn1/OTP-PKIX.asn1 +++ b/lib/public_key/asn1/OTP-PKIX.asn1 @@ -326,8 +326,13 @@ PublicKeyAlgorithm ::= SEQUENCE { OPTIONAL } SupportedSignatureAlgorithms SIGNATURE-ALGORITHM-CLASS ::= { - dsa-with-sha1 | dsaWithSHA1 | md2-with-rsa-encryption | - md5-with-rsa-encryption | sha1-with-rsa-encryption | sha-1with-rsa-encryption | + dsa-with-sha1 | dsaWithSHA1 | + dsa-with-sha224 | + dsa-with-sha256 | + md2-with-rsa-encryption | + md5-with-rsa-encryption | + sha1-with-rsa-encryption | + sha-1with-rsa-encryption | sha224-with-rsa-encryption | sha256-with-rsa-encryption | sha384-with-rsa-encryption | @@ -368,6 +373,14 @@ SupportedPublicKeyAlgorithms PUBLIC-KEY-ALGORITHM-CLASS ::= { ID id-dsaWithSHA1 TYPE DSAParams } + dsa-with-sha224 SIGNATURE-ALGORITHM-CLASS ::= { + ID id-dsa-with-sha224 + TYPE DSAParams } + + dsa-with-sha256 SIGNATURE-ALGORITHM-CLASS ::= { + ID id-dsa-with-sha256 + TYPE DSAParams } + id-dsa-with-sha224 OBJECT IDENTIFIER ::= { joint-iso-ccitt(2) country(16) us(840) organization(1) gov(101) csor(3) algorithms(4) id-dsa-with-sha2(3) 1 } |