Package org.keycloak.saml.common.util
Enum XmlKeyInfoKeyNameTransformer
- java.lang.Object
- 
- java.lang.Enum<XmlKeyInfoKeyNameTransformer>
- 
- org.keycloak.saml.common.util.XmlKeyInfoKeyNameTransformer
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<XmlKeyInfoKeyNameTransformer>
 
 public enum XmlKeyInfoKeyNameTransformer extends Enum<XmlKeyInfoKeyNameTransformer> - Author:
- hmlnarik
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CERT_SUBJECTKEY_IDNONE
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static XmlKeyInfoKeyNameTransformerfrom(String name, XmlKeyInfoKeyNameTransformer defaultValue)abstract StringgetKeyName(String keyId, X509Certificate certificate)static XmlKeyInfoKeyNameTransformervalueOf(String name)Returns the enum constant of this type with the specified name.static XmlKeyInfoKeyNameTransformer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final XmlKeyInfoKeyNameTransformer NONE 
 - 
KEY_IDpublic static final XmlKeyInfoKeyNameTransformer KEY_ID 
 - 
CERT_SUBJECTpublic static final XmlKeyInfoKeyNameTransformer CERT_SUBJECT 
 
- 
 - 
Method Detail- 
valuespublic static XmlKeyInfoKeyNameTransformer[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlKeyInfoKeyNameTransformer c : XmlKeyInfoKeyNameTransformer.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static XmlKeyInfoKeyNameTransformer valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getKeyNamepublic abstract String getKeyName(String keyId, X509Certificate certificate) 
 - 
frompublic static XmlKeyInfoKeyNameTransformer from(String name, XmlKeyInfoKeyNameTransformer defaultValue) 
 
- 
 
-