Interface SM9SigMasterPublicKey
-
- All Superinterfaces:
java.security.Key,java.security.PublicKey,java.io.Serializable
public interface SM9SigMasterPublicKey extends java.security.PublicKeyInterface for an SM9 (GM/T 0044) signature master public key, the published root of the identity-based scheme.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.PublicKeygetUserPublicKey(byte[] identity)Return the public key of the user identified byidentity: the key a signature from that user verifies against.
-
-
-
Method Detail
-
getUserPublicKey
java.security.PublicKey getUserPublicKey(byte[] identity)
Return the public key of the user identified byidentity: the key a signature from that user verifies against. It is derived from the master public key and the identity alone, so any verifier holding the published master public key can construct it - no certificate or KGC interaction is needed.- Parameters:
identity- the user's identity.- Returns:
- the user's public key.
-
-