Example #1
0
 /// <inheritdoc />
 public override void ReadData(PresentationReader reader)
 {
     Algorithm  = reader.ReadDomainName();
     Inception  = reader.ReadDateTime();
     Expiration = reader.ReadDateTime();
     Mode       = (KeyExchangeMode)reader.ReadUInt16();
     Error      = (MessageStatus)reader.ReadUInt16();
     Key        = Convert.FromBase64String(reader.ReadString());
     OtherData  = Convert.FromBase64String(reader.ReadString());
 }
Example #2
0
 /// <inheritdoc />
 public override void ReadData(PresentationReader reader)
 {
     TypeCovered         = reader.ReadDnsType();
     Algorithm           = (SecurityAlgorithm)reader.ReadByte();
     Labels              = reader.ReadByte();
     OriginalTTL         = reader.ReadTimeSpan32();
     SignatureExpiration = reader.ReadDateTime();
     SignatureInception  = reader.ReadDateTime();
     KeyTag              = reader.ReadUInt16();
     SignerName          = reader.ReadDomainName();
     Signature           = reader.ReadBase64String();
 }
Example #3
0
 /// <inheritdoc />
 public override void ReadData(PresentationReader reader)
 {
     Algorithm         = reader.ReadDomainName();
     TimeSigned        = reader.ReadDateTime();
     Fudge             = reader.ReadTimeSpan16();
     MAC               = Convert.FromBase64String(reader.ReadString());
     OriginalMessageId = reader.ReadUInt16();
     Error             = (MessageStatus)reader.ReadUInt16();
     OtherData         = Convert.FromBase64String(reader.ReadString());
 }