Uses of Enum Class
com.revetsec.jose.JwsAlgorithm
Packages that use JwsAlgorithm
Package
Description
JSON Object Signing and Encryption: JWS signature verification and bounded RSA signing, JSON Web Keys and key sets, and JWT claims
validation (RFC 7515, RFC 7517, RFC 7519).
OAuth 2.0 client flows and pure bearer presentation, challenge and protected-resource metadata helpers
(RFC 6749, RFC 7636, RFC 6750, RFC 9728).
OpenID Connect relying party support, composed on the OAuth 2.0 client pipeline (OpenID Connect Core 1.0).
-
Uses of JwsAlgorithm in com.revetsec.jose
Subclasses with type arguments of type JwsAlgorithm in com.revetsec.joseModifier and TypeClassDescriptionenumA JWS signature algorithm, named by itsalgheader value (RFC 7515 section 4.1.1, RFC 7518 section 3.1, RFC 8037 section 3.1 and RFC 9864).Methods in com.revetsec.jose that return JwsAlgorithmModifier and TypeMethodDescriptionJwsSigner.getAlgorithm()Returns the one selected signing algorithm.Jwt.getAlgorithm()Returns the algorithm the token was signed with (alg).static JwsAlgorithmReturns the enum constant of this class with the specified name.static JwsAlgorithm[]JwsAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.revetsec.jose that return types with arguments of type JwsAlgorithmModifier and TypeMethodDescriptionstatic @NonNull Optional<@NonNull JwsAlgorithm> JwsAlgorithm.findByWireValue(@NonNull String wireValue) Returns the algorithm named by analgvalue, compared exactly and case-sensitively.Jwk.getAlgorithm()Returns the algorithm the key is restricted to (alg, RFC 7517 section 4.4).PublishedJwk.getAlgorithm()Returns the optional JWKalgvalue.Methods in com.revetsec.jose with parameters of type JwsAlgorithmModifier and TypeMethodDescriptionPublishedJwk.Builder.algorithm(@Nullable JwsAlgorithm algorithm) Replaces the optional algorithm restriction.default voidJoseObserver.didValidateJwt(@NonNull JwsAlgorithm algorithm, @NonNull Duration elapsed) Called whenJwtValidator.validateResult(String)accepted a token.JwsSigner.fromEcKeyPair(@NonNull PrivateKey privateKey, @NonNull PublicKey publicKey, @NonNull JwsAlgorithm algorithm) Returns a signer after bounded structural checks of an EC public point and its complete domain parameters.JwsSigner.fromRsaKeyPair(@NonNull PrivateKey privateKey, @NonNull PublicKey publicKey, @NonNull JwsAlgorithm algorithm) Returns a signer after bounded structural checks of its algorithm and inspectable RSA public projection.Method parameters in com.revetsec.jose with type arguments of type JwsAlgorithmModifier and TypeMethodDescriptionJwtValidator.Builder.allowedAlgorithms(@Nullable Set<@NonNull JwsAlgorithm> allowedAlgorithms) Sets the algorithms a token may use, compared exactly with itsalg. -
Uses of JwsAlgorithm in com.revetsec.oauth
Method parameters in com.revetsec.oauth with type arguments of type JwsAlgorithmModifier and TypeMethodDescriptionJwtAccessTokenValidator.Builder.allowedAlgorithms(@Nullable Set<@NonNull JwsAlgorithm> value) Sets public-key algorithm set. -
Uses of JwsAlgorithm in com.revetsec.oidc
Methods in com.revetsec.oidc with parameters of type JwsAlgorithmModifier and TypeMethodDescriptionOidcClient.Builder.userInfoSignedResponseAlgorithm(@Nullable JwsAlgorithm value) Sets the exact registered signed-UserInfo algorithm.Method parameters in com.revetsec.oidc with type arguments of type JwsAlgorithmModifier and TypeMethodDescriptionOidcClient.Builder.idTokenSigningAlgorithms(@Nullable Set<@NonNull JwsAlgorithm> value) Sets the complete ID-token algorithm allowlist; default RS256.