// 
// Decompiled by Procyon v0.6.0
// 

package org.bouncycastle.crypto.params;

import org.bouncycastle.crypto.CipherParameters;

public class ParametersWithIV implements CipherParameters
{
    private byte[] iv;
    private CipherParameters parameters;
    
    public ParametersWithIV(final CipherParameters cipherParameters, final byte[] array) {
        this(cipherParameters, array, 0, array.length);
    }
    
    public ParametersWithIV(final CipherParameters parameters, final byte[] array, final int n, final int n2) {
        this.iv = new byte[n2];
        this.parameters = parameters;
        System.arraycopy(array, n, this.iv, 0, n2);
    }
    
    public byte[] getIV() {
        return this.iv;
    }
    
    public CipherParameters getParameters() {
        return this.parameters;
    }
}
