java.lang.Object
org.refcodes.security.TrustStoreDescriptorImpl
- All Implemented Interfaces:
TrustStoreDescriptor
The immutable
TrustStoreDescriptorImpl
implements the
TrustStoreDescriptor
interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptor
TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Constructor Summary
ConstructorDescriptionTrustStoreDescriptorImpl
(File aStoreFile) Constructs aKeyStoreDescriptor
with the data required to access a keystore.TrustStoreDescriptorImpl
(File aStoreFile, String aStorePassword) Constructs aKeyStoreDescriptor
with the data required to access a keystore.TrustStoreDescriptorImpl
(File aStoreFile, StoreType aStoreType) Constructs aKeyStoreDescriptor
with the data required to access a keystore.TrustStoreDescriptorImpl
(File aStoreFile, StoreType aStoreType, String aStorePassword) Constructs aKeyStoreDescriptor
with the data required to access a keystore. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the keysotre's password.
-
Constructor Details
-
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptor
with the data required to access a keystore. TheStoreType
defaults toStoreType.JKS
.- Parameters:
aStoreFile
- The keystoreFile
.
-
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptor
with the data required to access a keystore. -
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptor
with the data required to access a keystore.- Parameters:
aStoreFile
- The keystoreFile
.aStorePassword
- The keystore password.
-
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptor
with the data required to access a keystore.
-
-
Method Details
-
getStoreFile
- Specified by:
getStoreFile
in interfaceTrustStoreDescriptor
- Returns:
- The
KeyStore
File
.
-
getStoreType
- Specified by:
getStoreType
in interfaceTrustStoreDescriptor
- Returns:
- The
KeyStore
'sStoreType
.
-
getStorePassword
Retrieves the keysotre's password.- Specified by:
getStorePassword
in interfaceTrustStoreDescriptor
- Returns:
- The
KeyStore
password.
-