DNS_RRSIG_DATA structure

The DNS_RRSIG_DATA structure represents a DNS Security Extensions (DNSSEC) cryptographic signature (SIG) resource record (RR) as specified in RFC 4034.

Syntax


typedef struct _DNS_RRSIG_DATA {
  PWSTR pNameSigner;
  WORD  wTypeCovered;
  BYTE  chAlgorithm;
  BYTE  chLabelCount;
  DWORD dwOriginalTtl;
  DWORD dwExpiration;
  DWORD dwTimeSigned;
  WORD  wKeyTag;
  WORD  Pad;
  BYTE  Signature[1];
} DNS_RRSIG_DATA, *PDNS_RRSIG_DATA;

Members

pNameSigner

A pointer to a string that represents the name of the Signature generator.

wTypeCovered

The DNS Record Type of the signed RRs.

chAlgorithm

A value that specifies the algorithm used to generate Signature. The possible values are shown in the following table.

ValueMeaning
1

RSA/MD5 (RFC 2537)

2

Diffie-Hellman (RFC 2539)

3

DSA (RFC 2536)

4

Elliptic curve cryptography

5

RSA/SHA-1 (RFC 3110)

 

chLabelCount

The number of labels in the original signature RR owner name as specified in section 3.1.3 of RFC 4034.

dwOriginalTtl

The Time-to-Live (TTL) value of the RR set signed by Signature.

dwExpiration

The expiration date of Signature, expressed in seconds since the beginning of January 1, 1970, Greenwich Mean Time (GMT), excluding leap seconds.

dwTimeSigned

The date and time at which Signature becomes valid, expressed in seconds since the beginning of January 1, 1970, Greenwich Mean Time (GMT), excluding leap seconds.

wKeyTag

A value that represents the method to choose which public key is used to verify Signature as specified Appendix B of RFC 4034.

Pad

Reserved for padding. Do not use.

Signature

A BYTE array that contains the RR set signature as specified in section 3.1.8 of RFC 4034.

Remarks

The DNS_RRSIG_DATA structure is used in conjunction with the DNS_RECORD structure to programmatically manage DNS entries.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Windns.h

See also

DNS Structures
DNS_RECORD

 

 

Community Additions

ADD
Show:
© 2015 Microsoft