Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SignaturePetitionResponseEventArgs.cs
1using System.Xml;
3
5{
10 {
11 private readonly LegalIdentity requestedIdentity;
12 private readonly string petitionId;
13 private readonly byte[] signature;
14 private readonly bool response;
15 private readonly string clientEndpoint;
16 private readonly XmlElement context;
17
29 string PetitionId, byte[] Signature, bool Response, string ClientEndpoint, XmlElement Context)
30 : base(e)
31 {
32 this.requestedIdentity = RequestedIdentity;
33 this.petitionId = PetitionId;
34 this.signature = Signature;
35 this.response = Response;
36 this.clientEndpoint = ClientEndpoint;
37 this.context = Context;
38 }
39
43 public LegalIdentity RequestedIdentity => this.requestedIdentity;
44
48 public string PetitionId => this.petitionId;
49
53 public byte[] Signature => this.signature;
54
58 public bool Response => this.response;
59
63 public string ClientEndpoint => this.clientEndpoint;
64
68 public XmlElement Context => this.context;
69 }
70}
SignaturePetitionResponseEventArgs(MessageEventArgs e, LegalIdentity RequestedIdentity, string PetitionId, byte[] Signature, bool Response, string ClientEndpoint, XmlElement Context)
Event arguments for signature petition responses
XmlElement Context
Any machine-readable context XML element available in the petition.
LegalIdentity RequestedIdentity
Requested identity, if accepted, null if rejected.
Abstract base class of signatures
Definition: Signature.cs:10
Event arguments for message events.