Uses of Class
cn.gmkit.sm9.SM9EncMasterKey
Packages that use SM9EncMasterKey
-
Uses of SM9EncMasterKey in cn.gmkit.sm9
Methods in cn.gmkit.sm9 that return SM9EncMasterKeyModifier and TypeMethodDescriptionstatic SM9EncMasterKeySM9EncMasterKey.generate()生成新的 SM9 加密主密钥(含私有部分)。static SM9EncMasterKeySM9.generateEncMasterKey()生成 SM9 加密主密钥。static SM9EncMasterKeySM9EncMasterKey.importEncryptedMasterKeyInfoPem(String password, String file) 从加密 PEM 文件导入主密钥(含私有部分)。static SM9EncMasterKeySM9EncMasterKey.importPublicMasterKeyPem(String file) 从 PEM 文件导入公开主密钥(仅含公开部分,用于加密)。Methods in cn.gmkit.sm9 with parameters of type SM9EncMasterKeyModifier and TypeMethodDescriptionstatic byte[]SM9.encrypt(SM9EncMasterKey masterPublicKey, String id, byte[] plaintext) 使用公开主密钥向指定用户标识加密明文。static SM9EncKeySM9.extractEncKey(SM9EncMasterKey master, String id) 派生用户解密私钥。