public class BCECGOST3410_2012PublicKey extends java.lang.Object implements java.security.interfaces.ECPublicKey, ECPublicKey, ECPointEncoder
| Constructor and Description |
|---|
BCECGOST3410_2012PublicKey(BCECGOST3410_2012PublicKey key) |
BCECGOST3410_2012PublicKey(java.security.interfaces.ECPublicKey key) |
BCECGOST3410_2012PublicKey(java.security.spec.ECPublicKeySpec spec) |
BCECGOST3410_2012PublicKey(ECPublicKeySpec spec,
ProviderConfiguration configuration) |
BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params) |
BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
java.security.spec.ECParameterSpec spec) |
BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
ECParameterSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
GOST3410PublicKeyAlgParameters |
getGostParams() |
ECParameterSpec |
getParameters()
return a parameter specification representing the EC domain parameters
for the key.
|
java.security.spec.ECParameterSpec |
getParams() |
ECPoint |
getQ()
return the public point Q
|
java.security.spec.ECPoint |
getW() |
int |
hashCode() |
void |
setPointFormat(java.lang.String style)
Set the formatting for encoding of points.
|
java.lang.String |
toString() |
public BCECGOST3410_2012PublicKey(BCECGOST3410_2012PublicKey key)
public BCECGOST3410_2012PublicKey(java.security.spec.ECPublicKeySpec spec)
public BCECGOST3410_2012PublicKey(ECPublicKeySpec spec, ProviderConfiguration configuration)
public BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
java.security.spec.ECParameterSpec spec)
public BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
ECParameterSpec spec)
public BCECGOST3410_2012PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params)
public BCECGOST3410_2012PublicKey(java.security.interfaces.ECPublicKey key)
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.security.spec.ECParameterSpec getParams()
public ECParameterSpec getParameters()
ECKeygetParameters in interface ECKeypublic java.security.spec.ECPoint getW()
public ECPoint getQ()
ECPublicKeygetQ in interface ECPublicKeypublic java.lang.String toString()
toString in class java.lang.Objectpublic void setPointFormat(java.lang.String style)
ECPointEncodersetPointFormat in interface ECPointEncoderstyle - the style to use.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic GOST3410PublicKeyAlgParameters getGostParams()