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); }
public SigRecord(DataBuffer buffer, int length) { int pos = buffer.Position; _coveredType = buffer.ReadShortInt(); _algorithm = buffer.ReadByte(); _numLabels = buffer.ReadByte(); _expiration = buffer.ReadUInt(); _inception = buffer.ReadUInt(); _keyTag = buffer.ReadShortInt(); _signer = buffer.ReadDomainName(); buffer.Position = pos - length; }
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); }
public SigRecord(DataBuffer buffer, int length) { int pos = buffer.Position; _coveredType = buffer.ReadShortInt(); _algorithm = buffer.ReadByte(); _numLabels = buffer.ReadByte(); _expiration = buffer.ReadUInt(); _inception = buffer.ReadUInt(); _keyTag = buffer.ReadShortInt(); _signer = buffer.ReadDomainName(); buffer.Position = pos - length; }