org.bouncycastle.jce.provider

Class JCEECPublicKey

Implemented Interfaces:
ECKey, ECPointEncoder, ECPublicKey, PublicKey

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

Method Summary

boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
ECParameterSpec
getParameters()
ECParameterSpec
getParams()
org.bouncycastle.math.ec.ECPoint
getQ()
int
hashCode()
void
setPointFormat(String style)
Set the formatting for encoding of points.
String
toString()

Method Details

equals

public boolean equals(Object o)

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 org.bouncycastle.math.ec.ECPoint getQ()
Specified by:
getQ in interface ECPublicKey

hashCode

public int hashCode()

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. If the String "COMPRESSED" is passed point compression will be used. The default is "UNCOMPRESSED".
Specified by:
setPointFormat in interface ECPointEncoder
Parameters:
style - the style to use.

toString

public String toString()