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