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.PBEKey
public char[] getPassword()
getPassword
in interface javax.crypto.interfaces.PBEKey
public byte[] getSalt()
getSalt
in interface javax.crypto.interfaces.PBEKey
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
Copyright 2014-2018 SafeNet. All rights reserved.