org.bouncycastle.jce.provider
public class JCEECPublicKey extends java.lang.Object implements ECPublicKey, ECPointEncoder
Constructor and Description |
---|
JCEECPublicKey(java.lang.String algorithm,
ECPublicKeyParameters params) |
JCEECPublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
ECParameterSpec spec) |
JCEECPublicKey(java.lang.String algorithm,
ECPublicKeySpec spec) |
JCEECPublicKey(java.lang.String algorithm,
JCEECPublicKey key) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.math.ec.ECPoint |
engineGetQ() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
ECParameterSpec |
getParameters()
return a parameter specification representing the EC domain parameters
for the key.
|
ECParameterSpec |
getParams()
return a parameter specification representing the EC domain parameters
for the key.
|
org.bouncycastle.math.ec.ECPoint |
getQ()
return the public point Q
|
int |
hashCode() |
void |
setPointFormat(java.lang.String style)
Set the formatting for encoding of points.
|
java.lang.String |
toString() |
public JCEECPublicKey(java.lang.String algorithm, JCEECPublicKey key)
public JCEECPublicKey(java.lang.String algorithm, ECPublicKeySpec spec)
public JCEECPublicKey(java.lang.String algorithm, ECPublicKeyParameters params, ECParameterSpec spec)
public JCEECPublicKey(java.lang.String algorithm, ECPublicKeyParameters params)
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public ECParameterSpec getParams()
ECKey
public ECParameterSpec getParameters()
ECKey
getParameters
in interface ECKey
public org.bouncycastle.math.ec.ECPoint getQ()
ECPublicKey
getQ
in interface ECPublicKey
public org.bouncycastle.math.ec.ECPoint engineGetQ()
public java.lang.String toString()
toString
in class java.lang.Object
public void setPointFormat(java.lang.String style)
ECPointEncoder
setPointFormat
in interface ECPointEncoder
style
- the style to use.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object