public class TrustStoreDescriptorBuilderImpl extends Object implements TrustStoreDescriptor.TrustStoreDescriptorBuilder
KeyStoreDescriptor
interface.TrustStoreDescriptor.TrustStoreDescriptorBuilder
Constructor and Description |
---|
TrustStoreDescriptorBuilderImpl(File aStoreFile)
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorBuilderImpl(File aStoreFile,
StoreType aStoreType)
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorBuilderImpl(File aStoreFile,
StoreType aStoreType,
String aStorePassword)
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
TrustStoreDescriptorBuilderImpl(File aStoreFile,
String aStorePassword)
Constructs a
KeyStoreDescriptor with the data required to access
a keystore. |
Modifier and Type | Method and Description |
---|---|
File |
getStoreFile()
|
String |
getStorePassword()
Retrieves the keysotre's password.
|
StoreType |
getStoreType()
|
void |
setStoreFile(File aStoreFile)
|
void |
setStorePassword(String aStorePassword)
Sets the keysotre's password.
|
void |
setStoreType(StoreType aStoreType)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withStoreFile, withStorePassword, withStoreType
public TrustStoreDescriptorBuilderImpl(File aStoreFile)
KeyStoreDescriptor
with the data required to access
a keystore.
The StoreType
defaults to StoreType.JKS
.aStoreFile
- The keystore File
.public TrustStoreDescriptorBuilderImpl(File aStoreFile, StoreType aStoreType)
KeyStoreDescriptor
with the data required to access
a keystore.public TrustStoreDescriptorBuilderImpl(File aStoreFile, String aStorePassword)
KeyStoreDescriptor
with the data required to access
a keystore.aStoreFile
- The keystore File
.aStorePassword
- The keystore password.public TrustStoreDescriptorBuilderImpl(File aStoreFile, StoreType aStoreType, String aStorePassword)
KeyStoreDescriptor
with the data required to access
a keystore.public File getStoreFile()
getStoreFile
in interface TrustStoreDescriptor
KeyStore
File
.public void setStoreFile(File aStoreFile)
setStoreFile
in interface TrustStoreDescriptor.TrustStoreDescriptorBuilder
aStoreFile
- The KeyStore
File
.public StoreType getStoreType()
getStoreType
in interface TrustStoreDescriptor
KeyStore
's StoreType
.public void setStoreType(StoreType aStoreType)
setStoreType
in interface TrustStoreDescriptor.TrustStoreDescriptorBuilder
aStoreType
- The KeyStore
's StoreType
.public String getStorePassword()
getStorePassword
in interface TrustStoreDescriptor
KeyStore
password.public void setStorePassword(String aStorePassword)
setStorePassword
in interface TrustStoreDescriptor.TrustStoreDescriptorBuilder
aStorePassword
- The KeyStore
password.Copyright © 2018. All rights reserved.