mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 20:32:05 +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 {
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue