org.bouncycastle.jce.provider
Class JCEECPublicKey
java.lang.Object
org.bouncycastle.jce.provider.JCEECPublicKey
- ECKey, ECPointEncoder, ECPublicKey, PublicKey
public class JCEECPublicKey
extends java.lang.Object
getAlgorithm
public String getAlgorithm()
getEncoded
public byte[] getEncoded()
getFormat
public String getFormat()
getQ
public org.bouncycastle.math.ec.ECPoint getQ()
return the public point Q
- 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. If the String "COMPRESSED" is passed point
compression will be used. The default is "UNCOMPRESSED".
- setPointFormat in interface ECPointEncoder
style
- the style to use.
toString
public String toString()