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 DNS key (KEY) record.
Syntax
typedef struct { WORD wFlags; BYTE chProtocol; BYTE chAlgorithm; BYTE Key[1]; } DNS_KEY_DATA, *PDNS_KEY_DATA; |
Members
- wFlags
-
[in] Flags used to specify mapping, as described in IETF RFC 2535.
- chProtocol
-
[in] Protocol for which the key specified in the resource record can be used. The assigned values are shown in the following table. Value Meaning
Value Meaning 1
TLS
2
E-Mail
3
DNSSEC
4
IPSec
- chAlgorithm
-
Algorithm used with the key specified in the resource record. The assigned values are shown in the following table.
Value Meaning 1
RSA/MD5 (RFC 2537)
2
Diffie-Hellman (RFC 2539)
3
DSA (RFC 2536)
4
Elliptic curve cryptography
- Key
-
Public key, represented in base 64 as described in Appendix A of RFC 2535.
Remarks
This structure is used in conjunction with the DNS_RECORDstructure to programmatically manage DNS entries.
Requirements
Header | windns.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |