java.lang.Object
java.security.spec.ECPublicKeySpec
java.security.spec.SM2PublicKeySpec
- All Implemented Interfaces:
KeySpec
The SM2 public key specification.
-
Constructor Summary
ConstructorsConstructorDescriptionSM2PublicKeySpec(byte[] encodedPubPoint) Creates a new SM2 public key specification with the specifiedCreates a new SM2 public key specification with the specified -
Method Summary
Methods declared in class java.security.spec.ECPublicKeySpec
getParams, getW
-
Constructor Details
-
SM2PublicKeySpec
Creates a new SM2 public key specification with the specified- Parameters:
w- the EC point
-
SM2PublicKeySpec
public SM2PublicKeySpec(byte[] encodedPubPoint) Creates a new SM2 public key specification with the specified- Parameters:
encodedPubPoint- the encoded public key
-