Package sop.external.operation
Class GenerateKeyExternal
- java.lang.Object
-
- sop.external.operation.GenerateKeyExternal
-
- All Implemented Interfaces:
sop.operation.GenerateKey
public class GenerateKeyExternal extends java.lang.Object implements sop.operation.GenerateKeyImplementation of theGenerateKeyoperation using an external SOP binary.
-
-
Constructor Summary
Constructors Constructor Description GenerateKeyExternal(java.lang.String binary, java.util.Properties environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.Readygenerate()sop.operation.GenerateKeynoArmor()sop.operation.GenerateKeyprofile(java.lang.String profile)sop.operation.GenerateKeyuserId(java.lang.String userId)sop.operation.GenerateKeywithKeyPassword(java.lang.String password)
-
-
-
Method Detail
-
noArmor
public sop.operation.GenerateKey noArmor()
- Specified by:
noArmorin interfacesop.operation.GenerateKey
-
userId
public sop.operation.GenerateKey userId(java.lang.String userId)
- Specified by:
userIdin interfacesop.operation.GenerateKey
-
withKeyPassword
public sop.operation.GenerateKey withKeyPassword(java.lang.String password) throws sop.exception.SOPGPException.PasswordNotHumanReadable, sop.exception.SOPGPException.UnsupportedOption- Specified by:
withKeyPasswordin interfacesop.operation.GenerateKey- Throws:
sop.exception.SOPGPException.PasswordNotHumanReadablesop.exception.SOPGPException.UnsupportedOption
-
profile
public sop.operation.GenerateKey profile(java.lang.String profile)
- Specified by:
profilein interfacesop.operation.GenerateKey
-
generate
public sop.Ready generate() throws sop.exception.SOPGPException.MissingArg, sop.exception.SOPGPException.UnsupportedAsymmetricAlgo- Specified by:
generatein interfacesop.operation.GenerateKey- Throws:
sop.exception.SOPGPException.MissingArgsop.exception.SOPGPException.UnsupportedAsymmetricAlgo
-
-