package org.bouncycastle.jcajce; import javax.crypto.interfaces.PBEKey; import org.bouncycastle.crypto.CharToByteConverter; import org.bouncycastle.util.Arrays; /* loaded from: classes6.dex */ public class PBKDF2KeyWithParameters extends PBKDF2Key implements PBEKey { private final int iterationCount; private final byte[] salt; @Override // javax.crypto.interfaces.PBEKey public byte[] getSalt() { return this.salt; } @Override // javax.crypto.interfaces.PBEKey public int getIterationCount() { return this.iterationCount; } public PBKDF2KeyWithParameters(char[] cArr, CharToByteConverter charToByteConverter, byte[] bArr, int i) { super(cArr, charToByteConverter); this.salt = Arrays.clone(bArr); this.iterationCount = i; } }