KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > maverick > crypto > asn1 > misc > MiscObjectIdentifiers


1 /*
2  * SSL-Explorer
3  *
4  * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */

19             
20 package com.maverick.crypto.asn1.misc;
21
22 import com.maverick.crypto.asn1.DERObjectIdentifier;
23
24 public interface MiscObjectIdentifiers
25 {
26     //
27
// Netscape
28
// iso/itu(2) joint-assign(16) us(840) uscompany(1) netscape(113730) cert-extensions(1) }
29
//
30
static final String JavaDoc netscape = "2.16.840.1.113730.1";
31     static final DERObjectIdentifier netscapeCertType = new DERObjectIdentifier(netscape + ".1");
32     static final DERObjectIdentifier netscapeBaseURL = new DERObjectIdentifier(netscape + ".2");
33     static final DERObjectIdentifier netscapeRevocationURL = new DERObjectIdentifier(netscape + ".3");
34     static final DERObjectIdentifier netscapeCARevocationURL = new DERObjectIdentifier(netscape + ".4");
35     static final DERObjectIdentifier netscapeRenewalURL = new DERObjectIdentifier(netscape + ".7");
36     static final DERObjectIdentifier netscapeCApolicyURL = new DERObjectIdentifier(netscape + ".8");
37     static final DERObjectIdentifier netscapeSSLServerName = new DERObjectIdentifier(netscape + ".12");
38     static final DERObjectIdentifier netscapeCertComment = new DERObjectIdentifier(netscape + ".13");
39     //
40
// Verisign
41
// iso/itu(2) joint-assign(16) us(840) uscompany(1) verisign(113733) cert-extensions(1) }
42
//
43
static final String JavaDoc verisign = "2.16.840.1.113733.1";
44
45     //
46
// CZAG - country, zip, age, and gender
47
//
48
static final DERObjectIdentifier verisignCzagExtension = new DERObjectIdentifier(verisign + ".6.3");
49 }
50
Popular Tags