IANAObjectIdentifiers.java revision 5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96
1package org.bouncycastle.asn1.iana;
2
3import org.bouncycastle.asn1.ASN1ObjectIdentifier;
4
5/**
6 * IANA:
7 *  { iso(1) identifier-organization(3) dod(6) internet(1) } == IETF defined things
8 */
9public interface IANAObjectIdentifiers
10{
11
12    /** { iso(1) identifier-organization(3) dod(6) internet(1) } == IETF defined things */
13    static final ASN1ObjectIdentifier   internet       = new ASN1ObjectIdentifier("1.3.6.1");
14    /** 1.3.6.1.1: Internet directory: X.500 */
15    static final ASN1ObjectIdentifier   directory      = internet.branch("1");
16    /** 1.3.6.1.2: Internet management */
17    static final ASN1ObjectIdentifier   mgmt           = internet.branch("2");
18    /** 1.3.6.1.3: */
19    static final ASN1ObjectIdentifier   experimental   = internet.branch("3");
20    /** 1.3.6.1.4: */
21    static final ASN1ObjectIdentifier   _private       = internet.branch("4");
22    /** 1.3.6.1.5: Security services */
23    static final ASN1ObjectIdentifier   security       = internet.branch("5");
24    /** 1.3.6.1.6: SNMPv2 -- never really used */
25    static final ASN1ObjectIdentifier   SNMPv2         = internet.branch("6");
26    /** 1.3.6.1.7: mail -- never really used */
27    static final ASN1ObjectIdentifier   mail           = internet.branch("7");
28
29
30    // id-SHA1 OBJECT IDENTIFIER ::=
31    // {iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) ipsec(8) isakmpOakley(1)}
32    //
33
34
35    /** IANA security mechanisms; 1.3.6.1.5.5 */
36    static final ASN1ObjectIdentifier    security_mechanisms  = security.branch("5");
37    /** IANA security nametypes;  1.3.6.1.5.6 */
38    static final ASN1ObjectIdentifier    security_nametypes   = security.branch("6");
39
40    /** PKIX base OID:            1.3.6.1.5.6.6 */
41    static final ASN1ObjectIdentifier    pkix                 = security_mechanisms.branch("6");
42
43
44    /** IPSEC base OID:                        1.3.6.1.5.5.8 */
45    static final ASN1ObjectIdentifier    ipsec                = security_mechanisms.branch("8");
46    /** IPSEC ISAKMP-Oakley OID:               1.3.6.1.5.5.8.1 */
47    static final ASN1ObjectIdentifier    isakmpOakley         = ipsec.branch("1");
48
49    /** IPSEC ISAKMP-Oakley hmacMD5 OID:       1.3.6.1.5.5.8.1.1 */
50    static final ASN1ObjectIdentifier    hmacMD5              = isakmpOakley.branch("1");
51    /** IPSEC ISAKMP-Oakley hmacSHA1 OID:      1.3.6.1.5.5.8.1.2 */
52    static final ASN1ObjectIdentifier    hmacSHA1             = isakmpOakley.branch("2");
53
54    /** IPSEC ISAKMP-Oakley hmacTIGER OID:     1.3.6.1.5.5.8.1.3 */
55    static final ASN1ObjectIdentifier    hmacTIGER            = isakmpOakley.branch("3");
56
57    /** IPSEC ISAKMP-Oakley hmacRIPEMD160 OID: 1.3.6.1.5.5.8.1.4 */
58    static final ASN1ObjectIdentifier    hmacRIPEMD160        = isakmpOakley.branch("4");
59
60}
61