org.bouncycastle.crypto.params.ECPublicKeyParameters 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.crypto.params;
import org.bouncycastle.math.ec.ECPoint;
public class ECPublicKeyParameters
extends ECKeyParameters
{
private final ECPoint q;
public ECPublicKeyParameters(
ECPoint q,
ECDomainParameters parameters)
{
super(false, parameters);
this.q = parameters.validatePublicPoint(q);
}
public ECPoint getQ()
{
return q;
}
}