Beispiel #1
0
 public static extern unsafe int SignHashWithDomain([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *hashWithDomain);
Beispiel #2
0
 public static extern void GetPublicKey([In, Out] ref BlsPublicKey pub, ref BlsSecretKey sec);
Beispiel #3
0
 public static extern unsafe int SignHash([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *h, int size);
Beispiel #4
0
 public static extern unsafe void Sign([In, Out] ref BlsSignature sig, ref BlsSecretKey sec, byte *m, int size);
Beispiel #5
0
 public static extern unsafe int SecretKeySerialize(byte *buf, int maxBufSize, ref BlsSecretKey sec);
Beispiel #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);