01: // CMP implementation copyright (c) 2003 NOVOSEC AG (http://www.novosec.com)
02: //
03: // Author: Maik Stohn
04: //
05: // Permission is hereby granted, free of charge, to any person obtaining a copy of this
06: // software and associated documentation files (the "Software"), to deal in the Software
07: // without restriction, including without limitation the rights to use, copy, modify, merge,
08: // publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
09: // to whom the Software is furnished to do so, subject to the following conditions:
10: //
11: // The above copyright notice and this permission notice shall be included in all copies or
12: // substantial portions of the Software.
13: //
14: // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
15: // BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16: // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
17: // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18: // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19:
20: package com.novosec.pkix.asn1.crmf;
21:
22: import org.bouncycastle.asn1.DERObjectIdentifier;
23:
24: /**
25: * ASN.1 defined Object Identifier.
26: *
27: */
28: public class CRMFObjectIdentifiers {
29: //
30: // id-pkix = { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) 7 }
31: //
32: // id-pkip = { id-pkix 5 }
33: //
34: // id-regCtrl = { id-pkip 1 }
35: // id-regInfo = { id-pkip 2 }
36:
37: static final String _id_pkix = "1.3.6.1.5.5.7";
38: static final String _id_pkip = _id_pkix + ".5";
39: static final String _id_regCtrl = _id_pkip + ".1";
40: static final String _id_regInfo = _id_pkip + ".2";
41:
42: public static final DERObjectIdentifier regCtrl_regToken = new DERObjectIdentifier(
43: _id_regCtrl + ".1");
44: public static final DERObjectIdentifier regCtrl_authenticator = new DERObjectIdentifier(
45: _id_regCtrl + ".2");
46: public static final DERObjectIdentifier regCtrl_pkiPublicationInfo = new DERObjectIdentifier(
47: _id_regCtrl + ".3");
48: public static final DERObjectIdentifier regCtrl_pkiArchiveOptions = new DERObjectIdentifier(
49: _id_regCtrl + ".4");
50: public static final DERObjectIdentifier regCtrl_oldCertID = new DERObjectIdentifier(
51: _id_regCtrl + ".5");
52: public static final DERObjectIdentifier regCtrl_protocolEncrKey = new DERObjectIdentifier(
53: _id_regCtrl + ".6");
54:
55: public static final DERObjectIdentifier regInfo_utf8Pairs = new DERObjectIdentifier(
56: _id_regInfo + ".1");
57: public static final DERObjectIdentifier regInfo_certReq = new DERObjectIdentifier(
58: _id_regInfo + ".2");
59: }
|