PROV: Add DERlib support for ECDSA and EC keys
[openssl.git] / providers / common / der / DSA.asn1
1 -- -------------------------------------------------------------------
2 -- Taken from RFC 3279, 3  ASN.1 Module
3 -- (https://www.rfc-editor.org/rfc/rfc3279.html#section-3)
4
5 -- OID for DSA public key
6
7 id-dsa OBJECT IDENTIFIER ::= {
8      iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
9
10 -- OID for DSA signature generated with SHA-1 hash
11
12 id-dsa-with-sha1 OBJECT IDENTIFIER ::=  {
13      iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
14
15
16 -- -------------------------------------------------------------------
17 -- Taken from https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
18
19 sigAlgs OBJECT IDENTIFIER ::= { 2 16 840 1 101 3 4 3 }
20
21 id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
22 id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
23 id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
24 id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
25
26 id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
27 id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
28 id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
29 id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }