public class GMUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getDefaultIDA() |
static byte[] |
getSM2Z(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
BigInteger pubPointX,
BigInteger pubPointY) |
static byte[] |
getSM2Z(byte[] userID,
org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
BigInteger pubPointX,
BigInteger pubPointY) |
static boolean |
isSm2primev2Curve(org.bouncycastle.math.ec.ECCurve curve) |
static boolean |
isSm2primev2Curve(EllipticCurve curve) |
public static byte[] getSM2Z(org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
BigInteger pubPointX,
BigInteger pubPointY)
public static byte[] getDefaultIDA()
public static byte[] getSM2Z(byte[] userID,
org.bouncycastle.asn1.ASN1ObjectIdentifier curveOid,
BigInteger pubPointX,
BigInteger pubPointY)
public static boolean isSm2primev2Curve(EllipticCurve curve)
public static boolean isSm2primev2Curve(org.bouncycastle.math.ec.ECCurve curve)
Copyright © 2018. All rights reserved.