Class KeyStoreBasedProtectorBuilder
- java.lang.Object
-
- com.evolveum.midpoint.prism.crypto.KeyStoreBasedProtectorBuilder
-
public final class KeyStoreBasedProtectorBuilder extends Object
Builder for KeyStoreBasedProtector implementation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Protector
buildOnly()
Creates the protector without actually initializing it.static KeyStoreBasedProtectorBuilder
create(ProtectorCreator protectorCreator)
KeyStoreBasedProtectorBuilder
digestAlgorithm(String val)
KeyStoreBasedProtectorBuilder
encryptionAlgorithm(String val)
KeyStoreBasedProtectorBuilder
encryptionKeyAlias(String val)
String
getDigestAlgorithm()
String
getEncryptionAlgorithm()
String
getEncryptionKeyAlias()
String
getKeyStorePassword()
String
getKeyStorePath()
String
getRequestedJceProviderName()
List<TrustManager>
getTrustManagers()
Protector
initialize()
KeyStoreBasedProtectorBuilder
keyStorePassword(String val)
KeyStoreBasedProtectorBuilder
keyStorePath(String val)
KeyStoreBasedProtectorBuilder
requestedJceProviderName(String val)
KeyStoreBasedProtectorBuilder
trustManagers(List<TrustManager> val)
-
-
-
Method Detail
-
create
public static KeyStoreBasedProtectorBuilder create(@NotNull ProtectorCreator protectorCreator)
-
keyStorePath
public KeyStoreBasedProtectorBuilder keyStorePath(String val)
-
keyStorePassword
public KeyStoreBasedProtectorBuilder keyStorePassword(String val)
-
encryptionKeyAlias
public KeyStoreBasedProtectorBuilder encryptionKeyAlias(String val)
-
requestedJceProviderName
public KeyStoreBasedProtectorBuilder requestedJceProviderName(String val)
-
encryptionAlgorithm
public KeyStoreBasedProtectorBuilder encryptionAlgorithm(String val)
-
digestAlgorithm
public KeyStoreBasedProtectorBuilder digestAlgorithm(String val)
-
trustManagers
public KeyStoreBasedProtectorBuilder trustManagers(List<TrustManager> val)
-
getKeyStorePath
public String getKeyStorePath()
-
getKeyStorePassword
public String getKeyStorePassword()
-
getEncryptionKeyAlias
public String getEncryptionKeyAlias()
-
getRequestedJceProviderName
public String getRequestedJceProviderName()
-
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
-
getDigestAlgorithm
public String getDigestAlgorithm()
-
getTrustManagers
public List<TrustManager> getTrustManagers()
-
initialize
public Protector initialize()
-
buildOnly
public Protector buildOnly()
Creates the protector without actually initializing it.
-
-