Package org.bouncycastle.crypto.params
Interface SM9SigUserKeyParametersGenerator
-
- All Known Implementing Classes:
SM9SigMasterPrivateKeyParameters
public interface SM9SigUserKeyParametersGeneratorA master key capable of the KGC user-key extraction for an identity-based signature scheme: deriving a user's signature private key 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:
SM9EncUserKeyParametersGenerator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SM9SigPrivateKeyParametersgenerateUserKey(byte[] identity)Derive the signature private key of the user identified byidentity, a deterministic KGC operation - the same master key and identity always yield the same user key.
-
-
-
Method Detail
-
generateUserKey
SM9SigPrivateKeyParameters generateUserKey(byte[] identity)
Derive the signature private key of the user identified byidentity, a deterministic KGC operation - the same master key and identity always yield the same user key.- Parameters:
identity- the user's identity.- Returns:
- the user's signature private key.
-
-