Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure represents a secret key transaction authentication (TSIG) record.

Syntax

typedef struct {
   LPTSTR 
pNameAlgorithm;
   PBYTE 
pAlgorithmPacket;
   PBYTE 
pSignature;
   PBYTE 
pOtherData;
   LONGLONG 
i64CreateTime;
   WORD 
wFudgeTime;
   WORD 
wOriginalXid;
   WORD 
wError;
   WORD 
wSigLength;
   WORD 
wOtherLength;
   UCHAR 
cAlgNameLength;
   BOOL 
bPacketPointers;
} DNS_TSIG_DATA, *PDNS_TSIG_DATA;

Members

pNameAlgorithm

[in] Name of the key used in the domain name syntax.

pAlgorithmPacket

[in] Pointer to the packet containing the algorithm.

pSignature

[in] Pointer to the signature.

pOtherData

[in] Pointer to other data. This member is empty unless a BADTIME error is returned.

i64CreateTime

[in] Time the key transaction authentication was created, expressed in seconds since the beginning of January 1, 1970, Greenwich Mean Time (GMT), excluding leap seconds.

wFudgeTime

[in] Time, in seconds, from which the i64CreateTime may be in error.

wOriginalXid

[in] Original message identifier.

wError

[in] Error, expressed in expanded RCODE that covers TSIG processing. See Remarks for more information about the TSIG resource record.

wSigLength

[in] Length, in bytes, of the pSignature member.

wOtherLength

[in] Length, in bytes, of the pOtherData member.

cAlgNameLength

[in] Length, in bytes, of the pNameAlgorithm member.

bPacketPointers

[in] Reserved for future use.

Remarks

Thiss structure is used in conjunction with the DNS_RECORDstructure to programmatically manage DNS entries.

The TSIG resource record must not be cached. See RFC 2845 for more information about the TSIG resource record.

Requirements

Header windns.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DNS Structures