public interface MessageEncryptor
| Modifier and Type | Method and Description |
|---|---|
void |
init(boolean forEncrypting,
CipherParameters param) |
byte[] |
messageDecrypt(byte[] cipher) |
byte[] |
messageEncrypt(byte[] message) |
void init(boolean forEncrypting,
CipherParameters param)
forEncrypting - true if we are encrypting a signature, false
otherwise.param - key parameters for encryption or decryption.byte[] messageEncrypt(byte[] message)
throws Exception
message - the message to be signed.ExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.