Class TrustStoreDescriptorImpl
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
ConstructorsConstructorDescriptionTrustStoreDescriptorImpl(File aStoreFile) Constructs aKeyStoreDescriptorwith the data required to access a keystore.TrustStoreDescriptorImpl(File aStoreFile, String aStorePassword) Constructs aKeyStoreDescriptorwith the data required to access a keystore.TrustStoreDescriptorImpl(File aStoreFile, StoreType aStoreType) Constructs aKeyStoreDescriptorwith the data required to access a keystore.TrustStoreDescriptorImpl(File aStoreFile, StoreType aStoreType, String aStorePassword) Constructs aKeyStoreDescriptorwith the data required to access a keystore. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the keysotre's password.
-
Constructor Details
-
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptorwith the data required to access a keystore. TheStoreTypedefaults toStoreType.JKS.- Parameters:
aStoreFile- The keystoreFile.
-
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptorwith the data required to access a keystore. -
TrustStoreDescriptorImpl
Constructs aKeyStoreDescriptorwith the data required to access a keystore.- Parameters:
aStoreFile- The keystoreFile.aStorePassword- The keystore password.
-
TrustStoreDescriptorImpl
-
-
Method Details
-
getStoreFile
- Specified by:
getStoreFilein interfaceTrustStoreDescriptor- Returns:
- The
KeyStoreFile.
-
getStoreType
- Specified by:
getStoreTypein interfaceTrustStoreDescriptor- Returns:
- The
KeyStore'sStoreType.
-
getStorePassword
Retrieves the keysotre's password.- Specified by:
getStorePasswordin interfaceTrustStoreDescriptor- Returns:
- The
KeyStorepassword.
-