public interface MessageCryptoHandler extends CryptoHandler
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEncryptionContext()
Return the encryption context used in the generation of the data key used for the encryption of
content.
|
CiphertextHeaders |
getHeaders() |
List<? extends MasterKey<?>> |
getMasterKeys()
All used
MasterKeys. |
void |
setMaxInputLength(long size)
Informs this handler of an upper bound on the input data size.
|
doFinal, estimateFinalOutputSize, estimateOutputSize, estimatePartialOutputSize, isComplete, processBytesvoid setMaxInputLength(long size)
If this method is called multiple times, the smallest bound will be used.
size - An upper bound on the input data size.Map<String,String> getEncryptionContext()
During decryption, this value should be obtained by parsing the ciphertext headers that encodes this value.
CiphertextHeaders getHeaders()
Copyright © 2023. All rights reserved.