Package org.pgpainless.sop
Class DetachedSignImpl
- java.lang.Object
-
- org.pgpainless.sop.DetachedSignImpl
-
- All Implemented Interfaces:
sop.operation.AbstractSign<sop.operation.DetachedSign>
,sop.operation.DetachedSign
public class DetachedSignImpl extends java.lang.Object implements sop.operation.DetachedSign
-
-
Constructor Summary
Constructors Constructor Description DetachedSignImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sop.ReadyWithResult<sop.SigningResult>
data(java.io.InputStream data)
sop.operation.DetachedSign
key(java.io.InputStream keyIn)
sop.operation.DetachedSign
mode(sop.enums.SignAs mode)
sop.operation.DetachedSign
noArmor()
sop.operation.DetachedSign
withKeyPassword(byte[] password)
-
-
-
Method Detail
-
noArmor
public sop.operation.DetachedSign noArmor()
- Specified by:
noArmor
in interfacesop.operation.AbstractSign<sop.operation.DetachedSign>
-
mode
public sop.operation.DetachedSign mode(sop.enums.SignAs mode)
- Specified by:
mode
in interfacesop.operation.DetachedSign
-
key
public sop.operation.DetachedSign key(java.io.InputStream keyIn) throws sop.exception.SOPGPException.KeyCannotSign, sop.exception.SOPGPException.BadData, java.io.IOException
- Specified by:
key
in interfacesop.operation.AbstractSign<sop.operation.DetachedSign>
- Throws:
sop.exception.SOPGPException.KeyCannotSign
sop.exception.SOPGPException.BadData
java.io.IOException
-
withKeyPassword
public sop.operation.DetachedSign withKeyPassword(byte[] password)
- Specified by:
withKeyPassword
in interfacesop.operation.AbstractSign<sop.operation.DetachedSign>
-
data
public sop.ReadyWithResult<sop.SigningResult> data(java.io.InputStream data) throws java.io.IOException
- Specified by:
data
in interfacesop.operation.DetachedSign
- Throws:
java.io.IOException
-
-