17 lines
445 B
Java
17 lines
445 B
Java
package de.vanitasvitae.crypto.pgpainless.key.generation.type;
|
|
|
|
import de.vanitasvitae.crypto.pgpainless.algorithm.PublicKeyAlgorithm;
|
|
import de.vanitasvitae.crypto.pgpainless.key.generation.type.length.RsaLength;
|
|
|
|
public class RSA_ENCRYPT extends RSA_GENERAL {
|
|
|
|
RSA_ENCRYPT(RsaLength length) {
|
|
super(length);
|
|
}
|
|
|
|
@Override
|
|
public PublicKeyAlgorithm getAlgorithm() {
|
|
return PublicKeyAlgorithm.RSA_ENCRYPT;
|
|
}
|
|
}
|