public enum SslKeystore extends Enum<SslKeystore>
| Enum Constant and Description |
|---|
PRIVATE
The keystore that contains the private keys used for authorization.
|
TRUSTSTORE
The keystore that contains the certificates of the trusted certificate
authorities.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
setSystemProperties(File file,
String type,
String password)
Set the system properties that configure this SSL keystore.
|
static SslKeystore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslKeystore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslKeystore PRIVATE
javax.net.ssl.keyStore.public static final SslKeystore TRUSTSTORE
javax.net.ssl.trustStore.public static SslKeystore[] values()
for (SslKeystore c : SslKeystore.values()) System.out.println(c);
public static SslKeystore 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 void setSystemProperties(File file, String type, String password) throws OperationException
file - the keystore filetype - the type of the keystorepassword - the password of the keystoreOperationException - if the keystore file does not existCopyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.