public class SM2PublicKey
extends java.lang.Object
implements java.security.interfaces.ECPublicKey
| Constructor and Description |
|---|
SM2PublicKey(byte[] key) |
SM2PublicKey(java.security.spec.ECPoint w) |
SM2PublicKey(java.security.interfaces.ECPublicKey ecPublicKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat()
Uncompressed EC point: 0x04||X||Y
|
java.security.spec.ECParameterSpec |
getParams() |
java.security.spec.ECPoint |
getW() |
int |
hashCode() |
public SM2PublicKey(byte[] key)
public SM2PublicKey(java.security.spec.ECPoint w)
public SM2PublicKey(java.security.interfaces.ECPublicKey ecPublicKey)
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.ECPoint getW()
getW in interface java.security.interfaces.ECPublicKeypublic java.security.spec.ECParameterSpec getParams()
getParams in interface java.security.interfaces.ECKeypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object