Uses of Enum
org.eclipse.microprofile.jwt.tck.util.KeyManagementAlgorithm
Packages that use KeyManagementAlgorithm
-
Uses of KeyManagementAlgorithm in org.eclipse.microprofile.jwt.tck.util
Methods in org.eclipse.microprofile.jwt.tck.util that return KeyManagementAlgorithmModifier and TypeMethodDescriptionstatic KeyManagementAlgorithmReturns 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 KeyManagementAlgorithmModifier and TypeMethodDescriptionstatic StringTokenUtils.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 StringTokenUtils.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.