public class SM2 extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
BigInteger |
ecc_a |
BigInteger |
ecc_b |
org.bouncycastle.crypto.params.ECDomainParameters |
ecc_bc_spec |
org.bouncycastle.math.ec.ECCurve |
ecc_curve |
BigInteger |
ecc_gx |
BigInteger |
ecc_gy |
org.bouncycastle.crypto.generators.ECKeyPairGenerator |
ecc_key_pair_generator |
BigInteger |
ecc_n |
BigInteger |
ecc_p |
static String[] |
ecc_param |
org.bouncycastle.math.ec.ECPoint |
ecc_point_g |
static SecureRandom |
random |
| 构造器和说明 |
|---|
SM2() |
public static final String[] ecc_param
public final BigInteger ecc_p
public final BigInteger ecc_a
public final BigInteger ecc_b
public final BigInteger ecc_n
public final BigInteger ecc_gx
public final BigInteger ecc_gy
public final org.bouncycastle.math.ec.ECCurve ecc_curve
public final org.bouncycastle.math.ec.ECPoint ecc_point_g
public final org.bouncycastle.crypto.params.ECDomainParameters ecc_bc_spec
public final org.bouncycastle.crypto.generators.ECKeyPairGenerator ecc_key_pair_generator
public static SecureRandom random
public static SM2 Instance()
public void sm2Sign(byte[] md,
BigInteger userD,
org.bouncycastle.math.ec.ECPoint userKey,
SM2Result sm2Result)
Copyright © 2022. All rights reserved.