public class VirgilPBKDF extends VirgilAsn1Compatible implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
VirgilPBKDF.Algorithm |
| Modifier and Type | Field and Description |
|---|---|
static long |
kIterationCount_Default |
swigCMemOwn| Modifier | Constructor and Description |
|---|---|
|
VirgilPBKDF() |
|
VirgilPBKDF(byte[] salt) |
|
VirgilPBKDF(byte[] salt,
long iterationCount) |
protected |
VirgilPBKDF(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
delete() |
byte[] |
derive(byte[] pwd) |
byte[] |
derive(byte[] pwd,
long outSize) |
void |
disableRecommendationsCheck() |
void |
enableRecommendationsCheck() |
protected void |
finalize() |
VirgilPBKDF.Algorithm |
getAlgorithm() |
protected static long |
getCPtr(VirgilPBKDF obj) |
VirgilHash.Algorithm |
getHashAlgorithm() |
long |
getIterationCount() |
byte[] |
getSalt() |
void |
setAlgorithm(VirgilPBKDF.Algorithm alg) |
void |
setHashAlgorithm(VirgilHash.Algorithm hash) |
fromAsn1, getCPtr, toAsn1protected VirgilPBKDF(long cPtr,
boolean cMemoryOwn)
public VirgilPBKDF()
public VirgilPBKDF(byte[] salt,
long iterationCount)
public VirgilPBKDF(byte[] salt)
protected static long getCPtr(VirgilPBKDF obj)
protected void finalize()
finalize in class VirgilAsn1Compatiblepublic void delete()
delete in class VirgilAsn1Compatiblepublic void close()
close in interface AutoCloseableclose in class VirgilAsn1Compatiblepublic byte[] getSalt()
public long getIterationCount()
public void setAlgorithm(VirgilPBKDF.Algorithm alg)
public VirgilPBKDF.Algorithm getAlgorithm()
public void setHashAlgorithm(VirgilHash.Algorithm hash)
public VirgilHash.Algorithm getHashAlgorithm()
public void enableRecommendationsCheck()
public void disableRecommendationsCheck()
public byte[] derive(byte[] pwd,
long outSize)
public byte[] derive(byte[] pwd)
Copyright © 2016. All rights reserved.