Interface SM9SigUserPrivateKey

  • All Superinterfaces:
    javax.security.auth.Destroyable, java.security.Key, java.security.PrivateKey, java.io.Serializable

    public interface SM9SigUserPrivateKey
    extends java.security.PrivateKey
    Interface for a user's SM9 (GM/T 0044.2) signature private key (ds_A), derived by the KGC from the signature master private key and the user's identity.
    • Field Summary

      • Fields inherited from interface java.security.PrivateKey

        serialVersionUID
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] getIdentity()
      The identity this key was derived for.
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
      • Methods inherited from interface java.security.Key

        getAlgorithm, getEncoded, getFormat
    • Method Detail

      • getIdentity

        byte[] getIdentity()
        The identity this key was derived for.
        Returns:
        the user's identity.