File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/java/cn/jiguang/common/utils/sm2 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 11package cn .jiguang .common .utils .sm2 ;
22
3+ import cn .jiguang .common .utils .Base64 ;
34import org .bouncycastle .crypto .AsymmetricCipherKeyPair ;
45import org .bouncycastle .crypto .InvalidCipherTextException ;
56import org .bouncycastle .crypto .engines .SM2Engine ;
@@ -37,6 +38,7 @@ public class SM2Util extends GMBaseUtil {
3738 public static final ECDomainParameters DOMAIN_PARAMS = new ECDomainParameters (CURVE , G_POINT ,
3839 SM2_ECC_N , SM2_ECC_H );
3940 public static final int CURVE_LEN = BCECUtil .getCurveLength (DOMAIN_PARAMS );
41+ //////////////////////////////////////////////////////////////////////////////////////
4042
4143 public static final EllipticCurve JDK_CURVE = new EllipticCurve (new ECFieldFp (SM2_ECC_P ), SM2_ECC_A , SM2_ECC_B );
4244 public static final java .security .spec .ECPoint JDK_G_POINT = new java .security .spec .ECPoint (
You can’t perform that action at this time.
0 commit comments