1 | -- Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
|
---|
2 | --
|
---|
3 | -- Licensed under the Apache License 2.0 (the "License"). You may not use
|
---|
4 | -- this file except in compliance with the License. You can obtain a copy
|
---|
5 | -- in the file LICENSE in the source distribution or at
|
---|
6 | -- https://www.openssl.org/source/license.html
|
---|
7 |
|
---|
8 | -- -------------------------------------------------------------------
|
---|
9 | -- Taken from RFC 3279, 3 ASN.1 Module
|
---|
10 | -- (https://www.rfc-editor.org/rfc/rfc3279.html#section-3)
|
---|
11 |
|
---|
12 | -- OID for DSA public key
|
---|
13 |
|
---|
14 | id-dsa OBJECT IDENTIFIER ::= {
|
---|
15 | iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
|
---|
16 |
|
---|
17 | -- OID for DSA signature generated with SHA-1 hash
|
---|
18 |
|
---|
19 | id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
|
---|
20 | iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
|
---|
21 |
|
---|
22 |
|
---|
23 | -- -------------------------------------------------------------------
|
---|
24 | -- Taken from https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration
|
---|
25 |
|
---|
26 | sigAlgs OBJECT IDENTIFIER ::= { 2 16 840 1 101 3 4 3 }
|
---|
27 |
|
---|
28 | id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
|
---|
29 | id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
|
---|
30 | id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
|
---|
31 | id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
|
---|
32 |
|
---|
33 | id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
|
---|
34 | id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
|
---|
35 | id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
|
---|
36 | id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
|
---|