1package org.bouncycastle.asn1.nist; 2 3import org.bouncycastle.asn1.ASN1ObjectIdentifier; 4 5/** 6 * 7 * NIST: 8 * iso/itu(2) joint-assign(16) us(840) organization(1) gov(101) csor(3) 9 */ 10public interface NISTObjectIdentifiers 11{ 12 // 13 // nistalgorithms(4) 14 // 15 /** 2.16.840.1.101.3.4 -- algorithms */ 16 static final ASN1ObjectIdentifier nistAlgorithm = new ASN1ObjectIdentifier("2.16.840.1.101.3.4"); 17 18 /** 2.16.840.1.101.3.4.2 */ 19 static final ASN1ObjectIdentifier hashAlgs = nistAlgorithm.branch("2"); 20 21 /** 2.16.840.1.101.3.4.2.1 */ 22 static final ASN1ObjectIdentifier id_sha256 = hashAlgs.branch("1"); 23 /** 2.16.840.1.101.3.4.2.2 */ 24 static final ASN1ObjectIdentifier id_sha384 = hashAlgs.branch("2"); 25 /** 2.16.840.1.101.3.4.2.3 */ 26 static final ASN1ObjectIdentifier id_sha512 = hashAlgs.branch("3"); 27 /** 2.16.840.1.101.3.4.2.4 */ 28 static final ASN1ObjectIdentifier id_sha224 = hashAlgs.branch("4"); 29 /** 2.16.840.1.101.3.4.2.5 */ 30 static final ASN1ObjectIdentifier id_sha512_224 = hashAlgs.branch("5"); 31 /** 2.16.840.1.101.3.4.2.6 */ 32 static final ASN1ObjectIdentifier id_sha512_256 = hashAlgs.branch("6"); 33 34 /** 2.16.840.1.101.3.4.1 */ 35 static final ASN1ObjectIdentifier aes = nistAlgorithm.branch("1"); 36 37 /** 2.16.840.1.101.3.4.1.1 */ 38 static final ASN1ObjectIdentifier id_aes128_ECB = aes.branch("1"); 39 /** 2.16.840.1.101.3.4.1.2 */ 40 static final ASN1ObjectIdentifier id_aes128_CBC = aes.branch("2"); 41 /** 2.16.840.1.101.3.4.1.3 */ 42 static final ASN1ObjectIdentifier id_aes128_OFB = aes.branch("3"); 43 /** 2.16.840.1.101.3.4.1.4 */ 44 static final ASN1ObjectIdentifier id_aes128_CFB = aes.branch("4"); 45 /** 2.16.840.1.101.3.4.1.5 */ 46 static final ASN1ObjectIdentifier id_aes128_wrap = aes.branch("5"); 47 /** 2.16.840.1.101.3.4.1.6 */ 48 static final ASN1ObjectIdentifier id_aes128_GCM = aes.branch("6"); 49 /** 2.16.840.1.101.3.4.1.7 */ 50 static final ASN1ObjectIdentifier id_aes128_CCM = aes.branch("7"); 51 52 /** 2.16.840.1.101.3.4.1.21 */ 53 static final ASN1ObjectIdentifier id_aes192_ECB = aes.branch("21"); 54 /** 2.16.840.1.101.3.4.1.22 */ 55 static final ASN1ObjectIdentifier id_aes192_CBC = aes.branch("22"); 56 /** 2.16.840.1.101.3.4.1.23 */ 57 static final ASN1ObjectIdentifier id_aes192_OFB = aes.branch("23"); 58 /** 2.16.840.1.101.3.4.1.24 */ 59 static final ASN1ObjectIdentifier id_aes192_CFB = aes.branch("24"); 60 /** 2.16.840.1.101.3.4.1.25 */ 61 static final ASN1ObjectIdentifier id_aes192_wrap = aes.branch("25"); 62 /** 2.16.840.1.101.3.4.1.26 */ 63 static final ASN1ObjectIdentifier id_aes192_GCM = aes.branch("26"); 64 /** 2.16.840.1.101.3.4.1.27 */ 65 static final ASN1ObjectIdentifier id_aes192_CCM = aes.branch("27"); 66 67 /** 2.16.840.1.101.3.4.1.41 */ 68 static final ASN1ObjectIdentifier id_aes256_ECB = aes.branch("41"); 69 /** 2.16.840.1.101.3.4.1.42 */ 70 static final ASN1ObjectIdentifier id_aes256_CBC = aes.branch("42"); 71 /** 2.16.840.1.101.3.4.1.43 */ 72 static final ASN1ObjectIdentifier id_aes256_OFB = aes.branch("43"); 73 /** 2.16.840.1.101.3.4.1.44 */ 74 static final ASN1ObjectIdentifier id_aes256_CFB = aes.branch("44"); 75 /** 2.16.840.1.101.3.4.1.45 */ 76 static final ASN1ObjectIdentifier id_aes256_wrap = aes.branch("45"); 77 /** 2.16.840.1.101.3.4.1.46 */ 78 static final ASN1ObjectIdentifier id_aes256_GCM = aes.branch("46"); 79 /** 2.16.840.1.101.3.4.1.47 */ 80 static final ASN1ObjectIdentifier id_aes256_CCM = aes.branch("47"); 81 82 // 83 // signatures 84 // 85 /** 2.16.840.1.101.3.4.3 */ 86 static final ASN1ObjectIdentifier id_dsa_with_sha2 = nistAlgorithm.branch("3"); 87 88 /** 2.16.840.1.101.3.4.3.1 */ 89 static final ASN1ObjectIdentifier dsa_with_sha224 = id_dsa_with_sha2.branch("1"); 90 /** 2.16.840.1.101.3.4.3.2 */ 91 static final ASN1ObjectIdentifier dsa_with_sha256 = id_dsa_with_sha2.branch("2"); 92 /** 2.16.840.1.101.3.4.3.3 */ 93 static final ASN1ObjectIdentifier dsa_with_sha384 = id_dsa_with_sha2.branch("3"); 94 /** 2.16.840.1.101.3.4.3.4 */ 95 static final ASN1ObjectIdentifier dsa_with_sha512 = id_dsa_with_sha2.branch("4"); 96} 97