Package org.pgpainless.sop
Class GenerateKeyImpl
- java.lang.Object
-
- org.pgpainless.sop.GenerateKeyImpl
-
- All Implemented Interfaces:
sop.operation.GenerateKey
public class GenerateKeyImpl extends Object implements sop.operation.GenerateKey
-
-
Constructor Summary
Constructors Constructor Description GenerateKeyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.Ready
generate()
sop.operation.GenerateKey
noArmor()
sop.operation.GenerateKey
userId(String userId)
sop.operation.GenerateKey
withKeyPassword(String password)
-
-
-
Method Detail
-
noArmor
public sop.operation.GenerateKey noArmor()
- Specified by:
noArmor
in interfacesop.operation.GenerateKey
-
userId
public sop.operation.GenerateKey userId(String userId)
- Specified by:
userId
in interfacesop.operation.GenerateKey
-
withKeyPassword
public sop.operation.GenerateKey withKeyPassword(String password)
- Specified by:
withKeyPassword
in interfacesop.operation.GenerateKey
-
generate
public sop.Ready generate() throws sop.exception.SOPGPException.MissingArg, sop.exception.SOPGPException.UnsupportedAsymmetricAlgo
- Specified by:
generate
in interfacesop.operation.GenerateKey
- Throws:
sop.exception.SOPGPException.MissingArg
sop.exception.SOPGPException.UnsupportedAsymmetricAlgo
-
-