01: package org.bouncycastle.asn1.nist;
02:
03: import org.bouncycastle.asn1.DERObjectIdentifier;
04:
05: public interface NISTObjectIdentifiers {
06: //
07: // NIST
08: // iso/itu(2) joint-assign(16) us(840) organization(1) gov(101) csor(3)
09:
10: //
11: // nistalgorithms(4)
12: //
13: static final String nistAlgorithm = "2.16.840.1.101.3.4";
14:
15: static final DERObjectIdentifier id_sha256 = new DERObjectIdentifier(
16: nistAlgorithm + ".2.1");
17: static final DERObjectIdentifier id_sha384 = new DERObjectIdentifier(
18: nistAlgorithm + ".2.2");
19: static final DERObjectIdentifier id_sha512 = new DERObjectIdentifier(
20: nistAlgorithm + ".2.3");
21: static final DERObjectIdentifier id_sha224 = new DERObjectIdentifier(
22: nistAlgorithm + ".2.4");
23:
24: static final String aes = nistAlgorithm + ".1";
25:
26: static final DERObjectIdentifier id_aes128_ECB = new DERObjectIdentifier(
27: aes + ".1");
28: static final DERObjectIdentifier id_aes128_CBC = new DERObjectIdentifier(
29: aes + ".2");
30: static final DERObjectIdentifier id_aes128_OFB = new DERObjectIdentifier(
31: aes + ".3");
32: static final DERObjectIdentifier id_aes128_CFB = new DERObjectIdentifier(
33: aes + ".4");
34: static final DERObjectIdentifier id_aes128_wrap = new DERObjectIdentifier(
35: aes + ".5");
36:
37: static final DERObjectIdentifier id_aes192_ECB = new DERObjectIdentifier(
38: aes + ".21");
39: static final DERObjectIdentifier id_aes192_CBC = new DERObjectIdentifier(
40: aes + ".22");
41: static final DERObjectIdentifier id_aes192_OFB = new DERObjectIdentifier(
42: aes + ".23");
43: static final DERObjectIdentifier id_aes192_CFB = new DERObjectIdentifier(
44: aes + ".24");
45: static final DERObjectIdentifier id_aes192_wrap = new DERObjectIdentifier(
46: aes + ".25");
47:
48: static final DERObjectIdentifier id_aes256_ECB = new DERObjectIdentifier(
49: aes + ".41");
50: static final DERObjectIdentifier id_aes256_CBC = new DERObjectIdentifier(
51: aes + ".42");
52: static final DERObjectIdentifier id_aes256_OFB = new DERObjectIdentifier(
53: aes + ".43");
54: static final DERObjectIdentifier id_aes256_CFB = new DERObjectIdentifier(
55: aes + ".44");
56: static final DERObjectIdentifier id_aes256_wrap = new DERObjectIdentifier(
57: aes + ".45");
58:
59: //
60: // signatures
61: //
62: static final DERObjectIdentifier id_dsa_with_sha2 = new DERObjectIdentifier(
63: nistAlgorithm + ".3");
64:
65: static final DERObjectIdentifier dsa_with_sha224 = new DERObjectIdentifier(
66: id_dsa_with_sha2 + ".1");
67: static final DERObjectIdentifier dsa_with_sha256 = new DERObjectIdentifier(
68: id_dsa_with_sha2 + ".2");
69: static final DERObjectIdentifier dsa_with_sha384 = new DERObjectIdentifier(
70: id_dsa_with_sha2 + ".3");
71: static final DERObjectIdentifier dsa_with_sha512 = new DERObjectIdentifier(
72: id_dsa_with_sha2 + ".4");
73: }
|