org.bouncycastle.jce.spec
Class ECPublicKeySpec

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

public class ECPublicKeySpec
extends ECKeySpec

Elliptic Curve public key specification


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

Field Detail

q

private ECPoint q
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