001package org.apache.commons.ssl.org.bouncycastle.asn1.iana;
002
003import org.apache.commons.ssl.org.bouncycastle.asn1.ASN1ObjectIdentifier;
004
005/**
006 * IANA:
007 *  { iso(1) identifier-organization(3) dod(6) internet(1) } == IETF defined things
008 */
009public interface IANAObjectIdentifiers
010{
011
012    /** { iso(1) identifier-organization(3) dod(6) internet(1) } == IETF defined things */
013    static final ASN1ObjectIdentifier   internet       = new ASN1ObjectIdentifier("1.3.6.1");
014    /** 1.3.6.1.1: Internet directory: X.500 */
015    static final ASN1ObjectIdentifier   directory      = internet.branch("1");
016    /** 1.3.6.1.2: Internet management */
017    static final ASN1ObjectIdentifier   mgmt           = internet.branch("2");
018    /** 1.3.6.1.3: */
019    static final ASN1ObjectIdentifier   experimental   = internet.branch("3");
020    /** 1.3.6.1.4: */
021    static final ASN1ObjectIdentifier   _private       = internet.branch("4");
022    /** 1.3.6.1.5: Security services */
023    static final ASN1ObjectIdentifier   security       = internet.branch("5");
024    /** 1.3.6.1.6: SNMPv2 -- never really used */
025    static final ASN1ObjectIdentifier   SNMPv2         = internet.branch("6");
026    /** 1.3.6.1.7: mail -- never really used */
027    static final ASN1ObjectIdentifier   mail           = internet.branch("7");
028
029
030    // id-SHA1 OBJECT IDENTIFIER ::=    
031    // {iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) ipsec(8) isakmpOakley(1)}
032    //
033
034
035    /** IANA security mechanisms; 1.3.6.1.5.5 */
036    static final ASN1ObjectIdentifier    security_mechanisms  = security.branch("5");
037    /** IANA security nametypes;  1.3.6.1.5.6 */
038    static final ASN1ObjectIdentifier    security_nametypes   = security.branch("6");
039
040    /** PKIX base OID:            1.3.6.1.5.6.6 */
041    static final ASN1ObjectIdentifier    pkix                 = security_mechanisms.branch("6");
042
043
044    /** IPSEC base OID:                        1.3.6.1.5.5.8 */
045    static final ASN1ObjectIdentifier    ipsec                = security_mechanisms.branch("8");
046    /** IPSEC ISAKMP-Oakley OID:               1.3.6.1.5.5.8.1 */
047    static final ASN1ObjectIdentifier    isakmpOakley         = ipsec.branch("1");
048
049    /** IPSEC ISAKMP-Oakley hmacMD5 OID:       1.3.6.1.5.5.8.1.1 */
050    static final ASN1ObjectIdentifier    hmacMD5              = isakmpOakley.branch("1");
051    /** IPSEC ISAKMP-Oakley hmacSHA1 OID:      1.3.6.1.5.5.8.1.2 */
052    static final ASN1ObjectIdentifier    hmacSHA1             = isakmpOakley.branch("2");
053    
054    /** IPSEC ISAKMP-Oakley hmacTIGER OID:     1.3.6.1.5.5.8.1.3 */
055    static final ASN1ObjectIdentifier    hmacTIGER            = isakmpOakley.branch("3");
056    
057    /** IPSEC ISAKMP-Oakley hmacRIPEMD160 OID: 1.3.6.1.5.5.8.1.4 */
058    static final ASN1ObjectIdentifier    hmacRIPEMD160        = isakmpOakley.branch("4");
059
060}