org.bouncycastle.jce.provider

Class JCEECPublicKey

Implemented Interfaces:
ECKey, ECPointEncoder, ECPublicKey, PublicKey

public class JCEECPublicKey
extends java.lang.Object
implements ECPublicKey, ECPointEncoder

Method Summary

String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
ECParameterSpec
getParameters()
ECParameterSpec
getParams()
ECPoint
getQ()
return the public point Q
void
setPointFormat(String style)
Set the formatting for encoding of points.
String
toString()

Method Details

getAlgorithm

public String getAlgorithm()


getEncoded

public byte[] getEncoded()


getFormat

public String getFormat()


getParameters

public ECParameterSpec getParameters()
Specified by:
getParameters in interface ECKey


getParams

public ECParameterSpec getParams()
Specified by:
getParams in interface ECKey


getQ

public ECPoint getQ()
return the public point Q
Specified by:
getQ in interface ECPublicKey


setPointFormat

public void setPointFormat(String style)
Set the formatting for encoding of points. If the String "UNCOMPRESSED" is passed in point compression will not be used. The default is "COMPRESSED".
Specified by:
setPointFormat in interface ECPointEncoder

Parameters:
style - the style to use.


toString

public String toString()