org.bouncycastle.crypto.params.ECPublicKeyParameters Maven / Gradle / Ivy
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;
}
}