public bool Verify(byte[] sign, byte[] digest) { return(SM2Utils.VerifyData(Hash(digest), sign, key.pubk)); }
public byte[] Sign(byte[] digest) { return(SM2Utils.Sign(Hash(digest), key.prik)); }