org.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 org.apache.servicemix.bundles.bcprov-jdk16
Show all versions of org.apache.servicemix.bundles.bcprov-jdk16
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
package org.bouncycastle.crypto.params;
import java.security.SecureRandom;
import org.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;
}
}