summary refs log tree commit diff
path: root/crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs
blob: 12f369ba2ff136b4c76da418eb8d730765b7f3fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;

using Org.BouncyCastle.Asn1;

namespace Org.BouncyCastle.Asn1.CryptoPro
{
    public abstract class CryptoProObjectIdentifiers
    {
        // GOST Algorithms OBJECT IDENTIFIERS :
        // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2)}
        [Obsolete("Use GOST_id instead")]
        public const string GostID = "1.2.643.2.2";
        public static readonly DerObjectIdentifier GOST_id = new DerObjectIdentifier("1.2.643.2.2");

        public static readonly DerObjectIdentifier GostR3411 = GOST_id.Branch("9");
        public static readonly DerObjectIdentifier GostR3411Hmac = GOST_id.Branch("10");

        public static readonly DerObjectIdentifier id_Gost28147_89_None_KeyWrap = GOST_id.Branch("13.0");
        public static readonly DerObjectIdentifier id_Gost28147_89_CryptoPro_KeyWrap =  GOST_id.Branch("13.1");

        public static readonly DerObjectIdentifier GostR28147Gcfb = GOST_id.Branch("21");
        [Obsolete("Use 'GostR28147Gcfb' instead")]
        public static readonly DerObjectIdentifier GostR28147Cbc = GostR28147Gcfb;

        public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_TestParamSet = GOST_id.Branch("31.0");
        public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_A_ParamSet = GOST_id.Branch("31.1");
        public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_B_ParamSet = GOST_id.Branch("31.2");
        public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_C_ParamSet = GOST_id.Branch("31.3");
        public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_D_ParamSet = GOST_id.Branch("31.4");

        public static readonly DerObjectIdentifier GostR3410x94 = GOST_id.Branch("20");
        public static readonly DerObjectIdentifier GostR3410x2001 = GOST_id.Branch("19");

        public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x94 = GOST_id.Branch("4");
        public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x2001 = GOST_id.Branch("3");

		// { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) hashes(30) }
        public static readonly DerObjectIdentifier GostR3411x94CryptoProParamSet = GOST_id.Branch("30.1");

		// { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) signs(32) }
        public static readonly DerObjectIdentifier GostR3410x94CryptoProA = GOST_id.Branch("32.2");
        public static readonly DerObjectIdentifier GostR3410x94CryptoProB = GOST_id.Branch("32.3");
        public static readonly DerObjectIdentifier GostR3410x94CryptoProC = GOST_id.Branch("32.4");
        public static readonly DerObjectIdentifier GostR3410x94CryptoProD = GOST_id.Branch("32.5");

		// { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) exchanges(33) }
        public static readonly DerObjectIdentifier GostR3410x94CryptoProXchA = GOST_id.Branch("33.1");
        public static readonly DerObjectIdentifier GostR3410x94CryptoProXchB = GOST_id.Branch("33.2");
        public static readonly DerObjectIdentifier GostR3410x94CryptoProXchC = GOST_id.Branch("33.3");

		//{ iso(1) member-body(2)ru(643) rans(2) cryptopro(2) ecc-signs(35) }
        public static readonly DerObjectIdentifier GostR3410x2001CryptoProA = GOST_id.Branch("35.1");
        public static readonly DerObjectIdentifier GostR3410x2001CryptoProB = GOST_id.Branch("35.2");
        public static readonly DerObjectIdentifier GostR3410x2001CryptoProC = GOST_id.Branch("35.3");

		// { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) ecc-exchanges(36) }
        public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchA = GOST_id.Branch("36.0");
        public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchB = GOST_id.Branch("36.1");

        [Obsolete("Erroneous; will be removed")]
        public static readonly DerObjectIdentifier GostElSgDH3410Default = GOST_id.Branch("36.0");
        [Obsolete("Erroneous; will be removed")]
        public static readonly DerObjectIdentifier GostElSgDH3410x1 = GOST_id.Branch("36.1");

        public static readonly DerObjectIdentifier GostR3410x2001CryptoProESDH = GOST_id.Branch("96");

        public static readonly DerObjectIdentifier GostR3410x2001DH = GOST_id.Branch("98");
    }
}