| Package | Description |
|---|---|
| io.smallrye.jwt.build | |
| io.smallrye.jwt.build.impl |
| Modifier and Type | Method and Description |
|---|---|
String |
JwtEncryption.encrypt()
Encrypt the claims or inner JWT with a key loaded from the location set with the
"smallrye.jwt.encrypt.key.location" property or the key content set with the "smallrye.jwt.encrypt.key" property.
|
String |
JwtEncryption.encrypt(PublicKey keyEncryptionKey)
Encrypt the claims or inner JWT with
PublicKey. |
String |
JwtEncryption.encrypt(SecretKey keyEncryptionKey)
Encrypt the claims or inner JWT with
SecretKey. |
String |
JwtEncryption.encrypt(String keyLocation)
Encrypt the claims or inner JWT with a public or secret key loaded from the custom location
which can point to a PEM, JWK or JWK set keys.
|
String |
JwtEncryption.encryptWithSecret(String secret)
Encrypt the claims or inner JWT with a secret key string.
|
| Modifier and Type | Method and Description |
|---|---|
JwtEncryptionException |
ImplMessages_$bundle.directContentEncryptionUnsupported() |
JwtEncryptionException |
ImplMessages_$bundle.encryptionException(Throwable throwable) |
JwtEncryptionException |
ImplMessages_$bundle.joseSerializationError(String errorMessage,
Throwable t) |
JwtEncryptionException |
ImplMessages_$bundle.unsupportedContentEncryptionAlgorithm(String algorithmName) |
JwtEncryptionException |
ImplMessages_$bundle.unsupportedKeyEncryptionAlgorithm(String algorithmName) |
Copyright © 2018–2022. All rights reserved.