Package org.refcodes.security
Interface TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
- All Superinterfaces:
TrustStoreDescriptor
- All Known Subinterfaces:
KeyStoreDescriptor.KeyStoreDescriptorBuilder
- All Known Implementing Classes:
KeyStoreDescriptorBuilderImpl,TrustStoreDescriptorBuilderImpl
- Enclosing interface:
- TrustStoreDescriptor
public static interface TrustStoreDescriptor.TrustStoreDescriptorBuilder extends TrustStoreDescriptor
The mutableTrustStoreDescriptor.TrustStoreDescriptorBuilderextends theTrustStoreDescriptorwith manipulator methods.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptor
TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidsetStoreFile(java.io.File aStoreFile)Sets theFilepointing to theKeyStore.voidsetStorePassword(java.lang.String aStorePassword)Sets the keysotre's password.voidsetStoreType(StoreType aStoreType)Sets theStoreTyperepresenting the type of theKeyStore.default TrustStoreDescriptor.TrustStoreDescriptorBuilderwithStoreFile(java.io.File aStoreFile)Builder for the according setter method.default TrustStoreDescriptor.TrustStoreDescriptorBuilderwithStorePassword(java.lang.String aStorePassword)Builder for the according setter method.default TrustStoreDescriptor.TrustStoreDescriptorBuilderwithStoreType(StoreType aStoreType)Builder for the according setter method.-
Methods inherited from interface org.refcodes.security.TrustStoreDescriptor
getStoreFile, getStorePassword, getStoreType
-
-
-
-
Method Detail
-
setStoreFile
void setStoreFile(java.io.File aStoreFile)
Sets theFilepointing to theKeyStore.- Parameters:
aStoreFile- TheKeyStoreFile.
-
withStoreFile
default TrustStoreDescriptor.TrustStoreDescriptorBuilder withStoreFile(java.io.File aStoreFile)
Builder for the according setter method.- Parameters:
aStoreFile- TheKeyStoreFile.- Returns:
- The builder instance as of the builder pattern.
-
setStoreType
void setStoreType(StoreType aStoreType)
Sets theStoreTyperepresenting the type of theKeyStore.- Parameters:
aStoreType- TheKeyStore'sStoreType.
-
withStoreType
default TrustStoreDescriptor.TrustStoreDescriptorBuilder withStoreType(StoreType aStoreType)
Builder for the according setter method.- Parameters:
aStoreType- TheKeyStore'sStoreType.- Returns:
- The builder instance as of the builder pattern.
-
setStorePassword
void setStorePassword(java.lang.String aStorePassword)
Sets the keysotre's password.- Parameters:
aStorePassword- TheKeyStorepassword.
-
withStorePassword
default TrustStoreDescriptor.TrustStoreDescriptorBuilder withStorePassword(java.lang.String aStorePassword)
Builder for the according setter method.- Parameters:
aStorePassword- TheKeyStorepassword.- Returns:
- The builder instance as of the builder pattern.
-
-