Interface SM9SigUserPublicKey
-
- All Superinterfaces:
java.security.Key,java.security.PublicKey,java.io.Serializable
public interface SM9SigUserPublicKey extends java.security.PublicKeyInterface for a user's SM9 (GM/T 0044.2) signature public key: the signature master public key bound to the user's identity, the key anSM9Signatureverifies against. Obtained fromSM9SigMasterPublicKey.getUserPublicKey(byte[]).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getIdentity()The identity this key was derived for.SM9SigMasterPublicKeygetMasterPublicKey()The signature master public key this key was derived from.
-
-
-
Method Detail
-
getIdentity
byte[] getIdentity()
The identity this key was derived for.- Returns:
- the user's identity.
-
getMasterPublicKey
SM9SigMasterPublicKey getMasterPublicKey()
The signature master public key this key was derived from.- Returns:
- the signature master public key.
-
-