DnssecTrustAnchor Class
Represents a DNSSEC trust anchor as a DS-style key digest.
public sealed class DnssecTrustAnchorConstructors
| Name | Description |
|---|---|
| DnssecTrustAnchor(string, ushort, byte, byte, byte[]) | Initializes a new instance of the DnssecTrustAnchor class. |
DnssecTrustAnchor(string, ushort, byte, byte, byte[])
DnssecTrustAnchor.csProperties
| Name | Description |
|---|---|
| Algorithm | Gets the DNSSEC algorithm number. |
| Digest | Gets the DS digest bytes. |
| DigestType | Gets the DS digest type. |
| KeyTag | Gets the DNSKEY key tag. |
| Name | Gets the DNS name the trust anchor applies to. |
Algorithm
DnssecTrustAnchor.csDigest
DnssecTrustAnchor.csGets the DS digest bytes.
public ReadOnlyMemory<byte> Digest { get; }Property value
Remarks
Exposed as ReadOnlyMemory<T> rather than an array: DnssecTrustAnchors.Root is a process-wide singleton and is the root of trust for every client, so handing out a writable reference to it would let any code in the process silently break — or redirect — DNSSEC validation everywhere.