bouncycastle.crypto.params.ECKeyGenerationParameters 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 java.security.SecureRandom;
import bouncycastle.crypto.KeyGenerationParameters;
public class ECKeyGenerationParameters
extends KeyGenerationParameters
{
private ECDomainParameters domainParams;
public ECKeyGenerationParameters(
ECDomainParameters domainParams,
SecureRandom random)
{
super(random, domainParams.getN().bitLength());
this.domainParams = domainParams;
}
public ECDomainParameters getDomainParameters()
{
return domainParams;
}
}