Package sop.operation

Interface DetachInbandSignatureAndMessage


  • public interface DetachInbandSignatureAndMessage
    • Method Detail

      • message

        ReadyWithResult<Signatures> message​(java.io.InputStream messageInputStream)
                                     throws java.io.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:
        java.io.IOException - in case of an IO error
      • message

        default ReadyWithResult<Signatures> message​(byte[] message)
                                             throws java.io.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:
        java.io.IOException - in case of an IO error