public interface AeadResult
output stream
and resulting AAD tag
and initialization vector
.
The AAD tag and initialization vector must be supplied with the ciphertext to decrypt.Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
Returns the
OutputStream the AeadAlgorithm will use to write the resulting ciphertext during
encryption or plaintext during decryption. |
AeadResult |
setIv(byte[] iv)
Sets the initialization vector used during encryption.
|
AeadResult |
setTag(byte[] tag)
Sets the AEAD authentication tag.
|
OutputStream getOutputStream()
OutputStream
the AeadAlgorithm will use to write the resulting ciphertext during
encryption or plaintext during decryption.OutputStream
the AeadAlgorithm will use to write the resulting ciphertext during
encryption or plaintext during decryption.AeadResult setTag(byte[] tag)
tag
- the AEAD authentication tag.AeadResult setIv(byte[] iv)
iv
- the initialization vector used during encryption.Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.