org.gudy.bouncycastle.jce.spec
Class ECPublicKeySpec

java.lang.Object
  extended by org.gudy.bouncycastle.jce.spec.ECKeySpec
      extended by org.gudy.bouncycastle.jce.spec.ECPublicKeySpec
All Implemented Interfaces:
KeySpec

public class ECPublicKeySpec
extends ECKeySpec

Elliptic Curve public key specification


Constructor Summary
ECPublicKeySpec(ECPoint q, ECParameterSpec spec)
          base constructor
 
Method Summary
 ECPoint getQ()
          return the public point q
 
Methods inherited from class org.gudy.bouncycastle.jce.spec.ECKeySpec
getParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPublicKeySpec

public ECPublicKeySpec(ECPoint q,
                       ECParameterSpec spec)
base constructor

Parameters:
q - the public point on the curve.
spec - the domain parameters for the curve.
Method Detail

getQ

public ECPoint getQ()
return the public point q