Package org.xipki.ca.api.profile
Enum Certprofile.StringType
- java.lang.Object
-
- java.lang.Enum<Certprofile.StringType>
-
- org.xipki.ca.api.profile.Certprofile.StringType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Certprofile.StringType>
- Enclosing class:
- Certprofile
public static enum Certprofile.StringType extends java.lang.Enum<Certprofile.StringType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description bmpStringia5StringprintableStringteletexStringutf8String
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1EncodablecreateString(java.lang.String text)static Certprofile.StringTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Certprofile.StringType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
teletexString
public static final Certprofile.StringType teletexString
-
printableString
public static final Certprofile.StringType printableString
-
utf8String
public static final Certprofile.StringType utf8String
-
bmpString
public static final Certprofile.StringType bmpString
-
ia5String
public static final Certprofile.StringType ia5String
-
-
Method Detail
-
values
public static Certprofile.StringType[] 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 (Certprofile.StringType c : Certprofile.StringType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Certprofile.StringType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
createString
public org.bouncycastle.asn1.ASN1Encodable createString(java.lang.String text)
-
-