| Constructor and Description |
|---|
DefaultKeyResult(SecretKey key) |
DefaultKeyResult(SecretKey key,
byte[] encryptedKey) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertBytePayload(byte[] payload) |
SecretKey |
getKey() |
T |
getPayload() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPayloadpublic DefaultKeyResult(SecretKey key)
public DefaultKeyResult(SecretKey key, byte[] encryptedKey)
protected void assertBytePayload(byte[] payload)
public SecretKey getKey()
getKey in interface KeySupplier<SecretKey>public T getPayload()
getPayload in interface Message<T>Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.