public static class SslConfiguration.KeyStoreConfiguration extends Object
Constructor and Description |
---|
KeyStoreConfiguration(Resource resource,
char[] storePassword,
String storeType)
Create a new
SslConfiguration.KeyStoreConfiguration . |
Modifier and Type | Method and Description |
---|---|
Resource |
getResource() |
char[] |
getStorePassword() |
String |
getStoreType() |
boolean |
isPresent() |
static SslConfiguration.KeyStoreConfiguration |
of(Resource resource)
Create a new
SslConfiguration.KeyStoreConfiguration given Resource . |
static SslConfiguration.KeyStoreConfiguration |
of(Resource resource,
char[] storePassword)
Create a new
SslConfiguration.KeyStoreConfiguration given Resource and
storePassword using the default keystore type. |
static SslConfiguration.KeyStoreConfiguration |
unconfigured()
Create an unconfigured, empty
SslConfiguration.KeyStoreConfiguration . |
public KeyStoreConfiguration(Resource resource, @Nullable char[] storePassword, String storeType)
SslConfiguration.KeyStoreConfiguration
.public static SslConfiguration.KeyStoreConfiguration of(Resource resource)
SslConfiguration.KeyStoreConfiguration
given Resource
.resource
- resource referencing the key store, must not be null
.SslConfiguration.KeyStoreConfiguration
for resource
.public static SslConfiguration.KeyStoreConfiguration of(Resource resource, char[] storePassword)
SslConfiguration.KeyStoreConfiguration
given Resource
and
storePassword
using the default keystore type.resource
- resource referencing the key store, must not be null
.storePassword
- key store password, must not be null.SslConfiguration.KeyStoreConfiguration
for resource
.public static SslConfiguration.KeyStoreConfiguration unconfigured()
SslConfiguration.KeyStoreConfiguration
.SslConfiguration.KeyStoreConfiguration
.public boolean isPresent()
public Resource getResource()
key store
resource or
null if not configured.@Nullable public char[] getStorePassword()
char
array if not
set.public String getStoreType()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.