org.testifyproject.bouncycastle.crypto.params.KDFParameters Maven / Gradle / Ivy
package org.testifyproject.bouncycastle.crypto.params;
import org.testifyproject.bouncycastle.crypto.DerivationParameters;
/**
* parameters for Key org.testifyproject.testifyprojectrivation functions for IEEE P1363a
*/
public class KDFParameters
implements DerivationParameters
{
byte[] iv;
byte[] shared;
public KDFParameters(
byte[] shared,
byte[] iv)
{
this.shared = shared;
this.iv = iv;
}
public byte[] getSharedSecret()
{
return shared;
}
public byte[] getIV()
{
return iv;
}
}