MicrosoftDNS_KEYType class

The subclass of MicrosoftDNS_ResourceRecord that represents a KEY Resource Record.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_KEYType : MicrosoftDNS_ResourceRecord
{
  uint16 Flags;
  uint16 Protocol;
  uint16 Algorithm;
  string PublicKey;
};

Members

The MicrosoftDNS_KEYType class has these types of members:

Methods

The MicrosoftDNS_KEYType class has these methods.

Method Description
CreateInstanceFromPropertyData Instantiates a KEY Resource Record based on the data in the method's input parameters: the record's DNS Server Name, Container Name, Owner Name, class (default = IN), time-to-live value, and WINS mapping flag, reverse look-up time out, WINS cache time out and domain name to append. It returns a reference to the new object as an output parameter.
Qualifiers: Implemented, static
Modify Updates the TTL, mapping flag, look-up time out, cache time out, and result domain to the values specified as the input parameters of this method. If a new value for a parameter is not specified, then the current value for the parameter is not changed. The method returns a reference to the modified object as an output parameter.
Qualifiers: Implemented

Properties

The MicrosoftDNS_KEYType class has these properties.

Algorithm

Data type: uint16

Access type: Read-only

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

Flags

Data type: uint16

Access type: Read-only

Flags used to specify mapping, as described in IETF RFC 2535.

Protocol

Data type: uint16

Access type: Read-only

Protocol for which the key specified in the resource record can be used. The assigned values are shown in the following table.

Value Meaning
1
TLS
2
E-Mail
3
DNSSEC
4
IPsec
255
All protocols

PublicKey

Data type: string

Access type: Read-only

Public key, represented in base 64 as described in Appendix A of RFC 2535.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows 2000 Server [desktop apps only]
Namespace
Root\MicrosoftDNS
MOF
Dnsprov.mof

See also

CreateInstanceFromPropertyData Method of the MicrosoftDNS_KEYType Class

Modify Method of the MicrosoftDNS_KEYType Class

MicrosoftDNS_ResourceRecord