public class BCDSTU4145PublicKey extends java.lang.Object implements java.security.interfaces.ECPublicKey, ECPublicKey, ECPointEncoder
Constructor and Description |
---|
BCDSTU4145PublicKey(BCDSTU4145PublicKey key) |
BCDSTU4145PublicKey(java.security.spec.ECPublicKeySpec spec) |
BCDSTU4145PublicKey(ECPublicKeySpec spec,
ProviderConfiguration configuration) |
BCDSTU4145PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params) |
BCDSTU4145PublicKey(java.lang.String algorithm,
ECPublicKeyParameters params,
java.security.spec.ECParameterSpec spec) |
BCDSTU4145PublicKey(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() |
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
|
byte[] |
getSbox() |
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 BCDSTU4145PublicKey(BCDSTU4145PublicKey key)
public BCDSTU4145PublicKey(java.security.spec.ECPublicKeySpec spec)
public BCDSTU4145PublicKey(ECPublicKeySpec spec, ProviderConfiguration configuration)
public BCDSTU4145PublicKey(java.lang.String algorithm, ECPublicKeyParameters params, java.security.spec.ECParameterSpec spec)
public BCDSTU4145PublicKey(java.lang.String algorithm, ECPublicKeyParameters params, ECParameterSpec spec)
public BCDSTU4145PublicKey(java.lang.String algorithm, ECPublicKeyParameters params)
public byte[] getSbox()
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 java.security.spec.ECParameterSpec getParams()
public ECParameterSpec getParameters()
ECKey
getParameters
in interface ECKey
public java.security.spec.ECPoint getW()
public ECPoint getQ()
ECPublicKey
getQ
in interface ECPublicKey
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