public static enum Certificate.FileType extends java.lang.Enum<Certificate.FileType>
Specifies the type of certificate file to be added
Choose appropriate file type and pass it as a parameter to add function in Certificate class
| Modifier and Type | Method and Description |
|---|---|
static Certificate.FileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Certificate.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Certificate.FileType CERTFILE
public static final Certificate.FileType KEYSTORE
public static Certificate.FileType[] values()
for (Certificate.FileType c : Certificate.FileType.values()) System.out.println(c);
public static Certificate.FileType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null