Package | Description |
---|---|
org.ldaptive.ssl |
Modifier and Type | Class and Description |
---|---|
class |
KeyStoreCredentialConfig
Provides the properties necessary for creating an SSL context initializer with a keystore credential reader.
|
class |
X509CredentialConfig
Provides the properties necessary for creating an SSL context initializer with an X.509 credential reader.
|
Modifier and Type | Field and Description |
---|---|
private CredentialConfig |
SslConfig.credentialConfig
Configuration for the trust and authentication material to use for SSL and startTLS.
|
Modifier and Type | Method and Description |
---|---|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore trustStore)
Creates a KeyStoreCredentialConfig from the supplied truststore.
|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore trustStore,
KeyStore keyStore,
String keyStorePassword)
Creates a KeyStoreCredentialConfig from the supplied truststore, keystore and password.
|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore keyStore,
String keyStorePassword)
Creates a KeyStoreCredentialConfig from the supplied keystore and password.
|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore trustStore,
String[] trustStoreAliases)
Creates a KeyStoreCredentialConfig from the supplied truststore.
|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore trustStore,
String[] trustStoreAliases,
KeyStore keyStore,
String keyStorePassword,
String[] keyStoreAliases)
Creates a KeyStoreCredentialConfig from the supplied truststore, keystore and password.
|
static CredentialConfig |
CredentialConfigFactory.createKeyStoreCredentialConfig(KeyStore keyStore,
String keyStorePassword,
String[] keyStoreAliases)
Creates a KeyStoreCredentialConfig from the supplied keystore and password.
|
static CredentialConfig |
CredentialConfigFactory.createX509CredentialConfig(String trustCertificates)
Creates a X509CredentialConfig from PEM encoded certificate(s).
|
static CredentialConfig |
CredentialConfigFactory.createX509CredentialConfig(X509Certificate[] trustCertificates)
Creates a X509CredentialConfig from the supplied trust certificates.
|
static CredentialConfig |
CredentialConfigFactory.createX509CredentialConfig(X509Certificate[] trustCertificates,
X509Certificate authenticationCertificate,
PrivateKey authenticationKey)
Creates a X509CredentialConfig from the supplied trust certificates, authentication certificate and private key.
|
static CredentialConfig |
CredentialConfigFactory.createX509CredentialConfig(X509Certificate authenticationCertificate,
PrivateKey authenticationKey)
Creates a X509CredentialConfig from the supplied authentication certificate and private key.
|
CredentialConfig |
SslConfig.getCredentialConfig()
Returns the credential config.
|
Modifier and Type | Method and Description |
---|---|
void |
SslConfig.setCredentialConfig(CredentialConfig config)
Sets the credential config.
|
Constructor and Description |
---|
SslConfig(CredentialConfig config)
Creates a new ssl config.
|
SslConfig(CredentialConfig config,
TrustManager... managers)
Creates a new ssl config.
|
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.