| 程序包 | 说明 |
|---|---|
| cn.bitfactory.encryption.utils.sm2 |
| 限定符和类型 | 方法和说明 |
|---|---|
SM2KeyPair |
SM2.generateKeyPair()
生成密钥对
|
static SM2KeyPair |
SM2.getSM2KeyPair() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
SM2.getRawPubKey(SM2KeyPair sm2KeyPair) |
static byte[] |
SM2.getRawSkey(SM2KeyPair sm2KeyPair) |
static SM2.Signature |
SM2.sign(String M,
String IDA,
SM2KeyPair keyPair)
签名
|
static byte[] |
SM2.signWithBytes(String M,
String IDA,
SM2KeyPair keyPair)
签名
|
Copyright © 2025. All rights reserved.