Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ValidateSignatureEventArgs.cs
1using System;
2
4{
8 public class ValidateSignatureEventArgs : EventArgs
9 {
16 public ValidateSignatureEventArgs(string LegalId, byte[] Data, byte[] Signature)
17 : base()
18 {
19 this.LegalId = LegalId;
20 this.Data = Data;
21 this.Signature = Signature;
22 }
23
28 public string LegalId { get; }
29
33 public byte[] Data { get; }
34
38 public byte[] Signature { get; }
39
44 public bool? Valid { get; set; }
45
49 public LegalIdentity Identity { get; set; }
50 }
51}
bool? Valid
If signature is valid (true), invalid (false), or if signature validation was not performed (null).
LegalIdentity Identity
Legal Identity associated with the LegalId
ValidateSignatureEventArgs(string LegalId, byte[] Data, byte[] Signature)
Event arguments for signature validation events.
string LegalId
Legal identity used to create the signature. If empty, current approved legal identities will be used...
Abstract base class of signatures
Definition: Signature.cs:10