示例#1
0
 public TSigRecord(DataBuffer buffer)
 {
     _algorithm  = buffer.ReadDomainName();
     _timeSigned = buffer.ReadLongInt();
     _fudge      = buffer.ReadShortUInt();
     _macSize    = buffer.ReadShortUInt();
     _mac        = buffer.ReadBytes(_macSize);
     _originalId = buffer.ReadShortUInt();
     _error      = buffer.ReadShortUInt();
     _otherLen   = buffer.ReadShortUInt();
     _otherData  = buffer.ReadBytes(_otherLen);
 }
示例#2
0
 public TSigRecord(DataBuffer buffer)
 {
     _algorithm = buffer.ReadDomainName();
     _timeSigned = buffer.ReadLongInt();
     _fudge = buffer.ReadShortUInt();
     _macSize = buffer.ReadShortUInt();
     _mac = buffer.ReadBytes(_macSize);
     _originalId = buffer.ReadShortUInt();
     _error = buffer.ReadShortUInt();
     _otherLen = buffer.ReadShortUInt();
     _otherData = buffer.ReadBytes(_otherLen);
 }