Bouncy Castle Cryptography Library 1.87

org.bouncycastle.jcajce.interfaces
Interface SM9SigUserPublicKey

All Superinterfaces:
java.security.Key, java.security.PublicKey, java.io.Serializable

public interface SM9SigUserPublicKey
extends java.security.PublicKey

Interface for a user's SM9 (GM/T 0044.2) signature public key: the signature master public key bound to the user's identity, the key an Signature verifies against. Obtained from SM9SigMasterPublicKey.getUserPublicKey(byte[]).


Field Summary
 
Fields inherited from interface java.security.PublicKey
serialVersionUID
 
Method Summary
 byte[] getIdentity()
          The identity this key was derived for.
 SM9SigMasterPublicKey getMasterPublicKey()
          The signature master public key this key was derived from.
 
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.

getMasterPublicKey

public SM9SigMasterPublicKey getMasterPublicKey()
The signature master public key this key was derived from.

Returns:
the signature master public key.

Bouncy Castle Cryptography Library 1.87