Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SignaturePetitionEventArgs.cs
1using System.Xml;
3
5{
10 {
11 private readonly LegalIdentity requestorIdentity;
12 private readonly string requestorFullJid;
13 private readonly string signatoryIdentityId;
14 private readonly string petitionId;
15 private readonly string purpose;
16 private readonly byte[] content;
17 private readonly string clientEndpoint;
18 private readonly XmlElement context;
19
33 string SignatoryIdentityId, string PetitionId, string Purpose, byte[] Content, string ClientEndpoint, XmlElement Context)
34 : base(e)
35 {
36 this.requestorIdentity = RequestorIdentity;
37 this.requestorFullJid = RequestorFullJid;
38 this.signatoryIdentityId = SignatoryIdentityId;
39 this.petitionId = PetitionId;
40 this.purpose = Purpose;
41 this.content = Content;
42 this.clientEndpoint = ClientEndpoint;
43 this.context = Context;
44 }
45
49 public LegalIdentity RequestorIdentity => this.requestorIdentity;
50
54 public string RequestorFullJid => this.requestorFullJid;
55
59 public string SignatoryIdentityId => this.signatoryIdentityId;
60
64 public string PetitionId => this.petitionId;
65
69 public string Purpose => this.purpose;
70
74 public byte[] ContentToSign => this.content;
75
79 public string ClientEndpoint => this.clientEndpoint;
80
84 public XmlElement Context => this.context;
85 }
86}
SignaturePetitionEventArgs(MessageEventArgs e, LegalIdentity RequestorIdentity, string RequestorFullJid, string SignatoryIdentityId, string PetitionId, string Purpose, byte[] Content, string ClientEndpoint, XmlElement Context)
Event arguments for legal identity petitions
XmlElement Context
Any machine-readable context XML element available in the petition.
Event arguments for message events.
XmlElement Content
Content of the message. For messages that are processed by registered message handlers,...