public static class SslConfiguration.KeyConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
String |
getKeyAlias() |
char[] |
getKeyPassword() |
static SslConfiguration.KeyConfiguration |
of(char[] keyPassword,
String keyAlias)
Create a
SslConfiguration.KeyConfiguration to configure a specific key within a
KeyStore . |
static SslConfiguration.KeyConfiguration |
unconfigured()
Create an unconfigured, empty
SslConfiguration.KeyConfiguration . |
public static SslConfiguration.KeyConfiguration unconfigured()
SslConfiguration.KeyConfiguration
.SslConfiguration.KeyConfiguration
.public static SslConfiguration.KeyConfiguration of(@Nullable char[] keyPassword, @Nullable String keyAlias)
SslConfiguration.KeyConfiguration
to configure a specific key within a
KeyStore
.keyPassword
- the key password to use. Uses
SslConfiguration.KeyStoreConfiguration.getStorePassword()
if left null
.keyAlias
- the key alias to use. Uses the first alias if left null
.SslConfiguration.KeyConfiguration
.@Nullable public char[] getKeyPassword()
Copyright © 2016–2020 Pivotal Software, Inc.. All rights reserved.