C# Class DnDns.Records.TSigRecord

Implementation of a TSIG record structure as per RFC 2845
Inheritance: DnsRecordBase
Exibir arquivo Open project: nachocove/DnDns Class Usage Examples

Public Methods

Method Description
GetMessageBytes ( ) : byte[]
ParseRecord ( MemoryStream &memoryStream ) : void
TSigRecord ( RecordHeader dnsHeader ) : System
TSigRecord ( string name, string algorithmName, RCode error, ushort fudge, ushort originalId, byte otherData, byte mac, System.DateTime timeSigned ) : System
ToString ( ) : string

Method Details

GetMessageBytes() public method

public GetMessageBytes ( ) : byte[]
return byte[]

ParseRecord() public method

public ParseRecord ( MemoryStream &memoryStream ) : void
memoryStream System.IO.MemoryStream
return void

TSigRecord() public method

public TSigRecord ( RecordHeader dnsHeader ) : System
dnsHeader RecordHeader
return System

TSigRecord() public method

public TSigRecord ( string name, string algorithmName, RCode error, ushort fudge, ushort originalId, byte otherData, byte mac, System.DateTime timeSigned ) : System
name string
algorithmName string
error RCode
fudge ushort
originalId ushort
otherData byte
mac byte
timeSigned System.DateTime
return System

ToString() public method

public ToString ( ) : string
return string