KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > novosec > pkix > asn1 > cmp > CMPObjectIdentifiers


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.cmp;
21
22 import org.bouncycastle.asn1.DERObjectIdentifier;
23
24 /**
25  * ASN.1 defined Object Identifier.
26  *
27  */

28 public class CMPObjectIdentifiers
29 {
30   //
31
// id-pkix = { iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) 7 }
32
//
33
// id-it = { id-pkix 4 }
34
//
35

36   static final String JavaDoc _id_pkix = "1.3.6.1.5.5.7";
37   static final String JavaDoc _id_it = _id_pkix + ".4";
38
39   public static final DERObjectIdentifier it_CAProtEncCert = new DERObjectIdentifier( _id_it + ".1" );
40   public static final DERObjectIdentifier it_SignKeyPairTypes = new DERObjectIdentifier( _id_it + ".2" );
41   public static final DERObjectIdentifier it_EncKeyPairTypes = new DERObjectIdentifier( _id_it + ".3" );
42   public static final DERObjectIdentifier it_PreferredSymmAlg = new DERObjectIdentifier( _id_it + ".4" );
43   public static final DERObjectIdentifier it_CAKeyUpdateInfo = new DERObjectIdentifier( _id_it + ".5" );
44   public static final DERObjectIdentifier it_CurrentCRL = new DERObjectIdentifier( _id_it + ".6" );
45   
46   // PasswordBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 13}
47
public static final DERObjectIdentifier passwordBasedMac = new DERObjectIdentifier( "1.2.840.113533.7.66.13" );
48   
49   // DHBasedMac ::= OBJECT IDENTIFIER --{1 2 840 113533 7 66 30}
50
public static final DERObjectIdentifier dHBasedMac = new DERObjectIdentifier( "1.2.840.113533.7.66.30" );
51
52 }
53
54
Popular Tags