Class SymmetricCrypto
java.lang.Object
org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto
Symmetric algorithm
- Since:
- 01-4-2011
- Author:
- Samatar
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new Symetric SymmetricCrypto transSymmetricCrypto(SymmetricCryptoMeta meta, String xform) Construct a new Symetric SymmetricCrypto trans -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()byte[]encrDecryptData(byte[] inpBytes) byte[]generateKey(int keySize) generateKeyAsHex(int keySize) voidvoidvoidsetSecretKey(byte[] keyBytes) voidsetSecretKey(String keyString) voidsetSecretKeyFromFile(String filename)
-
Constructor Details
-
SymmetricCrypto
Construct a new Symetric SymmetricCrypto trans- Parameters:
inf- The Database Connection Info to construct the connection with.- Throws:
CryptoException
-
SymmetricCrypto
Construct a new Symetric SymmetricCrypto trans- Parameters:
inf- The Database Connection Info to construct the connection with.- Throws:
CryptoException
-
-
Method Details
-
setEncryptMode
- Throws:
CryptoException
-
setDecryptMode
- Throws:
CryptoException
-
setSecretKey
- Throws:
CryptoKeyException
-
setSecretKey
- Throws:
CryptoKeyException
-
setSecretKeyFromFile
- Throws:
CryptoKeyException
-
encrDecryptData
- Throws:
CryptoException
-
generateKey
- Throws:
CryptoKeyException
-
generateKeyAsHex
- Throws:
CryptoKeyException
-
getCipherProviderName
-
close
public void close()
-