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:
parent
5f289f4fe1
commit
799265f332
1 changed files with 10 additions and 0 deletions
|
@ -23,9 +23,19 @@ import org.bouncycastle.bcpg.PublicKeyAlgorithmTags;
|
||||||
public enum PublicKeyAlgorithm {
|
public enum PublicKeyAlgorithm {
|
||||||
|
|
||||||
RSA_GENERAL (PublicKeyAlgorithmTags.RSA_GENERAL),
|
RSA_GENERAL (PublicKeyAlgorithmTags.RSA_GENERAL),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated see https://tools.ietf.org/html/rfc4880#section-13.5
|
||||||
|
*/
|
||||||
RSA_ENCRYPT (PublicKeyAlgorithmTags.RSA_ENCRYPT),
|
RSA_ENCRYPT (PublicKeyAlgorithmTags.RSA_ENCRYPT),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated see https://tools.ietf.org/html/rfc4880#section-13.5
|
||||||
|
*/
|
||||||
RSA_SIGN (PublicKeyAlgorithmTags.RSA_SIGN),
|
RSA_SIGN (PublicKeyAlgorithmTags.RSA_SIGN),
|
||||||
|
|
||||||
ELGAMAL_ENCRYPT (PublicKeyAlgorithmTags.ELGAMAL_ENCRYPT),
|
ELGAMAL_ENCRYPT (PublicKeyAlgorithmTags.ELGAMAL_ENCRYPT),
|
||||||
|
|
||||||
DSA (PublicKeyAlgorithmTags.DSA),
|
DSA (PublicKeyAlgorithmTags.DSA),
|
||||||
/**
|
/**
|
||||||
* EC is deprecated.
|
* EC is deprecated.
|
||||||
|
|
Loading…
Reference in a new issue