public class SecretKeyGenerator extends InitializeObject
mutex| Constructor and Description |
|---|
SecretKeyGenerator() |
SecretKeyGenerator(String algorithm) |
SecretKeyGenerator(String algorithm,
String provider) |
| Modifier and Type | Method and Description |
|---|---|
SecretKeyGenerator |
copy() |
byte[] |
generate(char[] password,
byte[] salt,
int iterationCount,
int keySize) |
protected void |
init() |
SecretKeyGenerator |
setAlgorithm(String algorithm) |
SecretKeyGenerator |
setProvider(String provider) |
assertNotInitialized, destroy, initializepublic SecretKeyGenerator()
public SecretKeyGenerator(String algorithm)
protected void init()
throws Exception
init in class InitializeObjectExceptionpublic byte[] generate(char[] password,
byte[] salt,
int iterationCount,
int keySize)
throws CryptoException
CryptoExceptionpublic SecretKeyGenerator setAlgorithm(String algorithm)
public SecretKeyGenerator setProvider(String provider)
public SecretKeyGenerator copy()
Copyright © 2017. All rights reserved.