bouncycastle.crypto.params.KDFParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of woodlouse Show documentation
Show all versions of woodlouse Show documentation
Lightweight crypto toolkit for Android and Java 6+
The newest version!
package bouncycastle.crypto.params;
import 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;
}
}