示例#1
0
 public static extern unsafe int SignHashWithDomain([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *hashWithDomain);
示例#2
0
 public static extern void GetPublicKey([In, Out] ref BlsPublicKey pub, ref BlsSecretKey sec);
示例#3
0
 public static extern unsafe int SignHash([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *h, int size);
示例#4
0
 public static extern unsafe void Sign([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *m, int size);
示例#5
0
 public static extern unsafe int SecretKeySerialize(byte *buf, int maxBufSize, ref BlsSecretKey sec);
示例#6
0
 public static extern unsafe int SecretKeyDeserialize([In, Out] ref BlsSecretKey sec, byte *buf, int bufSize);
 public static extern void GetPublicKey(out BlsPublicKey pub, BlsSecretKey sec);