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 Proncheryansi-X9-62 OBJECT IDENTIFIER ::= { 13*b077aed3SPierre Pronchery iso(1) member-body(2) us(840) 10045 } 14*b077aed3SPierre Pronchery 15*b077aed3SPierre Pronchery-- Arc for ECDSA signature OIDS 16*b077aed3SPierre Pronchery 17*b077aed3SPierre Proncheryid-ecSigType OBJECT IDENTIFIER ::= { ansi-X9-62 signatures(4) } 18*b077aed3SPierre Pronchery 19*b077aed3SPierre Pronchery-- OID for ECDSA signatures with SHA-1 20*b077aed3SPierre Pronchery 21*b077aed3SPierre Proncheryecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 } 22*b077aed3SPierre Pronchery 23*b077aed3SPierre Proncheryid-publicKeyType OBJECT IDENTIFIER ::= { ansi-X9-62 keyType(2) } 24*b077aed3SPierre Pronchery 25*b077aed3SPierre Proncheryid-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 } 26*b077aed3SPierre Pronchery 27*b077aed3SPierre Pronchery-- Named Elliptic Curves in ANSI X9.62. 28*b077aed3SPierre Pronchery 29*b077aed3SPierre ProncheryellipticCurve OBJECT IDENTIFIER ::= { ansi-X9-62 curves(3) } 30*b077aed3SPierre Pronchery 31*b077aed3SPierre Proncheryc-TwoCurve OBJECT IDENTIFIER ::= { 32*b077aed3SPierre Pronchery ellipticCurve characteristicTwo(0) } 33*b077aed3SPierre Pronchery 34*b077aed3SPierre Proncheryc2pnb163v1 OBJECT IDENTIFIER ::= { c-TwoCurve 1 } 35*b077aed3SPierre Proncheryc2pnb163v2 OBJECT IDENTIFIER ::= { c-TwoCurve 2 } 36*b077aed3SPierre Proncheryc2pnb163v3 OBJECT IDENTIFIER ::= { c-TwoCurve 3 } 37*b077aed3SPierre Proncheryc2pnb176w1 OBJECT IDENTIFIER ::= { c-TwoCurve 4 } 38*b077aed3SPierre Proncheryc2tnb191v1 OBJECT IDENTIFIER ::= { c-TwoCurve 5 } 39*b077aed3SPierre Proncheryc2tnb191v2 OBJECT IDENTIFIER ::= { c-TwoCurve 6 } 40*b077aed3SPierre Proncheryc2tnb191v3 OBJECT IDENTIFIER ::= { c-TwoCurve 7 } 41*b077aed3SPierre Proncheryc2onb191v4 OBJECT IDENTIFIER ::= { c-TwoCurve 8 } 42*b077aed3SPierre Proncheryc2onb191v5 OBJECT IDENTIFIER ::= { c-TwoCurve 9 } 43*b077aed3SPierre Proncheryc2pnb208w1 OBJECT IDENTIFIER ::= { c-TwoCurve 10 } 44*b077aed3SPierre Proncheryc2tnb239v1 OBJECT IDENTIFIER ::= { c-TwoCurve 11 } 45*b077aed3SPierre Proncheryc2tnb239v2 OBJECT IDENTIFIER ::= { c-TwoCurve 12 } 46*b077aed3SPierre Proncheryc2tnb239v3 OBJECT IDENTIFIER ::= { c-TwoCurve 13 } 47*b077aed3SPierre Proncheryc2onb239v4 OBJECT IDENTIFIER ::= { c-TwoCurve 14 } 48*b077aed3SPierre Proncheryc2onb239v5 OBJECT IDENTIFIER ::= { c-TwoCurve 15 } 49*b077aed3SPierre Proncheryc2pnb272w1 OBJECT IDENTIFIER ::= { c-TwoCurve 16 } 50*b077aed3SPierre Proncheryc2pnb304w1 OBJECT IDENTIFIER ::= { c-TwoCurve 17 } 51*b077aed3SPierre Proncheryc2tnb359v1 OBJECT IDENTIFIER ::= { c-TwoCurve 18 } 52*b077aed3SPierre Proncheryc2pnb368w1 OBJECT IDENTIFIER ::= { c-TwoCurve 19 } 53*b077aed3SPierre Proncheryc2tnb431r1 OBJECT IDENTIFIER ::= { c-TwoCurve 20 } 54*b077aed3SPierre Pronchery 55*b077aed3SPierre ProncheryprimeCurve OBJECT IDENTIFIER ::= { ellipticCurve prime(1) } 56*b077aed3SPierre Pronchery 57*b077aed3SPierre Proncheryprime192v1 OBJECT IDENTIFIER ::= { primeCurve 1 } 58*b077aed3SPierre Proncheryprime192v2 OBJECT IDENTIFIER ::= { primeCurve 2 } 59*b077aed3SPierre Proncheryprime192v3 OBJECT IDENTIFIER ::= { primeCurve 3 } 60*b077aed3SPierre Proncheryprime239v1 OBJECT IDENTIFIER ::= { primeCurve 4 } 61*b077aed3SPierre Proncheryprime239v2 OBJECT IDENTIFIER ::= { primeCurve 5 } 62*b077aed3SPierre Proncheryprime239v3 OBJECT IDENTIFIER ::= { primeCurve 6 } 63*b077aed3SPierre Proncheryprime256v1 OBJECT IDENTIFIER ::= { primeCurve 7 } 64*b077aed3SPierre Pronchery 65*b077aed3SPierre Pronchery-- ------------------------------------------------------------------- 66*b077aed3SPierre Pronchery-- Taken from RFC 5758, 3.2. ECDSA Signature Algorithm 67*b077aed3SPierre Pronchery-- (https://www.rfc-editor.org/rfc/rfc5758.html#section-3.2) 68*b077aed3SPierre Pronchery 69*b077aed3SPierre Proncheryecdsa-with-SHA224 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 70*b077aed3SPierre Pronchery us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 1 } 71*b077aed3SPierre Pronchery 72*b077aed3SPierre Proncheryecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 73*b077aed3SPierre Pronchery us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 } 74*b077aed3SPierre Pronchery 75*b077aed3SPierre Proncheryecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 76*b077aed3SPierre Pronchery us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 } 77*b077aed3SPierre Pronchery 78*b077aed3SPierre Proncheryecdsa-with-SHA512 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 79*b077aed3SPierre Pronchery us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 4 } 80*b077aed3SPierre Pronchery 81*b077aed3SPierre Pronchery-- ------------------------------------------------------------------- 82*b077aed3SPierre Pronchery-- Taken from https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration 83*b077aed3SPierre Pronchery 84*b077aed3SPierre ProncherysigAlgs OBJECT IDENTIFIER ::= { 2 16 840 1 101 3 4 3 } 85*b077aed3SPierre Pronchery 86*b077aed3SPierre Proncheryid-ecdsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 9 } 87*b077aed3SPierre Proncheryid-ecdsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 10 } 88*b077aed3SPierre Proncheryid-ecdsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 11 } 89*b077aed3SPierre Proncheryid-ecdsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 12 } 90*b077aed3SPierre Pronchery 91