01: package org.bouncycastle.bcpg;
02:
03: /**
04: * Public Key Algorithm tag numbers
05: */
06: public interface PublicKeyAlgorithmTags {
07: public static final int RSA_GENERAL = 1; // RSA (Encrypt or Sign)
08: public static final int RSA_ENCRYPT = 2; // RSA Encrypt-Only
09: public static final int RSA_SIGN = 3; // RSA Sign-Only
10: public static final int ELGAMAL_ENCRYPT = 16; // Elgamal (Encrypt-Only), see [ELGAMAL]
11: public static final int DSA = 17; // DSA (Digital Signature Standard)
12: public static final int EC = 18; // Reserved for Elliptic Curve
13: public static final int ECDSA = 19; // Reserved for ECDSA
14: public static final int ELGAMAL_GENERAL = 20; // Elgamal (Encrypt or Sign)
15: public static final int DIFFIE_HELLMAN = 21; // Reserved for Diffie-Hellman (X9.42, as defined for IETF-S/MIME)
16:
17: public static final int EXPERIMENTAL_1 = 100;
18: public static final int EXPERIMENTAL_2 = 101;
19: public static final int EXPERIMENTAL_3 = 102;
20: public static final int EXPERIMENTAL_4 = 103;
21: public static final int EXPERIMENTAL_5 = 104;
22: public static final int EXPERIMENTAL_6 = 105;
23: public static final int EXPERIMENTAL_7 = 106;
24: public static final int EXPERIMENTAL_8 = 107;
25: public static final int EXPERIMENTAL_9 = 108;
26: public static final int EXPERIMENTAL_10 = 109;
27: public static final int EXPERIMENTAL_11 = 110;
28: }
|