Uses of Enum Class
uk.co.spudsoft.jwtvalidatorvertx.JsonWebAlgorithm
Packages that use JsonWebAlgorithm
Package
Description
-
Uses of JsonWebAlgorithm in uk.co.spudsoft.jwtvalidatorvertx
Methods in uk.co.spudsoft.jwtvalidatorvertx that return JsonWebAlgorithmModifier and TypeMethodDescriptionAlgorithmAndKeyPair.getAlgorithm()
Get the algorithm to use with this key.Jwt.getJsonWebAlgorithm()
Get the algorithm specified in the JWT header as aJsonWebAlgorithm
.static JsonWebAlgorithm
Returns the enum constant of this class with the specified name.static JsonWebAlgorithm[]
JsonWebAlgorithm.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in uk.co.spudsoft.jwtvalidatorvertx with parameters of type JsonWebAlgorithmModifier and TypeMethodDescriptionTokenBuilder.buildToken
(JsonWebAlgorithm jwa, String kid, String iss, String sub, List<String> aud, Long nbf, Long exp, Map<String, Object> otherClaims) Construct a JWT.Constructors in uk.co.spudsoft.jwtvalidatorvertx with parameters of type JsonWebAlgorithmModifierConstructorDescriptionAlgorithmAndKeyPair
(JsonWebAlgorithm algorithm, KeyPair keyPair) Constructor. -
Uses of JsonWebAlgorithm in uk.co.spudsoft.jwtvalidatorvertx.impl
Methods in uk.co.spudsoft.jwtvalidatorvertx.impl with parameters of type JsonWebAlgorithmModifier and TypeMethodDescriptionAbstractTokenBuilder.buildToken
(JsonWebAlgorithm jwa, String kid, String iss, String sub, List<String> aud, Long nbf, Long exp, Map<String, Object> otherClaims) protected io.vertx.core.json.JsonObject
AbstractTokenBuilder.generateHeaderNode
(String kid, JsonWebAlgorithm algorithm) Helper method to generate the token header node.protected abstract byte[]
AbstractTokenBuilder.generateSignature
(String kid, JsonWebAlgorithm algorithm, String headerBase64, String claimsBase64) Sign the token header and claims using the specified key. -
Uses of JsonWebAlgorithm in uk.co.spudsoft.jwtvalidatorvertx.jdk
Methods in uk.co.spudsoft.jwtvalidatorvertx.jdk with parameters of type JsonWebAlgorithmModifier and TypeMethodDescriptionprotected byte[]
JdkTokenBuilder.generateSignature
(String kid, JsonWebAlgorithm algorithm, String headerBase64, String claimsBase64) static byte[]
JdkTokenBuilder.generateSignature
(PrivateKey privateKey, JsonWebAlgorithm algorithm, String signingInput) Generate a signature using the JDK security classes.