summary refs log tree commit diff
path: root/crypto/src/asn1/cmp/CmpObjectIdentifiers.cs
blob: 1b3227c478d29852acada9b703609beacc716929 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
using System;

namespace Org.BouncyCastle.Asn1.Cmp
{
	public static class CmpObjectIdentifiers
	{
        // RFC 4210

        /**
         * id-PasswordBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 13}
         */
        public static readonly DerObjectIdentifier passwordBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.13");

        /**
         * id-DHBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 30}
         */
        public static readonly DerObjectIdentifier dhBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.30");

        // Example InfoTypeAndValue contents include, but are not limited
        // to, the following (un-comment in this ASN.1 module and use as
        // appropriate for a given environment):
        //
        //   id-it-caProtEncCert    OBJECT IDENTIFIER ::= {id-it 1}
        //      CAProtEncCertValue      ::= CMPCertificate
        //   id-it-signKeyPairTypes OBJECT IDENTIFIER ::= {id-it 2}
        //      SignKeyPairTypesValue   ::= SEQUENCE OF AlgorithmIdentifier
        //   id-it-encKeyPairTypes  OBJECT IDENTIFIER ::= {id-it 3}
        //      EncKeyPairTypesValue    ::= SEQUENCE OF AlgorithmIdentifier
        //   id-it-preferredSymmAlg OBJECT IDENTIFIER ::= {id-it 4}
        //      PreferredSymmAlgValue   ::= AlgorithmIdentifier
        //   id-it-caKeyUpdateInfo  OBJECT IDENTIFIER ::= {id-it 5}
        //      CAKeyUpdateInfoValue    ::= CAKeyUpdAnnContent
        //   id-it-currentCRL       OBJECT IDENTIFIER ::= {id-it 6}
        //      CurrentCRLValue         ::= CertificateList
        //   id-it-unsupportedOIDs  OBJECT IDENTIFIER ::= {id-it 7}
        //      UnsupportedOIDsValue    ::= SEQUENCE OF OBJECT IDENTIFIER
        //   id-it-keyPairParamReq  OBJECT IDENTIFIER ::= {id-it 10}
        //      KeyPairParamReqValue    ::= OBJECT IDENTIFIER
        //   id-it-keyPairParamRep  OBJECT IDENTIFIER ::= {id-it 11}
        //      KeyPairParamRepValue    ::= AlgorithmIdentifer
        //   id-it-revPassphrase    OBJECT IDENTIFIER ::= {id-it 12}
        //      RevPassphraseValue      ::= EncryptedValue
        //   id-it-implicitConfirm  OBJECT IDENTIFIER ::= {id-it 13}
        //      ImplicitConfirmValue    ::= NULL
        //   id-it-confirmWaitTime  OBJECT IDENTIFIER ::= {id-it 14}
        //      ConfirmWaitTimeValue    ::= GeneralizedTime
        //   id-it-origPKIMessage   OBJECT IDENTIFIER ::= {id-it 15}
        //      OrigPKIMessageValue     ::= PKIMessages
        //   id-it-suppLangTags     OBJECT IDENTIFIER ::= {id-it 16}
        //      SuppLangTagsValue       ::= SEQUENCE OF UTF8String
        //   id-it-certProfile  OBJECT IDENTIFIER ::= {id-it 21}
        //      CertProfileValue ::= SEQUENCE SIZE (1..MAX) OF UTF8String
        // where
        //
        //   id-pkix OBJECT IDENTIFIER ::= {
        //      iso(1) identified-organization(3)
        //      dod(6) internet(1) security(5) mechanisms(5) pkix(7)}
        // and
        //   id-it   OBJECT IDENTIFIER ::= {id-pkix 4}

