Uses of Class
cn.gmkit.sm9.SM9SignMasterKey
Packages that use SM9SignMasterKey
-
Uses of SM9SignMasterKey in cn.gmkit.sm9
Methods in cn.gmkit.sm9 that return SM9SignMasterKeyModifier and TypeMethodDescriptionstatic SM9SignMasterKeySM9SignMasterKey.generate()生成新的 SM9 签名主密钥(含私有部分)。static SM9SignMasterKeySM9.generateSignMasterKey()生成 SM9 签名主密钥。static SM9SignMasterKeySM9SignMasterKey.importEncryptedMasterKeyInfoPem(String password, String file) 从加密 PEM 文件导入主密钥(含私有部分)。static SM9SignMasterKeySM9SignMasterKey.importPublicMasterKeyPem(String file) 从 PEM 文件导入公开主密钥(仅含公开部分,用于验签)。Methods in cn.gmkit.sm9 with parameters of type SM9SignMasterKeyModifier and TypeMethodDescriptionstatic SM9SignKeySM9.extractSignKey(SM9SignMasterKey master, String id) 派生用户签名私钥。static booleanSM9.verify(SM9SignMasterKey masterPublicKey, String id, byte[] data, byte[] signature) 使用公开主密钥与用户标识验证签名。booleanSM9Signature.verify(byte[] signature, SM9SignMasterKey masterPublicKey, String id) 使用公开主密钥与用户标识完成验签。