DNS_KEY_DATA (Windows Embedded CE 6.0)
1/6/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 MeaningValue 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_RECORD structure to programmatically manage DNS entries.
Requirements
Header | windns.h |
Windows Embedded CE | Windows CE 5.0 and later |