mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 22:02:05 +01:00
Deprecate ElGamal key type
This commit is contained in:
parent
7234b42144
commit
0805076392
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue