ParametersWithIVpublic 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);
|
|