MicrosoftDNS_SIGType class

The subclass of MicrosoftDNS_ResourceRecord that represents a Signature (SIG) Resource Record.

The following syntax is simplified from MOF code.

Syntax

class MicrosoftDNS_SIGType : MicrosoftDNS_ResourceRecord
{
  uint16 TypeCovered;
  uint16 Algorithm;
  uint16 Labels;
  uint32 OriginalTTL;
  uint32 SignatureExpiration;
  uint32 SignatureInception;
  uint16 KeyTag;
  string SignerName;
  string Signature;
};

Members

The MicrosoftDNS_SIGType class has these types of members:

Methods

The MicrosoftDNS_SIGType class has these methods.

Method Description
CreateInstanceFromPropertyData Instantiates an SIG RR 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
Windows Server 2003: This method also updates the TypeCovered, Algorithm, Labels, OriginalTTL, SignatureExpiration, SignatureInception, KeyTag, SignerName and Signature to the values specified as the input parameters of this method.

Properties

The MicrosoftDNS_SIGType 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

KeyTag

Data type: uint16

Access type: Read-only

Method used to choose a key that verifies a SIG. See RFC 2535, Appendix C for the method used to calculate a KeyTag.

Labels

Data type: uint16

Access type: Read-only

Unsigned count of labels in the original SIG RR owner name. The count does not include the NULL label for the root, nor any initial wildcards.

OriginalTTL

Data type: uint32

Access type: Read-only

TTL of the RR set signed by the SIG.

Signature

Data type: string

Access type: Read-only

Signature, represented in base 64, formatted as defined in RFC 2535, Appendix A.

SignatureExpiration

Data type: uint32

Access type: Read-only

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

SignatureInception

Data type: uint32

Access type: Read-only

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

SignerName

Data type: string

Access type: Read-only

Domain name of the signer that generated the SIG RR.

TypeCovered

Data type: uint16

Access type: Read-only

Type of RR covered by this SIG.

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_SIGType Class

Modify Method of the MicrosoftDNS_SIGType Class

MicrosoftDNS_ResourceRecord