Ejemplo n.º 1
0
 public BlindSignRequest(BlsKeyPair secretKey, BbsKeyPair publicKey, byte[] commitment, IndexedMessage[] messages)
 {
     SecretKey  = secretKey ?? throw new ArgumentNullException(nameof(secretKey));
     PublicKey  = publicKey ?? throw new ArgumentNullException(nameof(publicKey));
     Commitment = commitment ?? throw new ArgumentNullException(nameof(commitment));
     Messages   = messages ?? throw new ArgumentNullException(nameof(messages));
 }
Ejemplo n.º 2
0
 public VerifyRequest(BlsKeyPair keyPair, byte[] signature, string[] messages)
 {
     KeyPair   = keyPair ?? throw new ArgumentNullException(nameof(keyPair));
     Signature = signature ?? throw new ArgumentNullException(nameof(signature));
     Messages  = messages ?? throw new ArgumentNullException(nameof(messages));
 }