public class PBAES128CryptdecFactory extends PBCryptdecFactory
ICryptdec instances, based on AES128. The secret is
derived from a password using a key derivation function (PBKDF2WithHmacSHA1).| Constructor and Description |
|---|
PBAES128CryptdecFactory(String id,
byte[] iv,
char[] password,
byte[] salt,
int iterationCount) |
| Modifier and Type | Method and Description |
|---|---|
ICryptdec |
createCryptdec()
Create a new
ICryptdec. |
byte[] |
getInitializationVector() |
int |
getIterationCount() |
char[] |
getPassword() |
byte[] |
getSalt() |
getIdpublic PBAES128CryptdecFactory(String id, byte[] iv, char[] password, byte[] salt, int iterationCount) throws GeneralSecurityException
GeneralSecurityExceptionpublic ICryptdec createCryptdec() throws GeneralSecurityException
ICryptdecFactoryICryptdec.GeneralSecurityExceptionpublic byte[] getInitializationVector()
public int getIterationCount()
public char[] getPassword()
public byte[] getSalt()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.