Package sop.operation
Interface DetachInbandSignatureAndMessage
-
- All Known Implementing Classes:
DetachInbandSignatureAndMessageImpl
public interface DetachInbandSignatureAndMessage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReadyWithResult<Signatures>
message(byte[] message)
Detach the provided cleartext signed message from its signatures.ReadyWithResult<Signatures>
message(InputStream messageInputStream)
Detach the provided cleartext signed message from its signatures.DetachInbandSignatureAndMessage
noArmor()
Do not wrap the signatures in ASCII armor.
-
-
-
Method Detail
-
noArmor
DetachInbandSignatureAndMessage noArmor()
Do not wrap the signatures in ASCII armor.- Returns:
- builder
-
message
ReadyWithResult<Signatures> message(InputStream messageInputStream) throws IOException
Detach the provided cleartext signed message from its signatures.- Parameters:
messageInputStream
- input stream containing the signed message- Returns:
- result containing the detached message
- Throws:
IOException
- in case of an IO error
-
message
default ReadyWithResult<Signatures> message(byte[] message) throws IOException
Detach the provided cleartext signed message from its signatures.- Parameters:
message
- byte array containing the signed message- Returns:
- result containing the detached message
- Throws:
IOException
- in case of an IO error
-
-