2018-06-02 21:21:35 +02:00
|
|
|
package de.vanitasvitae.crypto.pgpainless.key.generation.type;
|
|
|
|
|
2018-06-04 14:50:09 +02:00
|
|
|
import de.vanitasvitae.crypto.pgpainless.algorithm.PublicKeyAlgorithm;
|
|
|
|
import de.vanitasvitae.crypto.pgpainless.key.generation.type.length.ElGamalLength;
|
2018-06-02 21:21:35 +02:00
|
|
|
|
2018-06-04 14:50:09 +02:00
|
|
|
public class ElGamal_ENCRYPT extends ElGamal_GENERAL {
|
2018-06-02 21:21:35 +02:00
|
|
|
|
2018-06-04 14:50:09 +02:00
|
|
|
ElGamal_ENCRYPT(ElGamalLength length) {
|
|
|
|
super(length);
|
2018-06-02 21:21:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public PublicKeyAlgorithm getAlgorithm() {
|
|
|
|
return PublicKeyAlgorithm.ELGAMAL_ENCRYPT;
|
|
|
|
}
|
|
|
|
}
|