1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-10 14:35:59 +01:00

Deprecate ElGamal key type

This commit is contained in:
Paul Schaub 2023-05-16 16:16:42 +02:00
parent 7234b42144
commit 0805076392
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 6 additions and 0 deletions

View file

@ -13,7 +13,10 @@ import org.pgpainless.key.generation.type.KeyType;
/**
* ElGamal encryption only key type.
*
* @deprecated the use of ElGamal is not recommended anymore.
*/
@Deprecated
public final class ElGamal implements KeyType {
private final ElGamalLength length;

View file

@ -13,7 +13,10 @@ import org.pgpainless.key.generation.type.KeyLength;
*
* @see <a href="https://www.ietf.org/rfc/rfc3526.txt">
* RFC-3526: More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)</a>
*
* @deprecated the use of ElGamal keys is no longer recommended.
*/
@Deprecated
public enum ElGamalLength implements KeyLength {
/**