Class SM9EncPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.SM9EncPublicKeyParameters
- All Implemented Interfaces:
CipherParameters
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 Summary
Modifier and TypeMethodDescriptionbytegetHid()The private-key generation function identifier hid this public key's Q point is formed under - the KGC's published choice,0x03for a KEM / encryption recipient key.byte[]Methods inherited from class AsymmetricKeyParameter
isPrivate
-
Method Details
-
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,0x03for a KEM / encryption recipient key.
-