Home | History | Annotate | Download | only in bc
      1 package org.bouncycastle.asn1.bc;
      2 
      3 import org.bouncycastle.asn1.DERObjectIdentifier;
      4 
      5 public interface BCObjectIdentifiers
      6 {
      7     /**
      8      *  iso.org.dod.internet.private.enterprise.legion-of-the-bouncy-castle
      9      *
     10      *  1.3.6.1.4.1.22554
     11      */
     12     public static final DERObjectIdentifier bc = new DERObjectIdentifier("1.3.6.1.4.1.22554");
     13 
     14     /**
     15      * pbe(1) algorithms
     16      */
     17     public static final DERObjectIdentifier bc_pbe = new DERObjectIdentifier(bc.getId() + ".1");
     18 
     19     /**
     20      * SHA-1(1)
     21      */
     22     public static final DERObjectIdentifier bc_pbe_sha1 = new DERObjectIdentifier(bc_pbe.getId() + ".1");
     23 
     24     /**
     25      * SHA-2(2) . (SHA-256(1)|SHA-384(2)|SHA-512(3)|SHA-224(4))
     26      */
     27     public static final DERObjectIdentifier bc_pbe_sha256 = new DERObjectIdentifier(bc_pbe.getId() + ".2.1");
     28     public static final DERObjectIdentifier bc_pbe_sha384 = new DERObjectIdentifier(bc_pbe.getId() + ".2.2");
     29     public static final DERObjectIdentifier bc_pbe_sha512 = new DERObjectIdentifier(bc_pbe.getId() + ".2.3");
     30     public static final DERObjectIdentifier bc_pbe_sha224 = new DERObjectIdentifier(bc_pbe.getId() + ".2.4");
     31 
     32     /**
     33      * PKCS-5(1)|PKCS-12(2)
     34      */
     35     public static final DERObjectIdentifier bc_pbe_sha1_pkcs5 = new DERObjectIdentifier(bc_pbe_sha1.getId() + ".1");
     36     public static final DERObjectIdentifier bc_pbe_sha1_pkcs12 = new DERObjectIdentifier(bc_pbe_sha1.getId() + ".2");
     37 
     38     public static final DERObjectIdentifier bc_pbe_sha256_pkcs5 = new DERObjectIdentifier(bc_pbe_sha256.getId() + ".1");
     39     public static final DERObjectIdentifier bc_pbe_sha256_pkcs12 = new DERObjectIdentifier(bc_pbe_sha256.getId() + ".2");
     40 
     41     /**
     42      * AES(1) . (CBC-128(2)|CBC-192(22)|CBC-256(42))
     43      */
     44     public static final DERObjectIdentifier bc_pbe_sha1_pkcs12_aes128_cbc = new DERObjectIdentifier(bc_pbe_sha1_pkcs12.getId() + ".1.2");
     45     public static final DERObjectIdentifier bc_pbe_sha1_pkcs12_aes192_cbc = new DERObjectIdentifier(bc_pbe_sha1_pkcs12.getId() + ".1.22");
     46     public static final DERObjectIdentifier bc_pbe_sha1_pkcs12_aes256_cbc = new DERObjectIdentifier(bc_pbe_sha1_pkcs12.getId() + ".1.42");
     47 
     48     public static final DERObjectIdentifier bc_pbe_sha256_pkcs12_aes128_cbc = new DERObjectIdentifier(bc_pbe_sha256_pkcs12.getId() + ".1.2");
     49     public static final DERObjectIdentifier bc_pbe_sha256_pkcs12_aes192_cbc = new DERObjectIdentifier(bc_pbe_sha256_pkcs12.getId() + ".1.22");
     50     public static final DERObjectIdentifier bc_pbe_sha256_pkcs12_aes256_cbc = new DERObjectIdentifier(bc_pbe_sha256_pkcs12.getId() + ".1.42");
     51 }
     52