1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-23 04:42:06 +01:00

mark RSA_ENCRYPT and RSA_SIGN as deprecated

This commit is contained in:
Paul Schaub 2020-12-11 18:15:54 +01:00
parent 5f289f4fe1
commit 799265f332
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -23,9 +23,19 @@ import org.bouncycastle.bcpg.PublicKeyAlgorithmTags;
public enum PublicKeyAlgorithm {
RSA_GENERAL (PublicKeyAlgorithmTags.RSA_GENERAL),
/**
* @deprecated see https://tools.ietf.org/html/rfc4880#section-13.5
*/
RSA_ENCRYPT (PublicKeyAlgorithmTags.RSA_ENCRYPT),
/**
* @deprecated see https://tools.ietf.org/html/rfc4880#section-13.5
*/
RSA_SIGN (PublicKeyAlgorithmTags.RSA_SIGN),
ELGAMAL_ENCRYPT (PublicKeyAlgorithmTags.ELGAMAL_ENCRYPT),
DSA (PublicKeyAlgorithmTags.DSA),
/**
* EC is deprecated.