Interface SM9EncUserPublicKey
-
- All Superinterfaces:
java.security.Key,java.security.PublicKey,java.io.Serializable
public interface SM9EncUserPublicKey extends java.security.PublicKeyInterface for an SM9 (GM/T 0044.4) recipient's encryption public key: an encryption master public key bound to a recipient identity. Obtained fromSM9EncMasterPublicKey.getUserPublicKey(byte[]).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getIdentity()The identity this key was derived for.SM9EncMasterPublicKeygetMasterPublicKey()The encryption master public key this key was derived from.
-
-
-
Method Detail
-
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.
-
-