Exemple #1
0
 /// <inheritdoc />
 public override void ReadData(PresentationReader reader)
 {
     PrimaryName  = reader.ReadDomainName();
     Mailbox      = reader.ReadDomainName();
     SerialNumber = reader.ReadUInt32();
     Refresh      = reader.ReadTimeSpan32();
     Retry        = reader.ReadTimeSpan32();
     Expire       = reader.ReadTimeSpan32();
     Minimum      = reader.ReadTimeSpan32();
 }
Exemple #2
0
 /// <inheritdoc />
 public override void ReadData(PresentationReader reader)
 {
     NextOwnerName = reader.ReadDomainName();
     while (!reader.IsEndOfLine())
     {
         Types.Add(reader.ReadDnsType());
     }
 }
Exemple #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());
 }
Exemple #4
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());
 }
Exemple #5
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();
 }