public interface SM9EncUserPublicKey
extends java.security.PublicKey
SM9EncMasterPublicKey.getUserPublicKey(byte[]).
Usage warning: an identity's key should be used for Cipher.SM9 or for
the SM9 KEM, but not for both. Which of the two an identity's key is for is the KGC's to
fix, by publishing a separate hid for each.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIdentity()
The identity this key was derived for.
|
SM9EncMasterPublicKey |
getMasterPublicKey()
The encryption master public key this key was derived from.
|
byte[] getIdentity()
SM9EncMasterPublicKey getMasterPublicKey()