blob: 68629058b71cd95bd6bd08b16479bb34d28ef29d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.spongycastle.jcajce.spec;
import javax.crypto.spec.PBEKeySpec;
import org.spongycastle.asn1.x509.AlgorithmIdentifier;
public class PBKDF2KeySpec
extends PBEKeySpec
{
private AlgorithmIdentifier prf;
public PBKDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf)
{
super(password, salt, iterationCount, keySize);
this.prf = prf;
}
public AlgorithmIdentifier getPrf()
{
return prf;
}
}
|