public class DefaultAeadRequest extends DefaultSecureRequest<InputStream,SecretKey> implements AeadRequest, IvSupplier
| Constructor and Description |
|---|
DefaultAeadRequest(InputStream payload,
Provider provider,
SecureRandom secureRandom,
SecretKey key,
InputStream aad) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertBytePayload(byte[] payload) |
InputStream |
getAssociatedData() |
byte[] |
getIv() |
T |
getPayload() |
getKeygetProvider, getSecureRandomclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProvider, getSecureRandomgetPayloadgetKeypublic DefaultAeadRequest(InputStream payload, Provider provider, SecureRandom secureRandom, SecretKey key, InputStream aad)
public InputStream getAssociatedData()
getAssociatedData in interface AssociatedDataSupplierpublic byte[] getIv()
getIv in interface IvSupplierprotected void assertBytePayload(byte[] payload)
public T getPayload()
getPayload in interface Message<T>Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.