Interface SM9SigUserKeyGenerator
- All Known Subinterfaces:
SM9SigMasterPrivateKey
public interface SM9SigUserKeyGenerator
A master private key capable of the KGC user-key extraction for an
identity-based signature scheme: deriving a user's key pair from the user's
identity (GM/T 0044.2-2016 for SM9, where the signature private-key
generation function identifier hid is applied internally).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongenerateUserKeyPair(byte[] identity) Generate the key pair of the user identified byidentity: the private key that signs and the public key a verifier checks against.
-
Method Details
-
generateUserKeyPair
Generate the key pair of the user identified byidentity: the private key that signs and the public key a verifier checks against. This derivation is a KGC operation and is deterministic - the same master key and identity always yield the same pair.- Parameters:
identity- the user's identity.- Returns:
- the user's key pair.
-