Example #1
0
 public TKeyRecord(DataBuffer buffer)
 {
     _algorithm  = buffer.ReadDomainName();
     _inception  = buffer.ReadUInt();
     _expiration = buffer.ReadUInt();
     _mode       = buffer.ReadShortUInt();
     _error      = buffer.ReadShortUInt();
     _keySize    = buffer.ReadShortUInt();
     _keyData    = buffer.ReadBytes(_keySize);
     _otherSize  = buffer.ReadShortUInt();
     _otherData  = buffer.ReadBytes(_otherSize);
 }
Example #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);
 }
Example #3
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);
 }
Example #4
0
 public TKeyRecord(DataBuffer buffer)
 {
     _algorithm = buffer.ReadDomainName();
     _inception = buffer.ReadUInt();
     _expiration = buffer.ReadUInt();
     _mode = buffer.ReadShortUInt();
     _error = buffer.ReadShortUInt();
     _keySize = buffer.ReadShortUInt();
     _keyData = buffer.ReadBytes(_keySize);
     _otherSize = buffer.ReadShortUInt();
     _otherData = buffer.ReadBytes(_otherSize);
 }
Example #5
0
 public DSRecord(DataBuffer buffer, int length)
 {
     _key = buffer.ReadShortInt();
     _algorithm = buffer.ReadByte();
     _digestType = buffer.ReadByte();
     _digest = buffer.ReadBytes(length - 4);
 }
Example #6
0
 public KeyRecord(DataBuffer buffer, int length)
 {
     _flags = buffer.ReadShortInt();
     _protocol = buffer.ReadByte();
     _algorithm = buffer.ReadByte();
     _publicKey = buffer.ReadBytes(length - 4);
 }
Example #7
0
 public DSRecord(DataBuffer buffer, int length)
 {
     _key        = buffer.ReadShortInt();
     _algorithm  = buffer.ReadByte();
     _digestType = buffer.ReadByte();
     _digest     = buffer.ReadBytes(length - 4);
 }
Example #8
0
 public KeyRecord(DataBuffer buffer, int length)
 {
     _flags     = buffer.ReadShortInt();
     _protocol  = buffer.ReadByte();
     _algorithm = buffer.ReadByte();
     _publicKey = buffer.ReadBytes(length - 4);
 }
Example #9
0
 public ARecord(DataBuffer buffer)
 {
     Byte[] ipaddress = buffer.ReadBytes(4);
     _ipAddress = new IPAddress(ipaddress);
 }
Example #10
0
 public ARecord(DataBuffer buffer)
 {
     Byte[] ipaddress = buffer.ReadBytes(4);
     _ipAddress = new IPAddress(ipaddress);
 }