Uses of Enum Class
cloud.opencode.base.crypto.jwt.JwtAlgorithm
Packages that use JwtAlgorithm
-
Uses of JwtAlgorithm in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto with parameters of type JwtAlgorithmModifier and TypeMethodDescriptionstatic StringOpenJwt.sign(JwtClaims claims, String secret, JwtAlgorithm algorithm) Creates a JWT with specified HMAC algorithm.static StringOpenJwt.signEc(JwtClaims claims, PrivateKey privateKey, JwtAlgorithm algorithm) Creates a JWT with specified ECDSA algorithm.static StringOpenJwt.signRsa(JwtClaims claims, PrivateKey privateKey, JwtAlgorithm algorithm) Creates a JWT with specified RSA algorithm. -
Uses of JwtAlgorithm in cloud.opencode.base.crypto.jwt
Subclasses with type arguments of type JwtAlgorithm in cloud.opencode.base.crypto.jwtModifier and TypeClassDescriptionenumJWT Algorithm - Supported algorithms for JWT signing JWT 算法 - 支持的 JWT 签名算法Methods in cloud.opencode.base.crypto.jwt that return JwtAlgorithmModifier and TypeMethodDescriptionJwtUtil.JwtParts.algorithm()Returns the value of thealgorithmrecord component.static JwtAlgorithmParses algorithm from string name.static JwtAlgorithmReturns the enum constant of this class with the specified name.static JwtAlgorithm[]JwtAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.crypto.jwt with parameters of type JwtAlgorithmModifier and TypeMethodDescriptionJwtUtil.Builder.algorithm(JwtAlgorithm algorithm) Sets the signing algorithm.Constructors in cloud.opencode.base.crypto.jwt with parameters of type JwtAlgorithm