Uses of Enum
org.eclipse.microprofile.jwt.tck.util.SignatureAlgorithm
Packages that use SignatureAlgorithm
-
Uses of SignatureAlgorithm in org.eclipse.microprofile.jwt.tck.util
Methods in org.eclipse.microprofile.jwt.tck.util that return SignatureAlgorithmModifier and TypeMethodDescriptionstatic SignatureAlgorithmReturns the enum constant of this type with the specified name.static SignatureAlgorithm[]SignatureAlgorithm.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.eclipse.microprofile.jwt.tck.util with parameters of type SignatureAlgorithmModifier and TypeMethodDescriptionstatic StringTokenUtils.signClaims(String jsonResName, SignatureAlgorithm algorithm) Utility method to generate a JWT string from a JSON resource file that is signed by the privateKey.pem test resource key using either RS256 or ES256 algorithm.static StringTokenUtils.signClaims(String jsonResName, SignatureAlgorithm algorithm, Set<TokenUtils.InvalidClaims> invalidClaims) Utility method to generate a JWT string from a JSON resource file that is signed by the privateKey.pem test resource key using either RS256 or ES256 algorithm, possibly with invalid fields.static StringTokenUtils.signClaims(String jsonResName, SignatureAlgorithm algorithm, Set<TokenUtils.InvalidClaims> invalidClaims, Map<String, Long> timeClaims) Utility method to generate a JWT string from a JSON resource file that is signed by either the privateKey.pem test resource using RS256 algorithm or the ecPrivateKey.pem test resource using ES256 algorithm, possibly with invalid fields and custom time claims.static StringTokenUtils.signEncryptClaims(String jsonResName, SignatureAlgorithm signatureAlgorithm) Utility method to generate a JWT string from a JSON resource file by signing it first by either the privateKey.pem test resource using RS256 algorithm or the ecPrivateKey.pem test resource using ES256 algorithm and encrypting it next with the publicKey.pem test resource.