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