public interface MessageSigner
| Modifier and Type | Method and Description |
|---|---|
boolean |
signMessage(InputStream privateKeyOfSender,
String userIdForPrivateKey,
String passwordOfPrivateKey,
InputStream message,
OutputStream signature)
signs the given message to enable the receiver to verify the data authenticity
|
boolean |
verifyMessage(InputStream publicKeyOfSender,
InputStream message,
InputStream signatureStream)
verifies the message with the (detached) signature
|
boolean verifyMessage(InputStream publicKeyOfSender, InputStream message, InputStream signatureStream)
publicKeyOfSender - the public key of the sender of the messagemessage - the message / data to verifysignatureStream - the (detached) signatureboolean signMessage(InputStream privateKeyOfSender, String userIdForPrivateKey, String passwordOfPrivateKey, InputStream message, OutputStream signature)
privateKeyOfSender - the private key of the senderuserIdForPrivateKey - the user id of the senderpasswordOfPrivateKey - the password for the private keymessage - the message / data to verifysignature - the (detached) signatureCopyright © 2015. All rights reserved.