Uses of Class
org.eclipse.microprofile.jwt.tck.util.KeyManagementAlgorithm
-
Packages that use KeyManagementAlgorithm Package Description org.eclipse.microprofile.jwt.tck.util -
-
Uses of KeyManagementAlgorithm in org.eclipse.microprofile.jwt.tck.util
Methods in org.eclipse.microprofile.jwt.tck.util that return KeyManagementAlgorithm Modifier and Type Method Description static KeyManagementAlgorithm
KeyManagementAlgorithm. valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyManagementAlgorithm[]
KeyManagementAlgorithm. 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 KeyManagementAlgorithm Modifier and Type Method Description static String
TokenUtils. encryptClaims(PublicKey pk, KeyManagementAlgorithm keyAlgorithm, String kid, String jsonResName, Set<TokenUtils.InvalidClaims> invalidClaims, Map<String,Long> timeClaims)
Utility method to generate a JWT string from a JSON resource file that is encrypted by the public key, possibly with invalid fields.static String
TokenUtils. signEncryptClaims(PrivateKey signingKey, String signingKid, PublicKey encryptionKey, KeyManagementAlgorithm keyAlgorithm, String encryptionKid, String jsonResName, boolean setContentType)
Utility method to generate a JWT string from a JSON resource file by signing it first with the private key using RS256 algorithm and encrypting next with the public key with an option to skip setting a content-type 'cty' parameter.
-