public class CryptoModuleBuilder extends Object
| Constructor and Description |
|---|
CryptoModuleBuilder() |
public CryptoModuleBuilder cipherAlgorithm(String algorithm)
public CryptoModuleBuilder cipherMode(String mode)
public CryptoModuleBuilder cipherFactory(Class<? extends CipherFactory> factoryType)
public CryptoModuleBuilder valueTransformer(Class<? extends ValueTransformerFactory> factoryType)
public CryptoModuleBuilder bytesTransformer(Class<? extends BytesTransformerFactory> factoryType)
public CryptoModuleBuilder columnMapper(Class<? extends ColumnMapper> columnMapperType)
public CryptoModuleBuilder columnMapper(ColumnMapper columnMapper)
public CryptoModuleBuilder columnMapper(String pattern)
public CryptoModuleBuilder encryptionKeyAlias(String encryptionKeyAlias)
encryptionKeyAlias - The name of the key in the keystore that should be used for
encryption by default.public CryptoModuleBuilder keyStore(File file, char[] passwordForAllKeys, String encryptionKeyAlias)
file - A file to load keystore from.passwordForAllKeys - A password that unlocks all keys in the keystore.encryptionKeyAlias - The name of the key in the keystore that should be used for
encryption by default.public CryptoModuleBuilder keyStore(String url, char[] passwordForAllKeys, String encryptionKeyAlias)
url - A URL to load keystore from.passwordForAllKeys - A password that unlocks all keys in the keystore.encryptionKeyAlias - The name of the key in the keystore that should be used for
encryption by default.public CryptoModuleBuilder keyStore(URL url, char[] passwordForAllKeys, String encryptionKeyAlias)
url - A URL to load keystore from.passwordForAllKeys - A password that unlocks all keys in the keystore.encryptionKeyAlias - The name of the key in the keystore that should be used for
encryption by default.public CryptoModuleBuilder keySource(Class<? extends KeySource> type)
public CryptoModuleBuilder keySource(KeySource keySource)
public CryptoModuleBuilder compress()
public org.apache.cayenne.di.Module build()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.