Module org.refcodes.security
Package org.refcodes.security
Interface KeyStoreDescriptor.KeyStoreDescriptorBuilder
- All Superinterfaces:
KeyStoreDescriptor
,TrustStoreDescriptor
,TrustStoreDescriptor.TrustStoreDescriptorBuilder
- All Known Implementing Classes:
KeyStoreDescriptorBuilderImpl
- Enclosing interface:
- KeyStoreDescriptor
public static interface KeyStoreDescriptor.KeyStoreDescriptorBuilder
extends KeyStoreDescriptor, TrustStoreDescriptor.TrustStoreDescriptorBuilder
The mutable
KeyStoreDescriptor.KeyStoreDescriptorBuilder
extends the
KeyStoreDescriptor
with manipulator methods.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.security.KeyStoreDescriptor
KeyStoreDescriptor.KeyStoreDescriptorBuilder
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptor
TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setKeyPassword
(String aKeyPassword) Sets the key's password.withKeyPassword
(String aKeyPassword) Builder for the according setter method.withStoreFile
(File aStoreFile) Builder for the according setter method.withStorePassword
(String aStorePassword) Builder for the according setter method.withStoreType
(StoreType aStoreType) Builder for the according setter method.Methods inherited from interface org.refcodes.security.KeyStoreDescriptor
getKeyPassword
Methods inherited from interface org.refcodes.security.TrustStoreDescriptor
getStoreFile, getStorePassword, getStoreType
Methods inherited from interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
setStoreFile, setStorePassword, setStoreType
-
Method Details
-
setKeyPassword
Sets the key's password.- Parameters:
aKeyPassword
- The key password.
-
withKeyPassword
Builder for the according setter method.- Parameters:
aKeyPassword
- The key password.- Returns:
- The builder instance as of the builder pattern.
-
withStoreFile
Builder for the according setter method.- Specified by:
withStoreFile
in interfaceTrustStoreDescriptor.TrustStoreDescriptorBuilder
- Parameters:
aStoreFile
- TheKeyStore
File
.- Returns:
- The builder instance as of the builder pattern.
-
withStorePassword
Builder for the according setter method.- Specified by:
withStorePassword
in interfaceTrustStoreDescriptor.TrustStoreDescriptorBuilder
- Parameters:
aStorePassword
- TheKeyStore
password.- Returns:
- The builder instance as of the builder pattern.
-
withStoreType
Builder for the according setter method.- Specified by:
withStoreType
in interfaceTrustStoreDescriptor.TrustStoreDescriptorBuilder
- Parameters:
aStoreType
- TheKeyStore
'sStoreType
.- Returns:
- The builder instance as of the builder pattern.
-