package org.bouncycastle.crypto.params;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class ParametersWithIV implements org.bouncycastle.crypto.CipherParameters {
    private byte[] a;
    private org.bouncycastle.crypto.CipherParameters b;

    public ParametersWithIV(org.bouncycastle.crypto.CipherParameters cipherParameters, byte[] bArr) {
        this(cipherParameters, bArr, 0, bArr.length);
    }

    public byte[] a() {
        return this.a;
    }

    public org.bouncycastle.crypto.CipherParameters b() {
        return this.b;
    }

    public ParametersWithIV(org.bouncycastle.crypto.CipherParameters cipherParameters, byte[] bArr, int i, int i2) {
        byte[] bArr2 = new byte[i2];
        this.a = bArr2;
        this.b = cipherParameters;
        java.lang.System.arraycopy(bArr, i, bArr2, 0, i2);
    }
}
