public static enum KeyStoreSupporter.KeyStoreType extends Enum<KeyStoreSupporter.KeyStoreType>
| Modifier and Type | Method and Description |
|---|---|
static Optional<KeyStoreSupporter.KeyStoreType> |
byFileExtension(String fileExtension)
tries to find the correct keystore type by a file extension
|
String |
getFileExtension() |
static KeyStoreSupporter.KeyStoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyStoreSupporter.KeyStoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyStoreSupporter.KeyStoreType JKS
public static final KeyStoreSupporter.KeyStoreType JCEKS
public static final KeyStoreSupporter.KeyStoreType PKCS12
public static KeyStoreSupporter.KeyStoreType[] values()
for (KeyStoreSupporter.KeyStoreType c : KeyStoreSupporter.KeyStoreType.values()) System.out.println(c);
public static KeyStoreSupporter.KeyStoreType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Optional<KeyStoreSupporter.KeyStoreType> byFileExtension(String fileExtension)
fileExtension - the file extension.public String getFileExtension()
fileExtensionCopyright © 2020. All rights reserved.