public interface TlsDirectKeyStore
The information specified in this interface is used to configure a key store directly.
For more information see the documentation for the connector or protocol in question.
The comments in TlsConfiguration
may also be useful.
Modifier and Type | Method and Description |
---|---|
String |
getKeyAlias() |
String |
getKeyManagerAlgorithm() |
KeyManagerFactory |
getKeyManagerFactory() |
String |
getKeyPassword() |
String |
getKeyStore() |
String |
getKeyStorePassword() |
String |
getKeyStoreType() |
void |
setKeyAlias(String alias) |
void |
setKeyManagerAlgorithm(String keyManagerAlgorithm) |
void |
setKeyPassword(String keyPassword) |
void |
setKeyStore(String name) |
void |
setKeyStorePassword(String storePassword) |
void |
setKeyStoreType(String keystoreType) |
String getKeyStore()
void setKeyStore(String name) throws IOException
name
- The location of the keystore that contains public certificates and private keys
for identification.IOException
- If the location cannot be resolved via the file system or classpathString getKeyAlias()
void setKeyAlias(String alias)
alias
- of the key from the key store.String getKeyPassword()
void setKeyPassword(String keyPassword)
keyPassword
- The password used to protect the private key(s)String getKeyStorePassword()
void setKeyStorePassword(String storePassword)
storePassword
- The password used to protect the keystore itselfString getKeyStoreType()
getKeyStore()
void setKeyStoreType(String keystoreType)
keystoreType
- The type of keystore used in setKeyStore(String)
String getKeyManagerAlgorithm()
void setKeyManagerAlgorithm(String keyManagerAlgorithm)
keyManagerAlgorithm
- The algorithm used by the key store. The default comes from {KeyManagerFactory getKeyManagerFactory()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.