Interface SM9EncUserPublicKey
- All Superinterfaces:
AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, Serializable
Interface for an SM9 (GM/T 0044.4) recipient's encryption public key: an encryption
master public key bound to a recipient identity. Obtained from
SM9EncMasterPublicKey.getUserPublicKey(byte[]).-
Field Summary
Fields inherited from interface PublicKey
serialVersionUID -
Method Summary
Modifier and TypeMethodDescriptionbyte[]The identity this key was derived for.The encryption master public key this key was derived from.Methods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Key
getAlgorithm, getEncoded, getFormat
-
Method Details
-
getIdentity
byte[] getIdentity()The identity this key was derived for.- Returns:
- the recipient's identity.
-
getMasterPublicKey
SM9EncMasterPublicKey getMasterPublicKey()The encryption master public key this key was derived from.- Returns:
- the encryption master public key.
-