Class SM9EncPublicKeyParameters

java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.SM9EncPublicKeyParameters
All Implemented Interfaces:
CipherParameters

public class SM9EncPublicKeyParameters extends AsymmetricKeyParameter
An SM9 recipient's encryption public key: the identity together with the encryption master public key from which the recipient point Q is derived (GM/T 0044.4-2016). Obtained from SM9EncMasterPublicKeyParameters.getUserPublicKey(byte[]) and passed to the SM9KEMGenerator when encapsulating a key to a given identity.
  • Method Details

    • getMasterPublicKey

      public SM9EncMasterPublicKeyParameters getMasterPublicKey()
    • getIdentity

      public byte[] getIdentity()
    • getHid

      public byte getHid()
      The private-key generation function identifier hid this public key's Q point is formed under - the KGC's published choice, 0x03 for a KEM / encryption recipient key.