public class KeySpecFactory extends Object
| Constructor and Description |
|---|
KeySpecFactory() |
| Modifier and Type | Method and Description |
|---|---|
static KeySpec |
newPBEKeySpec(String privateKey)
Factory method for creating a new
PBEKeySpec from the given private key. |
static KeySpec |
newPBEKeySpec(String privateKey,
byte[] salt,
int iterationCount)
Factory method for creating a new
PBEKeySpec from the given private key. |
public static KeySpec newPBEKeySpec(String privateKey)
PBEKeySpec from the given private key.privateKey - the private keyPBEKeySpec from the given private key.public static KeySpec newPBEKeySpec(String privateKey, byte[] salt, int iterationCount)
PBEKeySpec from the given private key.privateKey - the private keysalt - the saltiterationCount - the iteration countPBEKeySpec from the given private key.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.