大网数据广告活动
网络与域名解析

MicrosoftDNS_SIGType class

· 52CE 我爱测

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

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。