| Package | Description |
|---|---|
| io.smallrye.jwt.build | |
| io.smallrye.jwt.build.impl |
| Modifier and Type | Method and Description |
|---|---|
JwtEncryptionBuilder |
JwtSignature.innerSign()
Sign the claims with a key loaded from the location set with the "smallrye.jwt.sign.key.location"
property or the key content set with the "smallrye.jwt.sign.key" property and encrypt the inner JWT
by moving to
JwtEncryptionBuilder. |
JwtEncryptionBuilder |
JwtSignature.innerSign(PrivateKey signingKey)
Sign the claims with
PrivateKey and encrypt the inner JWT by moving to JwtEncryptionBuilder. |
JwtEncryptionBuilder |
JwtSignature.innerSign(SecretKey signingKey)
Sign the claims with
SecretKey and encrypt the inner JWT by moving to JwtEncryptionBuilder. |
JwtEncryptionBuilder |
JwtSignature.innerSign(String keyLocation)
Sign the claims with a private or secret key loaded from the custom location
which can point to a PEM, JWK or JWK set keys and encrypt the inner JWT by moving to
JwtEncryptionBuilder. |
JwtEncryptionBuilder |
JwtSignature.innerSignWithSecret(String secret)
Sign the claims with a secret key string and encrypt the inner JWT by moving to
JwtEncryptionBuilder. |
String |
JwtSignature.sign()
Sign the claims with a key loaded from the location set with the "smallrye.jwt.sign.key.location" property
or the key content set with the "smallrye.jwt.sign.key" property.
|
String |
JwtSignature.sign(PrivateKey signingKey)
Sign the claims with
PrivateKey. |
String |
JwtSignature.sign(SecretKey signingKey)
Sign the claims with
SecretKey
'HS256' algorithm will be used unless a different algorithm has been set with JwtSignatureBuilder or
'smallrye.jwt.new-token.signature-algorithm' property. |
String |
JwtSignature.sign(String keyLocation)
Sign the claims with a private or secret key loaded from the custom location
which can point to a PEM, JWK or JWK set keys.
|
String |
JwtSignature.signWithSecret(String secret)
Sign the claims with a secret key string.
|
| Modifier and Type | Method and Description |
|---|---|
JwtSignatureException |
ImplMessages_$bundle.noneSignatureAlgorithmUnsupported() |
JwtSignatureException |
ImplMessages_$bundle.signatureException(Throwable throwable) |
JwtSignatureException |
ImplMessages_$bundle.signJwtTokenFailed(String exceptionMessage,
Throwable throwable) |
JwtSignatureException |
ImplMessages_$bundle.signKeyPropertyRequired(String algorithmName) |
JwtSignatureException |
ImplMessages_$bundle.unsupportedSignatureAlgorithm(String algorithmName) |
JwtSignatureException |
ImplMessages_$bundle.unsupportedSignatureAlgorithm(String algorithmName,
Throwable throwable) |
Copyright © 2018–2022. All rights reserved.