Uses of Class
org.eclipse.microprofile.jwt.tck.util.SignatureAlgorithm
-
Packages that use SignatureAlgorithm Package Description org.eclipse.microprofile.jwt.tck.util -
-
Uses of SignatureAlgorithm in org.eclipse.microprofile.jwt.tck.util
Methods in org.eclipse.microprofile.jwt.tck.util that return SignatureAlgorithm Modifier and Type Method Description static SignatureAlgorithm
SignatureAlgorithm. valueOf(String name)
Returns 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 SignatureAlgorithm Modifier and Type Method Description static String
TokenUtils. 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 String
TokenUtils. 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 String
TokenUtils. 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 String
TokenUtils. 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.
-