        /** RFC 4120: it-id: PKIX.4 = 1.3.6.1.5.5.7.4 */


        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.1
         */
        public static readonly DerObjectIdentifier it_caProtEncCert = new DerObjectIdentifier("1.3.6.1.5.5.7.4.1");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.2
         */
        public static readonly DerObjectIdentifier it_signKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.2");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.3
         */
        public static readonly DerObjectIdentifier it_encKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.3");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.4
         */
        public static readonly DerObjectIdentifier it_preferredSymAlg = new DerObjectIdentifier("1.3.6.1.5.5.7.4.4");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.5
         */
        public static readonly DerObjectIdentifier it_caKeyUpdateInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.4.5");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.6
         */
        public static readonly DerObjectIdentifier it_currentCRL = new DerObjectIdentifier("1.3.6.1.5.5.7.4.6");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.7
         */
        public static readonly DerObjectIdentifier it_unsupportedOIDs = new DerObjectIdentifier("1.3.6.1.5.5.7.4.7");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.10
         */
        public static readonly DerObjectIdentifier it_keyPairParamReq = new DerObjectIdentifier("1.3.6.1.5.5.7.4.10");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.11
         */
        public static readonly DerObjectIdentifier it_keyPairParamRep = new DerObjectIdentifier("1.3.6.1.5.5.7.4.11");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.12
         */
        public static readonly DerObjectIdentifier it_revPassphrase = new DerObjectIdentifier("1.3.6.1.5.5.7.4.12");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.13
         */
        public static readonly DerObjectIdentifier it_implicitConfirm = new DerObjectIdentifier("1.3.6.1.5.5.7.4.13");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.14
         */
        public static readonly DerObjectIdentifier it_confirmWaitTime = new DerObjectIdentifier("1.3.6.1.5.5.7.4.14");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.15
         */
        public static readonly DerObjectIdentifier it_origPKIMessage = new DerObjectIdentifier("1.3.6.1.5.5.7.4.15");
        /**
         * RFC 4120: 1.3.6.1.5.5.7.4.16
         */
        public static readonly DerObjectIdentifier it_suppLangTags = new DerObjectIdentifier("1.3.6.1.5.5.7.4.16");

        /**
         * Update 16, RFC 4210
         * {id-it 17}
         */
        public static readonly DerObjectIdentifier id_it_caCerts = new DerObjectIdentifier("1.3.6.1.5.5.7.4.17");


        /**
         * Update 16, RFC 4210
         * GenRep:    {id-it 18}, RootCaKeyUpdateContent
         */
        public static readonly DerObjectIdentifier id_it_rootCaKeyUpdate = new DerObjectIdentifier("1.3.6.1.5.5.7.4.18");


        /**
         * Update 16, RFC 4210
         * {id-it 19}
         */
        public static readonly DerObjectIdentifier id_it_certReqTemplate = new DerObjectIdentifier("1.3.6.1.5.5.7.4.19");


        /**
         * Update 16, RFC 4210
         * GenMsg:    {id-it 20}, RootCaCertValue
         */
        public static readonly DerObjectIdentifier id_it_rootCaCert = new DerObjectIdentifier("1.3.6.1.5.5.7.4.20");

        /**
         * Update-16 to RFC 4210
         * id-it-certProfile  OBJECT IDENTIFIER ::= {id-it 21}
         */
        public static readonly DerObjectIdentifier id_it_certProfile = new DerObjectIdentifier("1.3.6.1.5.5.7.4.21");

        public static readonly DerObjectIdentifier id_it_crlStatusList = new DerObjectIdentifier("1.3.6.1.5.5.7.4.22");

        public static readonly DerObjectIdentifier id_it_crls = new DerObjectIdentifier("1.3.6.1.5.5.7.4.23");

        // Not yet formally defined.

        //public static readonly DerObjectIdentifier id_it_crlStatusList = null;
        //public static readonly DerObjectIdentifier id_it_crls = null;


        // RFC 4211

