Package xades4j.providers.impl
Class FileSystemKeyStoreKeyingDataProvider.Builder
java.lang.Object
xades4j.providers.impl.FileSystemKeyStoreKeyingDataProvider.Builder
- Enclosing class:
- FileSystemKeyStoreKeyingDataProvider
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a newPKCS11KeyStoreKeyingDataProvider
based on the current configuration.entryPassword
(KeyStoreKeyingDataProvider.KeyEntryPasswordProvider entryPasswordProvider) Sets the provider of entry passwordsfullChain
(boolean fullChain) Sets whether the full certificate chain should be returned, if available.Sets the provider from which the KeyStore is to be instantiated.storePassword
(KeyStoreKeyingDataProvider.KeyStorePasswordProvider storePasswordProvider) Sets the provider of the keystore loading password.
-
Method Details
-
build
Create a newPKCS11KeyStoreKeyingDataProvider
based on the current configuration.- Returns:
- the provider
-
storePassword
public FileSystemKeyStoreKeyingDataProvider.Builder storePassword(KeyStoreKeyingDataProvider.KeyStorePasswordProvider storePasswordProvider) Sets the provider of the keystore loading password.- Parameters:
storePasswordProvider
- keystore password provider- Returns:
- the current instance
-
entryPassword
public FileSystemKeyStoreKeyingDataProvider.Builder entryPassword(KeyStoreKeyingDataProvider.KeyEntryPasswordProvider entryPasswordProvider) Sets the provider of entry passwords- Parameters:
entryPasswordProvider
- entry password provider- Returns:
- the current instance
-
fullChain
Sets whether the full certificate chain should be returned, if available.- Parameters:
fullChain
-true
to return the full certificate chain, false otherwise- Returns:
- the current instance
-
provider
Sets the provider from which the KeyStore is to be instantiated.- Parameters:
provider
- the provider- Returns:
- the current instance
-