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