001package org.apache.commons.ssl.org.bouncycastle.asn1.nist;
002
003import org.apache.commons.ssl.org.bouncycastle.asn1.ASN1ObjectIdentifier;
004
005/**
006 *
007 * NIST:
008 *     iso/itu(2) joint-assign(16) us(840) organization(1) gov(101) csor(3) 
009 */
010public interface NISTObjectIdentifiers
011{
012    //
013    // nistalgorithms(4)
014    //
015    /** 2.16.840.1.101.3.4 -- algorithms */
016    static final ASN1ObjectIdentifier    nistAlgorithm           = new ASN1ObjectIdentifier("2.16.840.1.101.3.4");
017
018    /** 2.16.840.1.101.3.4.2 */
019    static final ASN1ObjectIdentifier    hashAlgs                = nistAlgorithm.branch("2");
020
021    /** 2.16.840.1.101.3.4.2.1 */
022    static final ASN1ObjectIdentifier    id_sha256               = hashAlgs.branch("1");
023    /** 2.16.840.1.101.3.4.2.2 */
024    static final ASN1ObjectIdentifier    id_sha384               = hashAlgs.branch("2");
025    /** 2.16.840.1.101.3.4.2.3 */
026    static final ASN1ObjectIdentifier    id_sha512               = hashAlgs.branch("3");
027    /** 2.16.840.1.101.3.4.2.4 */
028    static final ASN1ObjectIdentifier    id_sha224               = hashAlgs.branch("4");
029    /** 2.16.840.1.101.3.4.2.5 */
030    static final ASN1ObjectIdentifier    id_sha512_224           = hashAlgs.branch("5");
031    /** 2.16.840.1.101.3.4.2.6 */
032    static final ASN1ObjectIdentifier    id_sha512_256           = hashAlgs.branch("6");
033
034    /** 2.16.840.1.101.3.4.1 */
035    static final ASN1ObjectIdentifier    aes                     = nistAlgorithm.branch("1");
036    
037    /** 2.16.840.1.101.3.4.1.1 */
038    static final ASN1ObjectIdentifier    id_aes128_ECB           = aes.branch("1"); 
039    /** 2.16.840.1.101.3.4.1.2 */
040    static final ASN1ObjectIdentifier    id_aes128_CBC           = aes.branch("2");
041    /** 2.16.840.1.101.3.4.1.3 */
042    static final ASN1ObjectIdentifier    id_aes128_OFB           = aes.branch("3"); 
043    /** 2.16.840.1.101.3.4.1.4 */
044    static final ASN1ObjectIdentifier    id_aes128_CFB           = aes.branch("4"); 
045    /** 2.16.840.1.101.3.4.1.5 */
046    static final ASN1ObjectIdentifier    id_aes128_wrap          = aes.branch("5");
047    /** 2.16.840.1.101.3.4.1.6 */
048    static final ASN1ObjectIdentifier    id_aes128_GCM           = aes.branch("6");
049    /** 2.16.840.1.101.3.4.1.7 */
050    static final ASN1ObjectIdentifier    id_aes128_CCM           = aes.branch("7");
051    
052    /** 2.16.840.1.101.3.4.1.21 */
053    static final ASN1ObjectIdentifier    id_aes192_ECB           = aes.branch("21"); 
054    /** 2.16.840.1.101.3.4.1.22 */
055    static final ASN1ObjectIdentifier    id_aes192_CBC           = aes.branch("22"); 
056    /** 2.16.840.1.101.3.4.1.23 */
057    static final ASN1ObjectIdentifier    id_aes192_OFB           = aes.branch("23"); 
058    /** 2.16.840.1.101.3.4.1.24 */
059    static final ASN1ObjectIdentifier    id_aes192_CFB           = aes.branch("24"); 
060    /** 2.16.840.1.101.3.4.1.25 */
061    static final ASN1ObjectIdentifier    id_aes192_wrap          = aes.branch("25");
062    /** 2.16.840.1.101.3.4.1.26 */
063    static final ASN1ObjectIdentifier    id_aes192_GCM           = aes.branch("26");
064    /** 2.16.840.1.101.3.4.1.27 */
065    static final ASN1ObjectIdentifier    id_aes192_CCM           = aes.branch("27");
066    
067    /** 2.16.840.1.101.3.4.1.41 */
068    static final ASN1ObjectIdentifier    id_aes256_ECB           = aes.branch("41"); 
069    /** 2.16.840.1.101.3.4.1.42 */
070    static final ASN1ObjectIdentifier    id_aes256_CBC           = aes.branch("42");
071    /** 2.16.840.1.101.3.4.1.43 */
072    static final ASN1ObjectIdentifier    id_aes256_OFB           = aes.branch("43"); 
073    /** 2.16.840.1.101.3.4.1.44 */
074    static final ASN1ObjectIdentifier    id_aes256_CFB           = aes.branch("44"); 
075    /** 2.16.840.1.101.3.4.1.45 */
076    static final ASN1ObjectIdentifier    id_aes256_wrap          = aes.branch("45"); 
077    /** 2.16.840.1.101.3.4.1.46 */
078    static final ASN1ObjectIdentifier    id_aes256_GCM           = aes.branch("46");
079    /** 2.16.840.1.101.3.4.1.47 */
080    static final ASN1ObjectIdentifier    id_aes256_CCM           = aes.branch("47");
081
082    //
083    // signatures
084    //
085    /** 2.16.840.1.101.3.4.3 */
086    static final ASN1ObjectIdentifier    id_dsa_with_sha2        = nistAlgorithm.branch("3");
087
088    /** 2.16.840.1.101.3.4.3.1 */
089    static final ASN1ObjectIdentifier    dsa_with_sha224         = id_dsa_with_sha2.branch("1");
090    /** 2.16.840.1.101.3.4.3.2 */
091    static final ASN1ObjectIdentifier    dsa_with_sha256         = id_dsa_with_sha2.branch("2");
092    /** 2.16.840.1.101.3.4.3.3 */
093    static final ASN1ObjectIdentifier    dsa_with_sha384         = id_dsa_with_sha2.branch("3");
094    /** 2.16.840.1.101.3.4.3.4 */
095    static final ASN1ObjectIdentifier    dsa_with_sha512         = id_dsa_with_sha2.branch("4");
096}