Bouncy Castle Cryptography Library 1.87

org.bouncycastle.jcajce.interfaces
Interface SM9SigUserPrivateKey

All Superinterfaces:
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
 byte[] getIdentity()
          The identity this key was derived for.
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Method Detail

getIdentity

public byte[] getIdentity()
The identity this key was derived for.

Returns:
the user's identity.

Bouncy Castle Cryptography Library 1.87