Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ValidityPeriod.cs
1using System.Diagnostics.CodeAnalysis;
2
4{
8 public class ValidityPeriod : DataObject
9 {
14 : base([])
15 {
16 }
17
22 public ValidityPeriod(byte[] Value)
23 : base(Value)
24 {
25 }
26
30 public override ushort Tag => 0x85;
31
39 public override bool TryParse(byte[] Value, TravelDocumentsClient Client,
40 [NotNullWhen(true)] out IDataObject? Parsed)
41 {
42 // TODO: Parse
43 Parsed = new ValidityPeriod(Value);
44 return true;
45 }
46 }
47}
override bool TryParse(byte[] Value, TravelDocumentsClient Client, [NotNullWhen(true)] out IDataObject? Parsed)
Tries to parse a binary representation of the data object.