Domain Detective

API Reference

Class

DesiredStateDkimPolicy

Namespace DomainDetective.DesiredState
Assembly DomainDetective
Modifiers sealed

Provides desired state dkim policy functionality.

Inheritance

  • Object
  • DesiredStateDkimPolicy

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public DesiredStateDkimPolicy() #

Methods

public Void Apply(DesiredStateDkimPolicy overlay) #
Returns: Void

Executes the apply operation.

Parameters

overlay DomainDetective.DesiredState.DesiredStateDkimPolicy requiredposition: 0
public DesiredStateDkimPolicy Clone() #
Returns: DesiredStateDkimPolicy

Executes the clone operation.

Properties

public Nullable<Boolean> Enabled { get; set; } #
JsonPropertyName("enabled")

Gets or sets the enabled value.

public Nullable<Boolean> RequireAtLeastOneSelector { get; set; } #
JsonPropertyName("requireAtLeastOneSelector")

When true, requires at least one DKIM selector to be analyzed.

public Nullable<Boolean> RequireStartsCorrectly { get; set; } #
JsonPropertyName("requireStartsCorrectly")

When true, requires DKIM records to start with v=DKIM1.

public Nullable<Boolean> RequirePublicKey { get; set; } #
JsonPropertyName("requirePublicKey")

When true, requires DKIM records to contain a non-empty p= public key.

public Nullable<Boolean> RequireValidPublicKey { get; set; } #
JsonPropertyName("requireValidPublicKey")

When true, requires DKIM public keys to be parseable/valid.

public Nullable<Boolean> RequireValidKeyType { get; set; } #
JsonPropertyName("requireValidKeyType")

When true, requires DKIM key type to be recognized (rsa/ed25519).

public String[] RequiredSelectors { get; set; } #
JsonPropertyName("requiredSelectors")

Selectors that must exist and publish DKIM records (organization-specific).

public Nullable<Int32> MinKeyBits { get; set; } #
JsonPropertyName("minKeyBits")

Minimum accepted key length in bits for selectors (best-effort, RSA-focused).

public Nullable<Boolean> DisallowWeakKeys { get; set; } #
JsonPropertyName("disallowWeakKeys")

When true, disallows weak RSA keys (under 2048 bits).

public Nullable<Int32> MaxKeyAgeDays { get; set; } #
JsonPropertyName("maxKeyAgeDays")

Maximum allowed key age in days when a creation date can be inferred.

public Nullable<Boolean> DisallowDeprecatedTags { get; set; } #
JsonPropertyName("disallowDeprecatedTags")

When true, disallows deprecated DKIM tags/values (e.g., g/q tags, sha1 hashes).

public Nullable<Boolean> DisallowInvalidFlags { get; set; } #
JsonPropertyName("disallowInvalidFlags")

When true, disallows invalid DKIM flags (unknown flag characters).

public Nullable<Boolean> DisallowUnknownCanonicalizationModes { get; set; } #
JsonPropertyName("disallowUnknownCanonicalizationModes")

When true, disallows unknown canonicalization modes.

public Nullable<Boolean> DisallowInvalidCanonicalization { get; set; } #
JsonPropertyName("disallowInvalidCanonicalization")

When true, disallows invalid canonicalization strings (when c= is present).

public String[] AllowedCnameTargetSuffixes { get; set; } #
JsonPropertyName("allowedCnameTargetSuffixes")

Allowed domain suffixes for selector CNAME targets (vendor-hosted DKIM).

{{ include "footer" }}