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
1919 /**
2020 * Deprecated tag for encrypt-only RSA.
2121 * MUST NOT be generated.
22+ * @deprecated use {@link #RSA_GENERAL} instead.
2223 */
2324 int RSA_ENCRYPT = 2 ; // RSA Encrypt-Only
2425 /**
2526 * Deprecated tag for sign-only RSA.
2627 * MUST NOT be generated.
28+ * @deprecated use {@link #RSA_GENERAL} instead.
2729 */
2830 int RSA_SIGN = 3 ; // RSA Sign-Only
2931 /**
@@ -51,6 +53,7 @@ public interface PublicKeyAlgorithmTags
5153 * Reserved tag for sign+encrypt ElGamal.
5254 * MUST NOT be generated.
5355 * An implementation MUST NOT generate ElGamal signatures.
56+ * @deprecated use {@link #ELGAMAL_ENCRYPT} instead.
5457 */
5558 int ELGAMAL_GENERAL = 20 ; // Reserved Elgamal (Encrypt or Sign)
5659 /**
You can’t perform that action at this time.
0 commit comments