Share via


DnsServerTrustAnchor class

Represents a trust anchor.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerTrustAnchor
{
  string                      TrustAnchorName;
  string                      TrustAnchorType;
  uint16                      KeyTag;
  string                      TrustAnchorState;
  datetime                    EnteredStateTime;
  datetime                    NextStateTime;
  DnsServerResourceRecordData TrustAnchorData;
};

Members

The DnsServerTrustAnchor class has these types of members:

Properties

The DnsServerTrustAnchor class has these properties.

EnteredStateTime

Data type: datetime

Access type: Read-only

The time at which the current RFC5011 state was entered.

KeyTag

Data type: uint16

Access type: Read/write

The key tag of the DNSKEY resource record referred to by the current DS record.

NextStateTime

Data type: datetime

Access type: Read-only

For a TA in the AddPend state, the time at which the TA may become Valid. For a TA in the Revoked state, the time at which the revoked key is eligible to be automatically removed. For all other states, this time is undefined and must be ignored and will be set to null.

TrustAnchorData

Data type: DnsServerResourceRecordData

Access type: Read/write

Qualifiers: EmbeddedInstance ("DnsServerResourceRecordData")

The DNSKEY or DS record data for the trust anchor.

TrustAnchorName

Data type: string

Access type: Read-only

The name of the trust anchor.

TrustAnchorState

Data type: string

Access type: Read-only

Trust anchor state.

The possible values are.

Initialized ("Initialized")

DSPending ("DSPending")

DSInvalid ("DSInvalid")

AddPending ("AddPending")

Valid ("Valid")

Missing ("Missing")

Revoked ("Revoked")

Deleted ("Deleted")

TrustAnchorType

Data type: string

Access type: Read-only

The trust anchor type.

The possible values are.

DnsKey ("DnsKey")

DS ("DS")

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider