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.cmp;
21:
22: import org.bouncycastle.asn1.DERObjectIdentifier;
23:
24: /**
25: * ASN.1 defined Object Identifier.
26: *
27: */
28: public class CMPObjectIdentifiers {
29: //
30: // id-pkix = { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) 7 }
31: //
32: // id-it = { id-pkix 4 }
33: //
34:
35: static final String _id_pkix = "1.3.6.1.5.5.7";
36: static final String _id_it = _id_pkix + ".4";
37:
38: public static final DERObjectIdentifier it_CAProtEncCert = new DERObjectIdentifier(
39: _id_it + ".1");
40: public static final DERObjectIdentifier it_SignKeyPairTypes = new DERObjectIdentifier(
41: _id_it + ".2");
42: public static final DERObjectIdentifier it_EncKeyPairTypes = new DERObjectIdentifier(
43: _id_it + ".3");
44: public static final DERObjectIdentifier it_PreferredSymmAlg = new DERObjectIdentifier(
45: _id_it + ".4");
46: public static final DERObjectIdentifier it_CAKeyUpdateInfo = new DERObjectIdentifier(
47: _id_it + ".5");
48: public static final DERObjectIdentifier it_CurrentCRL = new DERObjectIdentifier(
49: _id_it + ".6");
50:
51: // PasswordBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 13}
52: public static final DERObjectIdentifier passwordBasedMac = new DERObjectIdentifier(
53: "1.2.840.113533.7.66.13");
54:
55: // DHBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 30}
56: public static final DERObjectIdentifier dHBasedMac = new DERObjectIdentifier(
57: "1.2.840.113533.7.66.30");
58:
59: }
|