Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'prov/src/main/java/org/bouncycastle/jcajce/spec/PBKDF2KeySpec.java')
-rw-r--r--prov/src/main/java/org/bouncycastle/jcajce/spec/PBKDF2KeySpec.java35
1 files changed, 0 insertions, 35 deletions
diff --git a/prov/src/main/java/org/bouncycastle/jcajce/spec/PBKDF2KeySpec.java b/prov/src/main/java/org/bouncycastle/jcajce/spec/PBKDF2KeySpec.java
deleted file mode 100644
index 09a9bd0b..00000000
--- a/prov/src/main/java/org/bouncycastle/jcajce/spec/PBKDF2KeySpec.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package org.bouncycastle.jcajce.spec;
-
-import javax.crypto.spec.PBEKeySpec;
-
-import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
-
-/**
- * Extension of PBEKeySpec which takes into account the PRF algorithm setting available in PKCS#5 PBKDF2.
- */
-public class PBKDF2KeySpec
- extends PBEKeySpec
-{
- private AlgorithmIdentifier prf;
-
- /**
- * Base constructor.
- *
- * @param password password to use as the seed of the PBE key generator.
- * @param salt salt to use in the generator,
- * @param iterationCount iteration count to use in the generator.
- * @param keySize size of the key to be generated.
- * @param prf identifier and parameters for the PRF algorithm to use.
- */
- 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;
- }
-}