Class SM9SigMasterPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.SM9SigMasterPublicKeyParameters
- All Implemented Interfaces:
CipherParameters
SM9 signature master public key P_pub-s = [ks]P2, a point of G2
(GM/T 0044.2-2016). Held by verifiers and used to derive users' public keys
from their identities.
-
Method Summary
Modifier and TypeMethodDescriptionfromEncoded(byte[] enc) byte[]The master public key point P_pub-s of G2 in uncompressed form (0x04 || x || y, 129 bytes).Methods inherited from class AsymmetricKeyParameter
isPrivate
-
Method Details
-
getPointG2
-
getEncoded
public byte[] getEncoded()The master public key point P_pub-s of G2 in uncompressed form (0x04 || x || y, 129 bytes). -
fromEncoded
-