org.bouncycastle.pqc.crypto.mceliece.McElieceCCA2KeyGenerationParameters 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-jdk15on
Show all versions of org.apache.servicemix.bundles.bcprov-jdk15on
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package org.bouncycastle.pqc.crypto.mceliece;
import java.security.SecureRandom;
import org.bouncycastle.crypto.KeyGenerationParameters;
public class McElieceCCA2KeyGenerationParameters
extends KeyGenerationParameters
{
private McElieceCCA2Parameters params;
public McElieceCCA2KeyGenerationParameters(
SecureRandom random,
McElieceCCA2Parameters params)
{
// XXX key size?
super(random, 128);
this.params = params;
}
public McElieceCCA2Parameters getParameters()
{
return params;
}
}