File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
pg/src/main/java/org/bouncycastle/bcpg Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,13 @@ public interface PublicKeyAlgorithmTags
19
19
/**
20
20
* Deprecated tag for encrypt-only RSA.
21
21
* MUST NOT be generated.
22
+ * @deprecated use {@link #RSA_GENERAL} instead.
22
23
*/
23
24
int RSA_ENCRYPT = 2 ; // RSA Encrypt-Only
24
25
/**
25
26
* Deprecated tag for sign-only RSA.
26
27
* MUST NOT be generated.
28
+ * @deprecated use {@link #RSA_GENERAL} instead.
27
29
*/
28
30
int RSA_SIGN = 3 ; // RSA Sign-Only
29
31
/**
@@ -51,6 +53,7 @@ public interface PublicKeyAlgorithmTags
51
53
* Reserved tag for sign+encrypt ElGamal.
52
54
* MUST NOT be generated.
53
55
* An implementation MUST NOT generate ElGamal signatures.
56
+ * @deprecated use {@link #ELGAMAL_ENCRYPT} instead.
54
57
*/
55
58
int ELGAMAL_GENERAL = 20 ; // Reserved Elgamal (Encrypt or Sign)
56
59
/**
You can’t perform that action at this time.
0 commit comments