public enum EKeyStoreType extends Enum<EKeyStoreType> implements IKeyStoreType
| Enum Constant and Description |
|---|
BCFKS
The BCFKS key store is designed to be FIPS compliant.
|
JKS
The default Java Key Store type.
|
PKCS12
The PKCS12 key store type is slightly better than JKS and is supported only
in Java 1.9.
|
| Modifier and Type | Method and Description |
|---|---|
static EKeyStoreType |
getFromIDCaseInsensitiveOrDefault(String sID,
EKeyStoreType eDefault) |
static EKeyStoreType |
getFromIDCaseInsensitiveOrNull(String sID) |
static EKeyStoreType |
getFromIDOrNull(String sID) |
String |
getID() |
static EKeyStoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EKeyStoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetKeyStore, getKeyStore, getKeyStorepublic static final EKeyStoreType JKS
public static final EKeyStoreType PKCS12
public static final EKeyStoreType BCFKS
public static EKeyStoreType[] values()
for (EKeyStoreType c : EKeyStoreType.values()) System.out.println(c);
public static EKeyStoreType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nullable public static EKeyStoreType getFromIDOrNull(@Nullable String sID)
@Nullable public static EKeyStoreType getFromIDCaseInsensitiveOrNull(@Nullable String sID)
@Nullable public static EKeyStoreType getFromIDCaseInsensitiveOrDefault(@Nullable String sID, @Nullable EKeyStoreType eDefault)
Copyright © 2016–2021 Philip Helger. All rights reserved.