• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.bouncycastle.asn1.misc;
2 
3 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
4 
5 public interface MiscObjectIdentifiers
6 {
7     //
8     // Netscape
9     //       iso/itu(2) joint-assign(16) us(840) uscompany(1) netscape(113730) cert-extensions(1) }
10     //
11     /** Netscape cert extensions OID base: 2.16.840.1.113730.1  */
12     static final ASN1ObjectIdentifier    netscape                = new ASN1ObjectIdentifier("2.16.840.1.113730.1");
13     /** Netscape cert CertType OID: 2.16.840.1.113730.1.1  */
14     static final ASN1ObjectIdentifier    netscapeCertType        = netscape.branch("1");
15     /** Netscape cert BaseURL OID: 2.16.840.1.113730.1.2  */
16     static final ASN1ObjectIdentifier    netscapeBaseURL         = netscape.branch("2");
17     /** Netscape cert RevocationURL OID: 2.16.840.1.113730.1.3  */
18     static final ASN1ObjectIdentifier    netscapeRevocationURL   = netscape.branch("3");
19     /** Netscape cert CARevocationURL OID: 2.16.840.1.113730.1.4  */
20     static final ASN1ObjectIdentifier    netscapeCARevocationURL = netscape.branch("4");
21     /** Netscape cert RenewalURL OID: 2.16.840.1.113730.1.7  */
22     static final ASN1ObjectIdentifier    netscapeRenewalURL      = netscape.branch("7");
23     /** Netscape cert CApolicyURL OID: 2.16.840.1.113730.1.8  */
24     static final ASN1ObjectIdentifier    netscapeCApolicyURL     = netscape.branch("8");
25     /** Netscape cert SSLServerName OID: 2.16.840.1.113730.1.12  */
26     static final ASN1ObjectIdentifier    netscapeSSLServerName   = netscape.branch("12");
27     /** Netscape cert CertComment OID: 2.16.840.1.113730.1.13  */
28     static final ASN1ObjectIdentifier    netscapeCertComment     = netscape.branch("13");
29 
30     //
31     // Verisign
32     //       iso/itu(2) joint-assign(16) us(840) uscompany(1) verisign(113733) cert-extensions(1) }
33     //
34     /** Verisign OID base: 2.16.840.1.113733.1 */
35     static final ASN1ObjectIdentifier   verisign                = new ASN1ObjectIdentifier("2.16.840.1.113733.1");
36 
37     /** Verisign CZAG (Country,Zip,Age,Gender) Extension OID: 2.16.840.1.113733.1.6.3 */
38     static final ASN1ObjectIdentifier   verisignCzagExtension   = verisign.branch("6.3");
39 
40     static final ASN1ObjectIdentifier   verisignPrivate_6_9     = verisign.branch("6.9");
41     static final ASN1ObjectIdentifier   verisignOnSiteJurisdictionHash = verisign.branch("6.11");
42     static final ASN1ObjectIdentifier   verisignBitString_6_13   = verisign.branch("6.13");
43 
44     /** Verisign D&B D-U-N-S number Extension OID: 2.16.840.1.113733.1.6.15 */
45     static final ASN1ObjectIdentifier   verisignDnbDunsNumber   = verisign.branch("6.15");
46 
47     static final ASN1ObjectIdentifier   verisignIssStrongCrypto = verisign.branch("8.1");
48 
49     //
50     // Novell
51     //       iso/itu(2) country(16) us(840) organization(1) novell(113719)
52     //
53     /** Novell OID base: 2.16.840.1.113719 */
54     static final ASN1ObjectIdentifier    novell                  = new ASN1ObjectIdentifier("2.16.840.1.113719");
55     /** Novell SecurityAttribs OID: 2.16.840.1.113719.1.9.4.1 */
56     static final ASN1ObjectIdentifier    novellSecurityAttribs   = novell.branch("1.9.4.1");
57 
58     //
59     // Entrust
60     //       iso(1) member-body(16) us(840) nortelnetworks(113533) entrust(7)
61     //
62     /** NortelNetworks Entrust OID base: 1.2.840.113533.7 */
63     static final ASN1ObjectIdentifier    entrust                 = new ASN1ObjectIdentifier("1.2.840.113533.7");
64     /** NortelNetworks Entrust VersionExtension OID: 1.2.840.113533.7.65.0 */
65     static final ASN1ObjectIdentifier    entrustVersionExtension = entrust.branch("65.0");
66 
67     /** cast5CBC OBJECT IDENTIFIER ::= {iso(1) member-body(2) us(840) nt(113533) nsn(7) algorithms(66) 10} SEE RFC 2984 */
68     ASN1ObjectIdentifier    cast5CBC = entrust.branch("66.10");
69 
70     //
71     // Ascom
72     //
73     ASN1ObjectIdentifier as_sys_sec_alg_ideaCBC = new ASN1ObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2");
74 
75     //
76     // Peter Gutmann's Cryptlib
77     //
78     ASN1ObjectIdentifier cryptlib = new ASN1ObjectIdentifier("1.3.6.1.4.1.3029");
79 
80     ASN1ObjectIdentifier cryptlib_algorithm = cryptlib.branch("1");
81     ASN1ObjectIdentifier cryptlib_algorithm_blowfish_ECB = cryptlib_algorithm.branch("1.1");
82     ASN1ObjectIdentifier cryptlib_algorithm_blowfish_CBC = cryptlib_algorithm.branch("1.2");
83     ASN1ObjectIdentifier cryptlib_algorithm_blowfish_CFB = cryptlib_algorithm.branch("1.3");
84     ASN1ObjectIdentifier cryptlib_algorithm_blowfish_OFB = cryptlib_algorithm.branch("1.4");
85 
86     //
87     // Blake2b
88     //
89     ASN1ObjectIdentifier blake2 = new ASN1ObjectIdentifier("1.3.6.1.4.1.1722.12.2");
90 
91     ASN1ObjectIdentifier id_blake2b160 = blake2.branch("1.5");
92     ASN1ObjectIdentifier id_blake2b256 = blake2.branch("1.8");
93     ASN1ObjectIdentifier id_blake2b384 = blake2.branch("1.12");
94     ASN1ObjectIdentifier id_blake2b512 = blake2.branch("1.16");
95 }
96