DnsTsigRecord Class
Represents a TSIG pseudo-record (RFC 8945), the signature of a message. When DnsClientOptions.TsigKey is set, the client verifies it before returning the response.
public sealed class DnsTsigRecord : DnsRecord- Inheritance
DnsRecordDnsTsigRecord
Constructors
| Name | Description |
|---|---|
| DnsTsigRecord() |
DnsTsigRecord()
DnsTsigRecord.cspublic DnsTsigRecord()No documentation is available.
Properties
| Name | Description |
|---|---|
| Algorithm | Gets the name of the HMAC algorithm (for instance hmac-sha256). |
| Error | Gets the TSIG error (DnsResponseCode.BadSignature, DnsResponseCode.BadKey, DnsResponseCode.BadTime, ...), or DnsResponseCode.NoError. |
| Fudge | Gets the number of seconds of clock difference the signer allows. |
| Mac | Gets the message authentication code. |
| OriginalId | Gets the identifier of the message when it was signed. |
| OtherData | Gets the other data, the time of the server in a DnsResponseCode.BadTime response. |
| TimeSigned | Gets the time the message was signed, as seconds since Unix epoch. |
Algorithm
DnsTsigRecord.csError
DnsTsigRecord.csGets the TSIG error (DnsResponseCode.BadSignature, DnsResponseCode.BadKey, DnsResponseCode.BadTime, ...), or DnsResponseCode.NoError.
public DnsResponseCode Error { get; }Property value
Fudge
DnsTsigRecord.csOriginalId
DnsTsigRecord.csOtherData
DnsTsigRecord.csGets the other data, the time of the server in a DnsResponseCode.BadTime response.
public byte[] OtherData { get; }Property value
byte[]