Class ElGamal_GENERAL
- java.lang.Object
-
- org.pgpainless.key.generation.type.ElGamal_GENERAL
-
- All Implemented Interfaces:
KeyType
- Direct Known Subclasses:
ElGamal_ENCRYPT
public class ElGamal_GENERAL extends java.lang.Object implements KeyType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyAlgorithmgetAlgorithm()java.security.spec.AlgorithmParameterSpecgetAlgorithmSpec()java.lang.StringgetName()static ElGamal_GENERALwithLength(ElGamalLength length)
-
-
-
Method Detail
-
withLength
public static ElGamal_GENERAL withLength(@Nonnull ElGamalLength length)
-
getAlgorithm
public PublicKeyAlgorithm getAlgorithm()
- Specified by:
getAlgorithmin interfaceKeyType
-
getAlgorithmSpec
public java.security.spec.AlgorithmParameterSpec getAlgorithmSpec()
- Specified by:
getAlgorithmSpecin interfaceKeyType
-
-