public static final class KeyStoreInfo.Builder
extends java.lang.Object
KeyStoreInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
KeyStoreInfo . |
Modifier and Type | Method and Description |
---|---|
KeyStoreInfo |
build() |
KeyStoreInfo.Builder |
setKeystore(java.lang.String keystore)
A location of the keystor file which stores private key and identity
certificates that will be presented to both parties (server or client) for
verification.
|
KeyStoreInfo.Builder |
setKeystoreAlias(java.lang.String keystoreAlias)
Its an alias specified when an entity is added to the keystore.
|
KeyStoreInfo.Builder |
setKeystorePhrase(java.lang.String keystorePhrase)
A location of the key store pass phrase file.
|
KeyStoreInfo.Builder |
setTruststore(java.lang.String truststore)
A location of the trust store file which stores the certificate from CA that
verify the certificate presented by the server in SSL connection.
|
public Builder()
KeyStoreInfo
.public KeyStoreInfo.Builder setKeystore(java.lang.String keystore)
keystore
- New value for the property.public KeyStoreInfo.Builder setKeystoreAlias(java.lang.String keystoreAlias)
keystoreAlias
- New value for the property.public KeyStoreInfo.Builder setKeystorePhrase(java.lang.String keystorePhrase)
keystorePhrase
- New value for the property.public KeyStoreInfo.Builder setTruststore(java.lang.String truststore)
truststore
- New value for the property.public KeyStoreInfo build()