blob: f3bac6479f1f7a39167f295262056609909d6468 [file] [log] [blame]
package org.bouncycastle.crypto.params;
import org.bouncycastle.crypto.DerivationParameters;
/**
* parameters for Key derivation 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;
}
}