forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaher.Networking.XMPP.Contracts.xml
More file actions
4901 lines (4895 loc) · 261 KB
/
Waher.Networking.XMPP.Contracts.xml
File metadata and controls
4901 lines (4895 loc) · 261 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>Waher.Networking.XMPP.Contracts</name>
</assembly>
<members>
<member name="T:Waher.Networking.XMPP.Contracts.Attachment">
<summary>
Contains a reference to an attachment assigned to a legal object.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Attachment.#ctor">
<summary>
Contains a reference to an attachment assigned to a legal object.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.Id">
<summary>
Attachment ID
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.LegalId">
<summary>
Legal ID of uploader of attachment
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.ContentType">
<summary>
Internet Content Type of binary attachment.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.FileName">
<summary>
Filename of attachment.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.Url">
<summary>
URL to retrieve attachment, if provided.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.Signature">
<summary>
Binary signature of the attachment, generated by an approved legal identity of the account-holder.
If no signature, attribute is null.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Attachment.Timestamp">
<summary>
Timestamp of signature. If no signature, value is <see cref="F:System.DateTime.MinValue"/>
</summary>
</member>
<member name="T:Waher.Networking.XMPP.Contracts.ClientSignature">
<summary>
Represents a digital signature on a contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.LegalId">
<summary>
ID of legal identity signing the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.LegalIdUri">
<summary>
ID of legal identity signing the contract, as an URI.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.LegalIdUriString">
<summary>
ID of legal identity signing the contract, as an URI string.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.BareJid">
<summary>
Bare JID of the client used to generate the signature.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.Role">
<summary>
Role of the legal identity in the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ClientSignature.Transferable">
<summary>
If the signature is transferable to contracts based on the current contract as a template,
and if no parameters and attributes change in the contract.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ClientSignature.Serialize(System.Text.StringBuilder)">
<summary>
Serializes the signature, in normalized form.
</summary>
<param name="Xml">XML Output</param>
</member>
<member name="T:Waher.Networking.XMPP.Contracts.Contract">
<summary>
Contains the definition of a contract
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.#ctor">
<summary>
Contains the definition of a contract
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ContractId">
<summary>
Contract identity
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ContractIdUri">
<summary>
Contract identity, as an URI.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ContractIdUriString">
<summary>
Contract identity, as an URI string.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Provider">
<summary>
JID of the Trust Provider hosting the contract
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.TemplateId">
<summary>
Contract identity of template, if one was used to create the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.TemplateIdUri">
<summary>
Contract identity of template, if one was used to create the contract, as an URI.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.TemplateIdUriString">
<summary>
Contract identity of template, if one was used to create the contract, as an URI string.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.State">
<summary>
Contract state
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Created">
<summary>
When the contract was created
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Updated">
<summary>
When the contract was last updated
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.From">
<summary>
From when the contract is valid (if signed)
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.To">
<summary>
Until when the contract is valid (if signed)
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.SignAfter">
<summary>
Signatures will only be accepted after this point in time.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.SignBefore">
<summary>
Signatures will only be accepted until this point in time.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Visibility">
<summary>
Contrat Visibility
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Duration">
<summary>
Duration of the contract. Is counted from the time it is signed by the required parties.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ArchiveRequired">
<summary>
Requied time to archive a signed smart contract, after it becomes obsolete.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ArchiveOptional">
<summary>
Optional time to archive a signed smart contract, after it becomes obsolete, and after its required archivation period.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ContentSchemaDigest">
<summary>
The hash digest of the schema used to validate the machine-readable contents (<see cref="P:Waher.Networking.XMPP.Contracts.Contract.ForMachines"/>) of the smart contract,
if such a schema was used.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ContentSchemaHashFunction">
<summary>
Hash function of the schema used to validate the machine-readable contents (<see cref="P:Waher.Networking.XMPP.Contracts.Contract.ForMachines"/>) of the smart contract,
if such a schema was used.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Roles">
<summary>
Roles defined in the smart contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.PartsMode">
<summary>
How parts are defined in the smart contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Parts">
<summary>
Defined parts for the smart contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Parameters">
<summary>
Defined parameters for the smart contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ForMachines">
<summary>
Machine-readable contents of the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ForMachinesNamespace">
<summary>
Namespace used by the root node of the machine-readable contents of the contract (<see cref="P:Waher.Networking.XMPP.Contracts.Contract.ForMachines"/>).
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ForMachinesLocalName">
<summary>
Local name used by the root node of the machine-readable contents of the contract (<see cref="P:Waher.Networking.XMPP.Contracts.Contract.ForMachines"/>).
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ForHumans">
<summary>
Human-readable contents of the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ClientSignatures">
<summary>
Client signatures of the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Attachments">
<summary>
Attachments assigned to the legal identity.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.ServerSignature">
<summary>
Server signature attesting to the validity of the contents of the contract.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.CanActAsTemplate">
<summary>
If the contract can act as a template for other contracts.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.Parse(System.Xml.XmlDocument,System.Boolean@)">
<summary>
Validates a contract XML Document, and returns the contract definition in it.
</summary>
<param name="Xml">XML representation</param>
<param name="HasStatus">If a status element was found.</param>
<returns>Parsed contract, or null if it contains errors.</returns>
<exception cref="T:System.Exception">If XML is invalid.</exception>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.Parse(System.Xml.XmlElement,System.Boolean@)">
<summary>
Parses a contract from is XML representation.
</summary>
<param name="Xml">XML representation</param>
<param name="HasStatus">If a status element was found.</param>
<returns>Parsed contract, or null if it contains errors.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.NormalizeXml(System.Xml.XmlElement,System.Text.StringBuilder,System.String)">
<summary>
Normalizes an XML element.
</summary>
<param name="Xml">XML element to normalize</param>
<param name="Output">Normalized XML will be output here</param>
<param name="CurrentNamespace">Namespace at the encapsulating entity.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.IsLegallyBinding(System.Boolean)">
<summary>
Checks if a contract is legally binding.
</summary>
<param name="CheckCurrentTime">If the current time should be checked as well.</param>
<returns>If the contract is legally binding.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.Serialize(System.Text.StringBuilder,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
<summary>
Serializes the Contract, in normalized form.
</summary>
<param name="Xml">XML Output</param>
<param name="IncludeNamespace">If namespace attribute should be included.</param>
<param name="IncludeIdAttribute">If id attribute should be included.</param>
<param name="IncludeClientSignatures">If client signatures should be included.</param>
<param name="IncludeAttachments">If attachments are to be included.</param>
<param name="IncludeStatus">If the status element should be included.</param>
<param name="IncludeServerSignature">If the server signature should be included.</param>
<param name="IncludeAttachmentReferences">If attachment references (URLs) are to be included.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.GetTags">
<summary>
Gets event tags describing the contract.
</summary>
<returns>Tags</returns>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.Item(System.String)">
<summary>
Access to contract paameters.
</summary>
<param name="Key"></param>
<returns></returns>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.Contract.DefaultLanguage">
<summary>
Default language for contract.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.GetLanguages">
<summary>
Gets available languages encoded in contract.
</summary>
<returns>Array of languages.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.ToMarkdown(System.String)">
<summary>
Creates a human-readable Markdown document for the contract.
</summary>
<param name="Language">Desired language</param>
<returns>Markdown</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.ToHTML(System.String)">
<summary>
Creates a human-readable HTML document for the contract.
</summary>
<param name="Language">Desired language</param>
<returns>Markdown</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.ToPlainText(System.String)">
<summary>
Creates a human-readable Plain Trext document for the contract.
</summary>
<param name="Language">Desired language</param>
<returns>Markdown</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.ToXAML(System.String)">
<summary>
Creates a human-readable WPF XAML document for the contract.
</summary>
<param name="Language">Desired language</param>
<returns>Markdown</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.Contract.ToXamarinForms(System.String)">
<summary>
Creates a human-readable Xamarin.Forms XAML document for the contract.
</summary>
<param name="Language">Desired language</param>
<returns>Markdown</returns>
</member>
<member name="T:Waher.Networking.XMPP.Contracts.ContractsClient">
<summary>
Adds support for legal identities, smart contracts and signatures to an XMPP client.
The interface is defined in the IEEE XMPP IoT extensions:
https://gitlab.com/IEEE-SA/XMPPI/IoT
</summary>
</member>
<member name="F:Waher.Networking.XMPP.Contracts.ContractsClient.NamespaceLegalIdentities">
<summary>
urn:ieee:iot:leg:id:1.0
</summary>
</member>
<member name="F:Waher.Networking.XMPP.Contracts.ContractsClient.NamespaceSmartContracts">
<summary>
urn:ieee:iot:leg:sc:1.0
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.#ctor(Waher.Networking.XMPP.XmppClient,System.String,System.Object[])">
<summary>
Adds support for legal identities, smart contracts and signatures to an XMPP client.
The interface is defined in the IEEE XMPP IoT extensions:
https://gitlab.com/IEEE-SA/XMPPI/IoT
</summary>
<param name="Client">XMPP Client to use.</param>
<param name="ComponentAddress">Address to the contracts component.</param>
<param name="ApprovedSources">If access to sensitive methods is only accessible from a set of approved sources.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Create(Waher.Networking.XMPP.XmppClient,System.String)">
<summary>
Creates a <see cref="T:Waher.Networking.XMPP.Contracts.ContractsClient"/> object that adds support for
legal identities, smart contracts and signatures to an XMPP client.
The interface is defined in the IEEE XMPP IoT extensions:
https://gitlab.com/IEEE-SA/XMPPI/IoT
</summary>
<param name="Client">XMPP Client to use.</param>
<param name="ComponentAddress">Address to the contracts component.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Create(Waher.Networking.XMPP.XmppClient,System.String,System.Object[])">
<summary>
Creates a <see cref="T:Waher.Networking.XMPP.Contracts.ContractsClient"/> object that adds support for
legal identities, smart contracts and signatures to an XMPP client.
The interface is defined in the IEEE XMPP IoT extensions:
https://gitlab.com/IEEE-SA/XMPPI/IoT
</summary>
<param name="Client">XMPP Client to use.</param>
<param name="ComponentAddress">Address to the contracts component.</param>
<param name="ApprovedSources">If access to sensitive methods is only accessible from a set of approved sources.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Dispose">
<summary>
Disposes of the extension.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ContractsClient.Extensions">
<summary>
Implemented extensions.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ContractsClient.ComponentAddress">
<summary>
Component address.
</summary>
</member>
<member name="P:Waher.Networking.XMPP.Contracts.ContractsClient.KeysTimestamp">
<summary>
Timestamps of current keys used for signatures.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GenerateNewKeys">
<summary>
Generates new keys for the contracts clients.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.SetAllowedSources(System.Object[])">
<summary>
If access to sensitive methods is only accessible from a set of approved sources.
</summary>
<param name="ApprovedSources">Approved sources.</param>
<exception cref="T:System.NotSupportedException">If trying to change previously set sources.</exception>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.LegalIdUriString(System.String)">
<summary>
Legal identity URI, as a string.
</summary>
<param name="LegalId">Legal ID</param>
<returns>URI String</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.LegalIdUri(System.String)">
<summary>
Legal identity URI.
</summary>
<param name="LegalId">Legal ID</param>
<returns>URI</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ContractIdUriString(System.String)">
<summary>
Contract identity URI, as a string.
</summary>
<param name="ContractId">Contract ID</param>
<returns>URI String</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ContractIdUri(System.String)">
<summary>
Contract identity URI.
</summary>
<param name="ContractId">Contract ID</param>
<returns>URI</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetServerPublicKey(Waher.Networking.XMPP.Contracts.KeyEventHandler,System.Object)">
<summary>
Gets the server public key.
</summary>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetServerPublicKey(System.String,Waher.Networking.XMPP.Contracts.KeyEventHandler,System.Object)">
<summary>
Gets the server public key.
</summary>
<param name="Address">Address of entity whose public key is requested.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetServerPublicKeyAsync">
<summary>
Gets the server public key.
</summary>
<returns>Server public key.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetServerPublicKeyAsync(System.String)">
<summary>
Gets the server public key.
</summary>
<param name="Address">Address of entity whose public key is requested.</param>
<returns>Server public key.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetMatchingLocalKey(Waher.Networking.XMPP.Contracts.KeyEventHandler,System.Object)">
<summary>
Get the local key that matches the server key.
</summary>
<param name="Callback">Method called when response is available.</param>
<param name="State">State object to pass on to callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetMatchingLocalKey(System.String,Waher.Networking.XMPP.Contracts.KeyEventHandler,System.Object)">
<summary>
Get the local key that matches a given server key.
</summary>
<param name="Address">Address of server (component).</param>
<param name="Callback">Method called when response is available.</param>
<param name="State">State object to pass on to callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetMatchingLocalKeyAsync">
<summary>
Get the local key that matches the server key.
</summary>
<returns>Local key.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetMatchingLocalKeyAsync(System.String)">
<summary>
Get the local key that matches a given server key.
</summary>
<param name="Address">Address of server (component).</param>
<returns>Local key.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Apply(Waher.Networking.XMPP.Contracts.Property[],Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Applies for a legal identity to be registered.
</summary>
<param name="Properties">Properties of the legal identity.</param>
<param name="Callback">Method to call when registration response is returned.</param>
<param name="State">State object to pass on to the callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Apply(System.String,Waher.Networking.XMPP.Contracts.Property[],Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Applies for a legal identity to be registered.
</summary>
<param name="Address">Address of server (component).</param>
<param name="Properties">Properties of the legal identity.</param>
<param name="Callback">Method to call when registration response is returned.</param>
<param name="State">State object to pass on to the callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ApplyAsync(Waher.Networking.XMPP.Contracts.Property[])">
<summary>
Applies for a legal identity to be registered.
</summary>
<param name="Properties">Properties of the legal identity.</param>
<returns>Identity object representing the application.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ApplyAsync(System.String,Waher.Networking.XMPP.Contracts.Property[])">
<summary>
Applies for a legal identity to be registered.
</summary>
<param name="Address">Address of server (component).</param>
<param name="Properties">Properties of the legal identity.</param>
<returns>Identity object representing the application.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Validate(Waher.Networking.XMPP.Contracts.LegalIdentity,Waher.Networking.XMPP.Contracts.IdentityValidationEventHandler,System.Object)">
<summary>
Validates a legal identity.
</summary>
<param name="Identity">Legal identity to validate</param>
<param name="Callback">Method to call when validation is completed</param>
<param name="State">State object to pass to callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Validate(Waher.Networking.XMPP.Contracts.LegalIdentity,System.Boolean,Waher.Networking.XMPP.Contracts.IdentityValidationEventHandler,System.Object)">
<summary>
Validates a legal identity.
</summary>
<param name="Identity">Legal identity to validate</param>
<param name="ValidateState">If the state attribute should be validated. (Default=true)</param>
<param name="Callback">Method to call when validation is completed</param>
<param name="State">State object to pass to callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignature(Waher.Networking.XMPP.Contracts.LegalIdentity,System.Byte[],System.Byte[])">
<summary>
Validates a signature of binary data.
</summary>
<param name="Identity">Legal identity used to create the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<returns>
true = Signature is valid.
false = Signature is invalid.
null = Client key algorithm is unknown, and veracity of signature could not be established.
</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignature(Waher.Networking.XMPP.Contracts.LegalIdentity,System.IO.Stream,System.Byte[])">
<summary>
Validates a signature of binary data.
</summary>
<param name="Identity">Legal identity used to create the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<returns>
true = Signature is valid.
false = Signature is invalid.
null = Client key algorithm is unknown, and veracity of signature could not be established.
</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateAsync(Waher.Networking.XMPP.Contracts.LegalIdentity)">
<summary>
Validates a legal identity.
</summary>
<param name="Identity">Legal identity to validate</param>
<returns>Status of validation.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateAsync(Waher.Networking.XMPP.Contracts.LegalIdentity,System.Boolean)">
<summary>
Validates a legal identity.
</summary>
<param name="Identity">Legal identity to validate</param>
<param name="ValidateState">If the state attribute should be validated. (Default=true)</param>
<returns>Status of validation.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.HasPrivateKey(Waher.Networking.XMPP.Contracts.LegalIdentity)">
<summary>
Checks if the private key of a legal identity is available. Private keys are required to be able to
sign data, petitions and contracts.
</summary>
<param name="Identity">Legal Identity.</param>
<returns>If the private key of the legal identity is available (and belongs to the Bare JID of the client).</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.HasPrivateKey(System.String)">
<summary>
Checks if the private key of a legal identity is available. Private keys are required to be able to
sign data, petitions and contracts.
</summary>
<param name="IdentityId">Identity string of Legal Identity.</param>
<returns>If the private key of the legal identity is available (and belongs to the Bare JID of the client).</returns>
</member>
<member name="E:Waher.Networking.XMPP.Contracts.ContractsClient.IdentityUpdated">
<summary>
Event raised whenever the legal identity has been updated by the server.
The identity is validated before the event is raised. Invalid identities are discarded.
</summary>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentities(Waher.Networking.XMPP.Contracts.LegalIdentitiesEventHandler,System.Object)">
<summary>
Gets legal identities registered with the account.
</summary>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentities(System.String,Waher.Networking.XMPP.Contracts.LegalIdentitiesEventHandler,System.Object)">
<summary>
Gets legal identities registered with the account.
</summary>
<param name="Address">Address of entity on which the legal identities are registered.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentitiesAsync">
<summary>
Gets legal identities registered with the account.
</summary>
<returns>Set of legal identities registered on the account.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentitiesAsync(System.String)">
<summary>
Gets legal identities registered with the account.
</summary>
<param name="Address">Address of entity on which the legal identities are registered.</param>
<returns>Set of legal identities registered on the account.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentity(System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Gets information about a legal identity given its ID.
</summary>
<param name="LegalIdentityId">ID of the legal identity to get.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetTrustProvider(System.String)">
<summary>
Gets the trust provider hosting an entity with a given ID, in the form of LocalId@Provider.
</summary>
<param name="EntityId">ID, in the form of LocalId@Provider.</param>
<returns>Provider</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentity(System.String,System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Gets information about a legal identity given its ID.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to get.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentityAsync(System.String)">
<summary>
Gets legal identity registered with the account.
</summary>
<param name="LegalIdentityId">ID of the legal identity to get.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.GetLegalIdentityAsync(System.String,System.String)">
<summary>
Gets legal identity registered with the account.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to get.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ObsoleteLegalIdentity(System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Obsoletes one of the legal identities of the account, given its ID.
</summary>
<param name="LegalIdentityId">ID of the legal identity to obsolete.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ObsoleteLegalIdentity(System.String,System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Obsoletes one of the legal identities of the account, given its ID.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to obsolete.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ObsoleteLegalIdentityAsync(System.String)">
<summary>
Obsoletes one of the legal identities of the account, given its ID.
</summary>
<param name="LegalIdentityId">ID of the legal identity to obsolete.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ObsoleteLegalIdentityAsync(System.String,System.String)">
<summary>
Obsoletes one of the legal identities of the account, given its ID.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to obsolete.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CompromisedLegalIdentity(System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Reports as Compromised one of the legal identities of the account, given its ID.
</summary>
<param name="LegalIdentityId">ID of the legal identity to compromise.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CompromisedLegalIdentity(System.String,System.String,Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Reports as Compromised one of the legal identities of the account, given its ID.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to compromise.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CompromisedLegalIdentityAsync(System.String)">
<summary>
Reports as Compromised one of the legal identities of the account, given its ID.
</summary>
<param name="LegalIdentityId">ID of the legal identity to compromise.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CompromisedLegalIdentityAsync(System.String,System.String)">
<summary>
Reports as Compromised one of the legal identities of the account, given its ID.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalIdentityId">ID of the legal identity to compromise.</param>
<returns>Legal identity object corresponding to <paramref name="LegalIdentityId"/>.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Sign(System.Byte[],Waher.Networking.XMPP.Contracts.SignWith,Waher.Networking.XMPP.Contracts.SignatureEventHandler,System.Object)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Sign(System.String,System.Byte[],Waher.Networking.XMPP.Contracts.SignWith,Waher.Networking.XMPP.Contracts.SignatureEventHandler,System.Object)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.SignAsync(System.Byte[],Waher.Networking.XMPP.Contracts.SignWith)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<returns>Digital signature.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.SignAsync(System.String,System.Byte[],Waher.Networking.XMPP.Contracts.SignWith)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<returns>Digital signature.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Sign(System.IO.Stream,Waher.Networking.XMPP.Contracts.SignWith,Waher.Networking.XMPP.Contracts.SignatureEventHandler,System.Object)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.Sign(System.String,System.IO.Stream,Waher.Networking.XMPP.Contracts.SignWith,Waher.Networking.XMPP.Contracts.SignatureEventHandler,System.Object)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.SignAsync(System.IO.Stream,Waher.Networking.XMPP.Contracts.SignWith)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<returns>Digital signature.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.SignAsync(System.String,System.IO.Stream,Waher.Networking.XMPP.Contracts.SignWith)">
<summary>
Signs binary data with the corresponding private key.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="Data">Binary data to sign.</param>
<param name="SignWith">What keys that can be used to sign the data.</param>
<returns>Digital signature.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignature(System.String,System.Byte[],System.Byte[],Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Validates a signature of binary data.
</summary>
<param name="LegalId">Legal identity used to create the signature. If empty, current approved legal identities will be used to validate the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignature(System.String,System.String,System.Byte[],System.Byte[],Waher.Networking.XMPP.Contracts.LegalIdentityEventHandler,System.Object)">
<summary>
Validates a signature of binary data.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalId">Legal identity used to create the signature. If empty, current approved legal identities will be used to validate the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<param name="Callback">Method to call when response is returned.</param>
<param name="State">State object to pass on to <paramref name="Callback"/>.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignatureAsync(System.String,System.Byte[],System.Byte[])">
<summary>
Validates a signature of binary data.
</summary>
<param name="LegalId">Legal identity used to create the signature. If empty, current approved legal identities will be used to validate the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<returns>Legal identity object.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.ValidateSignatureAsync(System.String,System.String,System.Byte[],System.Byte[])">
<summary>
Validates a signature of binary data.
</summary>
<param name="Address">Address of entity on which the legal identity are registered.</param>
<param name="LegalId">Legal identity used to create the signature. If empty, current approved legal identities will be used to validate the signature.</param>
<param name="Data">Binary data to sign.</param>
<param name="Signature">Digital signature of data</param>
<returns>Legal identity object.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContract(System.Xml.XmlElement,Waher.Networking.XMPP.Contracts.HumanReadable.HumanReadableText[],Waher.Networking.XMPP.Contracts.Role[],Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean,Waher.Networking.XMPP.Contracts.SmartContractEventHandler,System.Object)">
<summary>
Creates a new contract.
</summary>
<param name="ForMachines">Machine-readable content.</param>
<param name="ForHumans">Human-readable localized content. Provide one object for each language supported by the contract.</param>
<param name="Roles">Roles defined in contract.</param>
<param name="Parts">Parts defined in contract. Can be empty or null, if creating an open contract or a template.</param>
<param name="Parameters">Any contractual parameters defined for the contract.</param>
<param name="Visibility">Visibility of the contract.</param>
<param name="PartsMode">How parts are defined in the contract. If equal to <see cref="F:Waher.Networking.XMPP.Contracts.ContractParts.ExplicitlyDefined"/>,
then the explicitly defined parts must be provided in <paramref name="Parts"/>.</param>
<param name="Duration">Duration of the contract, once signed.</param>
<param name="ArchiveRequired">Required archivation duration, after signed contract has become obsolete.</param>
<param name="ArchiveOptional">Optional archivation duration, after required archivation duration has elapsed.</param>
<param name="SignAfter">Signatures will only be accepted after this point in time, if provided.</param>
<param name="SignBefore">Signatures will only be accepted until this point in time, if provided.</param>
<param name="CanActAsTemplate">If the contract can act as a template.</param>
<param name="Callback">Method to call when registration response is returned.</param>
<param name="State">State object to pass on to the callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContract(System.String,System.Xml.XmlElement,Waher.Networking.XMPP.Contracts.HumanReadable.HumanReadableText[],Waher.Networking.XMPP.Contracts.Role[],Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean,Waher.Networking.XMPP.Contracts.SmartContractEventHandler,System.Object)">
<summary>
Creates a new contract.
</summary>
<param name="Address">Address of server (component).</param>
<param name="ForMachines">Machine-readable content.</param>
<param name="ForHumans">Human-readable localized content. Provide one object for each language supported by the contract.</param>
<param name="Roles">Roles defined in contract.</param>
<param name="Parts">Parts defined in contract. Can be empty or null, if creating an open contract or a template.</param>
<param name="Parameters">Any contractual parameters defined for the contract.</param>
<param name="Visibility">Visibility of the contract.</param>
<param name="PartsMode">How parts are defined in the contract. If equal to <see cref="F:Waher.Networking.XMPP.Contracts.ContractParts.ExplicitlyDefined"/>,
then the explicitly defined parts must be provided in <paramref name="Parts"/>.</param>
<param name="Duration">Duration of the contract, once signed.</param>
<param name="ArchiveRequired">Required archivation duration, after signed contract has become obsolete.</param>
<param name="ArchiveOptional">Optional archivation duration, after required archivation duration has elapsed.</param>
<param name="SignAfter">Signatures will only be accepted after this point in time, if provided.</param>
<param name="SignBefore">Signatures will only be accepted until this point in time, if provided.</param>
<param name="CanActAsTemplate">If the contract can act as a template.</param>
<param name="Callback">Method to call when registration response is returned.</param>
<param name="State">State object to pass on to the callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContractAsync(System.Xml.XmlElement,Waher.Networking.XMPP.Contracts.HumanReadable.HumanReadableText[],Waher.Networking.XMPP.Contracts.Role[],Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean)">
<summary>
Creates a new contract.
</summary>
<param name="ForMachines">Machine-readable content.</param>
<param name="ForHumans">Human-readable localized content. Provide one object for each language supported by the contract.</param>
<param name="Roles">Roles defined in contract.</param>
<param name="Parts">Parts defined in contract. Can be empty or null, if creating an open contract or a template.</param>
<param name="Parameters">Any contractual parameters defined for the contract.</param>
<param name="Visibility">Visibility of the contract.</param>
<param name="PartsMode">How parts are defined in the contract. If equal to <see cref="F:Waher.Networking.XMPP.Contracts.ContractParts.ExplicitlyDefined"/>,
then the explicitly defined parts must be provided in <paramref name="Parts"/>.</param>
<param name="Duration">Duration of the contract, once signed.</param>
<param name="ArchiveRequired">Required archivation duration, after signed contract has become obsolete.</param>
<param name="ArchiveOptional">Optional archivation duration, after required archivation duration has elapsed.</param>
<param name="SignAfter">Signatures will only be accepted after this point in time, if provided.</param>
<param name="SignBefore">Signatures will only be accepted until this point in time, if provided.</param>
<param name="CanActAsTemplate">If the contract can act as a template.</param>
<returns>Contract.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContractAsync(System.String,System.Xml.XmlElement,Waher.Networking.XMPP.Contracts.HumanReadable.HumanReadableText[],Waher.Networking.XMPP.Contracts.Role[],Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean)">
<summary>
Creates a new contract.
</summary>
<param name="Address">Address of server (component).</param>
<param name="ForMachines">Machine-readable content.</param>
<param name="ForHumans">Human-readable localized content. Provide one object for each language supported by the contract.</param>
<param name="Roles">Roles defined in contract.</param>
<param name="Parts">Parts defined in contract. Can be empty or null, if creating an open contract or a template.</param>
<param name="Parameters">Any contractual parameters defined for the contract.</param>
<param name="Visibility">Visibility of the contract.</param>
<param name="PartsMode">How parts are defined in the contract. If equal to <see cref="F:Waher.Networking.XMPP.Contracts.ContractParts.ExplicitlyDefined"/>,
then the explicitly defined parts must be provided in <paramref name="Parts"/>.</param>
<param name="Duration">Duration of the contract, once signed.</param>
<param name="ArchiveRequired">Required archivation duration, after signed contract has become obsolete.</param>
<param name="ArchiveOptional">Optional archivation duration, after required archivation duration has elapsed.</param>
<param name="SignAfter">Signatures will only be accepted after this point in time, if provided.</param>
<param name="SignBefore">Signatures will only be accepted until this point in time, if provided.</param>
<param name="CanActAsTemplate">If the contract can act as a template.</param>
<returns>Contract.</returns>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContract(System.String,Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean,Waher.Networking.XMPP.Contracts.SmartContractEventHandler,System.Object)">
<summary>
Creates a new contract from a template.
</summary>
<param name="TemplateId">ID of contract to be used as a template.</param>
<param name="Parts">Parts defined in contract. Can be empty or null, if creating an open contract or a template.</param>
<param name="Parameters">Any contractual parameters defined for the contract.</param>
<param name="Visibility">Visibility of the contract.</param>
<param name="PartsMode">How parts are defined in the contract. If equal to <see cref="F:Waher.Networking.XMPP.Contracts.ContractParts.ExplicitlyDefined"/>,
then the explicitly defined parts must be provided in <paramref name="Parts"/>.</param>
<param name="Duration">Duration of the contract, once signed.</param>
<param name="ArchiveRequired">Required archivation duration, after signed contract has become obsolete.</param>
<param name="ArchiveOptional">Optional archivation duration, after required archivation duration has elapsed.</param>
<param name="SignAfter">Signatures will only be accepted after this point in time, if provided.</param>
<param name="SignBefore">Signatures will only be accepted until this point in time, if provided.</param>
<param name="CanActAsTemplate">If the contract can act as a template.</param>
<param name="Callback">Method to call when registration response is returned.</param>
<param name="State">State object to pass on to the callback method.</param>
</member>
<member name="M:Waher.Networking.XMPP.Contracts.ContractsClient.CreateContract(System.String,System.String,Waher.Networking.XMPP.Contracts.Part[],Waher.Networking.XMPP.Contracts.Parameter[],Waher.Networking.XMPP.Contracts.ContractVisibility,Waher.Networking.XMPP.Contracts.ContractParts,Waher.Content.Duration,Waher.Content.Duration,Waher.Content.Duration,System.Nullable{System.DateTime},System.Nullable{System.DateTime},System.Boolean,Waher.Networking.XMPP.Contracts.SmartContractEventHandler,System.Object)">
<summary>
Creates a new contract from a template.
</summary>