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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.security.KeyPair generateUserKeyPair​(byte[] identity)
      Generate the key pair of the user identified by identity: the private key that signs and the public key a verifier checks against.
    • Method Detail

      • generateUserKeyPair

        java.security.KeyPair generateUserKeyPair​(byte[] identity)
        Generate the key pair of the user identified by identity: 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.