public interface SM9SigMasterPublicKey
extends java.security.PublicKey
| Modifier and Type | Method and Description |
|---|---|
java.security.PublicKey |
getUserPublicKey(byte[] identity)
Return the public key of the user identified by
identity: the key a signature
from that user verifies against. |
java.security.PublicKey getUserPublicKey(byte[] identity)
identity: 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.
The key returned is always an SM9SigUserPublicKey, which gives back the identity
and the master public key it was formed from, and a caller may rely on the cast; the
declared type stays PublicKey so that code compiled against it keeps linking.
identity - the user's identity.SM9SigUserPublicKey.