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.TrustStoreDescriptorBuilder
extends theTrustStoreDescriptor
with 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 void
setStoreFile(java.io.File aStoreFile)
Sets theFile
pointing to theKeyStore
.void
setStorePassword(java.lang.String aStorePassword)
Sets the keysotre's password.void
setStoreType(StoreType aStoreType)
Sets theStoreType
representing the type of theKeyStore
.default TrustStoreDescriptor.TrustStoreDescriptorBuilder
withStoreFile(java.io.File aStoreFile)
Builder for the according setter method.default TrustStoreDescriptor.TrustStoreDescriptorBuilder
withStorePassword(java.lang.String aStorePassword)
Builder for the according setter method.default TrustStoreDescriptor.TrustStoreDescriptorBuilder
withStoreType(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 theFile
pointing to theKeyStore
.- Parameters:
aStoreFile
- TheKeyStore
File
.
-
withStoreFile
default TrustStoreDescriptor.TrustStoreDescriptorBuilder withStoreFile(java.io.File aStoreFile)
Builder for the according setter method.- Parameters:
aStoreFile
- TheKeyStore
File
.- Returns:
- The builder instance as of the builder pattern.
-
setStoreType
void setStoreType(StoreType aStoreType)
Sets theStoreType
representing 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
- TheKeyStore
password.
-
withStorePassword
default TrustStoreDescriptor.TrustStoreDescriptorBuilder withStorePassword(java.lang.String aStorePassword)
Builder for the according setter method.- Parameters:
aStorePassword
- TheKeyStore
password.- Returns:
- The builder instance as of the builder pattern.
-
-