org.bouncycastle.crypto.params.ECPublicKeyParameters.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.crypto.params.ECPublicKeyParameters.java

Source

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;
    }
}