public class LunaPBEKey
extends java.lang.Object
implements javax.crypto.interfaces.PBEKey
| Constructor and Description |
|---|
LunaPBEKey(int iterationCount,
char[] password,
byte[] salt,
long mechType) |
| Modifier and Type | Method and Description |
|---|---|
static long |
AlgorithmToMechType(java.lang.String algorithm) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
int |
getIterationCount() |
char[] |
getPassword() |
byte[] |
getSalt() |
static java.lang.String |
MechTypeToAlgorithm(long mechType) |
public LunaPBEKey(int iterationCount,
char[] password,
byte[] salt,
long mechType)
public static long AlgorithmToMechType(java.lang.String algorithm)
public static java.lang.String MechTypeToAlgorithm(long mechType)
public int getIterationCount()
getIterationCount in interface javax.crypto.interfaces.PBEKeypublic char[] getPassword()
getPassword in interface javax.crypto.interfaces.PBEKeypublic byte[] getSalt()
getSalt in interface javax.crypto.interfaces.PBEKeypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.KeyCopyright 2014-2018 SafeNet. All rights reserved.