org.bouncycastle.jcajce.interfaces
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:
SM9EncUserKeyGenerator
|
Method Summary |
java.security.KeyPair |
generateUserKeyPair(byte[] identity)
Generate the key pair of the user identified by : the private key
that signs and the public key a verifier checks against. |
generateUserKeyPair
public java.security.KeyPair generateUserKeyPair(byte[] identity)
- Generate the key pair of the user identified by : 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.