@Transient public JWEAlgorithm getIdTokenEncryptedResponseAlg() { if (idTokenEncryptedResponseAlg != null) { return idTokenEncryptedResponseAlg.getAlgorithm(); } else { return null; } }
@Transient public JWEAlgorithm getUserInfoEncryptedResponseAlg() { if (userInfoEncryptedResponseAlg != null) { return userInfoEncryptedResponseAlg.getAlgorithm(); } else { return null; } }
@Override public JWEAlgorithmEmbed deserialize( JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { if (json.isJsonPrimitive()) { return JWEAlgorithmEmbed.getForAlgorithmName(json.getAsString()); } else { return null; } }