Home | History | Annotate | Download | only in bc
      1 package org.bouncycastle.asn1.bc;
      2 
      3 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
      4 
      5 /**
      6  *  iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle
      7  * <p>
      8  *  1.3.6.1.4.1.22554
      9  */
     10 public interface BCObjectIdentifiers
     11 {
     12     /**
     13      *  iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle
     14      *<p>
     15      *  1.3.6.1.4.1.22554
     16      */
     17     public static final ASN1ObjectIdentifier bc = new ASN1ObjectIdentifier("1.3.6.1.4.1.22554");
     18 
     19     /**
     20      * pbe(1) algorithms
     21      * <p>
     22      * 1.3.6.1.4.1.22554.1
     23      */
     24     public static final ASN1ObjectIdentifier bc_pbe        = bc.branch("1");
     25 
     26     /**
     27      * SHA-1(1)
     28      * <p>
     29      * 1.3.6.1.4.1.22554.1.1
     30      */
     31     public static final ASN1ObjectIdentifier bc_pbe_sha1   = bc_pbe.branch("1");
     32 
     33     /** SHA-2.SHA-256; 1.3.6.1.4.1.22554.1.2.1 */
     34     public static final ASN1ObjectIdentifier bc_pbe_sha256 = bc_pbe.branch("2.1");
     35     /** SHA-2.SHA-384; 1.3.6.1.4.1.22554.1.2.2 */
     36     public static final ASN1ObjectIdentifier bc_pbe_sha384 = bc_pbe.branch("2.2");
     37     /** SHA-2.SHA-512; 1.3.6.1.4.1.22554.1.2.3 */
     38     public static final ASN1ObjectIdentifier bc_pbe_sha512 = bc_pbe.branch("2.3");
     39     /** SHA-2.SHA-224; 1.3.6.1.4.1.22554.1.2.4 */
     40     public static final ASN1ObjectIdentifier bc_pbe_sha224 = bc_pbe.branch("2.4");
     41 
     42     /**
     43      * PKCS-5(1)|PKCS-12(2)
     44      */
     45     /** SHA-1.PKCS5;  1.3.6.1.4.1.22554.1.1.1 */
     46     public static final ASN1ObjectIdentifier bc_pbe_sha1_pkcs5    = bc_pbe_sha1.branch("1");
     47     /** SHA-1.PKCS12; 1.3.6.1.4.1.22554.1.1.2 */
     48     public static final ASN1ObjectIdentifier bc_pbe_sha1_pkcs12   = bc_pbe_sha1.branch("2");
     49 
     50     /** SHA-256.PKCS12; 1.3.6.1.4.1.22554.1.2.1.1 */
     51     public static final ASN1ObjectIdentifier bc_pbe_sha256_pkcs5  = bc_pbe_sha256.branch("1");
     52     /** SHA-256.PKCS12; 1.3.6.1.4.1.22554.1.2.1.2 */
     53     public static final ASN1ObjectIdentifier bc_pbe_sha256_pkcs12 = bc_pbe_sha256.branch("2");
     54 
     55     /**
     56      * AES(1) . (CBC-128(2)|CBC-192(22)|CBC-256(42))
     57      */
     58     /** 1.3.6.1.4.1.22554.1.1.2.1.2 */
     59     public static final ASN1ObjectIdentifier bc_pbe_sha1_pkcs12_aes128_cbc   = bc_pbe_sha1_pkcs12.branch("1.2");
     60     /** 1.3.6.1.4.1.22554.1.1.2.1.22 */
     61     public static final ASN1ObjectIdentifier bc_pbe_sha1_pkcs12_aes192_cbc   = bc_pbe_sha1_pkcs12.branch("1.22");
     62     /** 1.3.6.1.4.1.22554.1.1.2.1.42 */
     63     public static final ASN1ObjectIdentifier bc_pbe_sha1_pkcs12_aes256_cbc   = bc_pbe_sha1_pkcs12.branch("1.42");
     64 
     65     /** 1.3.6.1.4.1.22554.1.1.2.2.2 */
     66     public static final ASN1ObjectIdentifier bc_pbe_sha256_pkcs12_aes128_cbc = bc_pbe_sha256_pkcs12.branch("1.2");
     67     /** 1.3.6.1.4.1.22554.1.1.2.2.22 */
     68     public static final ASN1ObjectIdentifier bc_pbe_sha256_pkcs12_aes192_cbc = bc_pbe_sha256_pkcs12.branch("1.22");
     69     /** 1.3.6.1.4.1.22554.1.1.2.2.42 */
     70     public static final ASN1ObjectIdentifier bc_pbe_sha256_pkcs12_aes256_cbc = bc_pbe_sha256_pkcs12.branch("1.42");
     71 }
     72