KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > novosec > pkix > asn1 > crmf > CRMFObjectIdentifiers


1 // CMP implementation copyright (c) 2003 NOVOSEC AG (http://www.novosec.com)
2
//
3
// Author: Maik Stohn
4
//
5
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
6
// software and associated documentation files (the "Software"), to deal in the Software
7
// without restriction, including without limitation the rights to use, copy, modify, merge,
8
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
9
// 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   //
31
// id-pkix = { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) 7 }
32
//
33
// id-pkip = { id-pkix 5 }
34
//
35
// id-regCtrl = { id-pkip 1 }
36
// id-regInfo = { id-pkip 2 }
37

38   static final String JavaDoc _id_pkix = "1.3.6.1.5.5.7";
39   static final String JavaDoc _id_pkip = _id_pkix + ".5";
40   static final String JavaDoc _id_regCtrl = _id_pkip + ".1";
41   static final String JavaDoc _id_regInfo = _id_pkip + ".2";
42
43   public static final DERObjectIdentifier regCtrl_regToken = new DERObjectIdentifier( _id_regCtrl + ".1");
44   public static final DERObjectIdentifier regCtrl_authenticator = new DERObjectIdentifier( _id_regCtrl + ".2");
45   public static final DERObjectIdentifier regCtrl_pkiPublicationInfo = new DERObjectIdentifier( _id_regCtrl + ".3");
46   public static final DERObjectIdentifier regCtrl_pkiArchiveOptions = new DERObjectIdentifier( _id_regCtrl + ".4");
47   public static final DERObjectIdentifier regCtrl_oldCertID = new DERObjectIdentifier( _id_regCtrl + ".5");
48   public static final DERObjectIdentifier regCtrl_protocolEncrKey = new DERObjectIdentifier( _id_regCtrl + ".6");
49
50   public static final DERObjectIdentifier regInfo_utf8Pairs = new DERObjectIdentifier( _id_regInfo + ".1");
51   public static final DERObjectIdentifier regInfo_certReq = new DERObjectIdentifier( _id_regInfo + ".2");
52 }
53
54
Popular Tags