        // id-pkix  OBJECT IDENTIFIER  ::= { iso(1) identified-organization(3)
        //     dod(6) internet(1) security(5) mechanisms(5) pkix(7) }
        //
        // arc for Internet X.509 PKI protocols and their components
        // id-pkip  OBJECT IDENTIFIER :: { id-pkix pkip(5) }
        //
        // arc for Registration Controls in CRMF
        // id-regCtrl  OBJECT IDENTIFIER ::= { id-pkip regCtrl(1) }
        //
        // arc for Registration Info in CRMF
        // id-regInfo       OBJECT IDENTIFIER ::= { id-pkip id-regInfo(2) }

        /**
         * RFC 4211: it-pkip: PKIX.5 = 1.3.6.1.5.5.7.5
         */
        public static readonly DerObjectIdentifier id_pkip = new DerObjectIdentifier("1.3.6.1.5.5.7.5");

        /**
         * RFC 4211: it-regCtrl: 1.3.6.1.5.5.7.5.1
         */
        public static readonly DerObjectIdentifier id_regCtrl = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1");
        /**
         * RFC 4211: it-regInfo: 1.3.6.1.5.5.7.5.2
         */
        public static readonly DerObjectIdentifier id_regInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2");


        /**
         * 1.3.6.1.5.5.7.5.1.1
         */
        public static readonly DerObjectIdentifier regCtrl_regToken = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.1");
        /**
         * 1.3.6.1.5.5.7.5.1.2
         */
        public static readonly DerObjectIdentifier regCtrl_authenticator = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.2");
        /**
         * 1.3.6.1.5.5.7.5.1.3
         */
        public static readonly DerObjectIdentifier regCtrl_pkiPublicationInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.3");
        /**
         * 1.3.6.1.5.5.7.5.1.4
         */
        public static readonly DerObjectIdentifier regCtrl_pkiArchiveOptions = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.4");
        /**
         * 1.3.6.1.5.5.7.5.1.5
         */
        public static readonly DerObjectIdentifier regCtrl_oldCertID = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.5");
        /**
         * 1.3.6.1.5.5.7.5.1.6
         */
        public static readonly DerObjectIdentifier regCtrl_protocolEncrKey = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.6");

        /**
         * From RFC4210:
         * id-regCtrl-altCertTemplate OBJECT IDENTIFIER ::= {id-regCtrl 7}; 1.3.6.1.5.5.7.1.7
         */
        public static readonly DerObjectIdentifier regCtrl_altCertTemplate = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.7");

        /**
         * RFC 4211: it-regInfo-utf8Pairs: 1.3.6.1.5.5.7.5.2.1
         */
        public static readonly DerObjectIdentifier regInfo_utf8Pairs = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.1");
        /**
         * RFC 4211: it-regInfo-certReq: 1.3.6.1.5.5.7.5.2.1
         */
        public static readonly DerObjectIdentifier regInfo_certReq = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.2");

        /**
         * 1.2.840.113549.1.9.16.1.21
         * <p>
         * id-ct   OBJECT IDENTIFIER ::= { id-smime  1 }  -- content types
         * </p><p>
         * id-ct-encKeyWithID OBJECT IDENTIFIER ::= {id-ct 21}
         * </p>
         */
        public static readonly DerObjectIdentifier ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21");


        /**
         * id-regCtrl-algId OBJECT IDENTIFIER ::= { iso(1)
         * identified-organization(3) dod(6) internet(1) security(5)
         * mechanisms(5) pkix(7) pkip(5) regCtrl(1) 11 }
         */
        public static readonly DerObjectIdentifier id_regCtrl_algId = id_pkip.Branch("1.11");

        /**
         * id-regCtrl-rsaKeyLen OBJECT IDENTIFIER ::= { iso(1)
         * identified-organization(3) dod(6) internet(1) security(5)
         * mechanisms(5) pkix(7) pkip(5) regCtrl(1) 12 }
         */
        public static readonly DerObjectIdentifier id_regCtrl_rsaKeyLen = id_pkip.Branch("1.12");
	}
}