FileDocCategorySizeDatePackage
ParametersWithIV.javaAPI DocAzureus 3.0.3.4851Tue Jun 08 05:13:00 BST 2004org.bouncycastle.crypto.params

ParametersWithIV

public class ParametersWithIV extends Object implements org.bouncycastle.crypto.CipherParameters

Fields Summary
private byte[]
iv
private org.bouncycastle.crypto.CipherParameters
parameters
Constructors Summary
public ParametersWithIV(org.bouncycastle.crypto.CipherParameters parameters, byte[] iv)

        this(parameters, iv, 0, iv.length);
    
public ParametersWithIV(org.bouncycastle.crypto.CipherParameters parameters, byte[] iv, int ivOff, int ivLen)

        this.iv = new byte[ivLen];
        this.parameters = parameters;

        System.arraycopy(iv, ivOff, this.iv, 0, ivLen);
    
Methods Summary
public byte[]getIV()

        return iv;
    
public org.bouncycastle.crypto.CipherParametersgetParameters()

        return parameters;