Bouncy Castle Cryptography Library 1.86

org.bouncycastle.crypto.params
Class SM9SigMasterPublicKeyParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.params.AsymmetricKeyParameter
      extended byorg.bouncycastle.crypto.params.SM9SigMasterPublicKeyParameters
All Implemented Interfaces:
CipherParameters

public class SM9SigMasterPublicKeyParameters
extends AsymmetricKeyParameter

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
static SM9SigMasterPublicKeyParameters fromEncoded(byte[] enc)
           
 byte[] getEncoded()
          The master public key point P_pub-s of G2 in uncompressed form (0x04 || x || y, 129 bytes).
 SM9G2Point getPointG2()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPointG2

public SM9G2Point getPointG2()

getEncoded

public byte[] getEncoded()
The master public key point P_pub-s of G2 in uncompressed form (0x04 || x || y, 129 bytes).


fromEncoded

public static SM9SigMasterPublicKeyParameters fromEncoded(byte[] enc)

Bouncy Castle Cryptography Library 1.86