• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DkimSignatureResult

Result of DKIM verification for a single signature (RFC 6376 §6).

Inheritance
object
DkimSignatureResult
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Dkim
Assembly: DRIT.Mail.dll
Syntax
public sealed class DkimSignatureResult

Constructors

View Source

DkimSignatureResult(DkimVerificationStatus, string?, string, string, string?, DkimSigningAlgorithm, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<string>)

Initializes a new instance of the DkimSignatureResult class.

Declaration
public DkimSignatureResult(DkimVerificationStatus status, string? failureReason, string domain, string selector, string? identity, DkimSigningAlgorithm algorithm, DateTimeOffset? signedAt, DateTimeOffset? expiresAt, IReadOnlyList<string> signedHeaders)
Parameters
Type Name Description
DkimVerificationStatus status
string failureReason
string domain
string selector
string identity
DkimSigningAlgorithm algorithm
DateTimeOffset? signedAt
DateTimeOffset? expiresAt
IReadOnlyList<string> signedHeaders

Properties

View Source

Algorithm

Gets the signing algorithm (a= tag).

Declaration
public DkimSigningAlgorithm Algorithm { get; }
Property Value
Type Description
DkimSigningAlgorithm
View Source

Domain

Gets the signing domain (d= tag).

Declaration
public string Domain { get; }
Property Value
Type Description
string
View Source

ExpiresAt

Gets the signature expiration (x= tag), or null if absent.

Declaration
public DateTimeOffset? ExpiresAt { get; }
Property Value
Type Description
DateTimeOffset?
View Source

FailureReason

Gets the failure reason, or null if the signature passed.

Declaration
public string? FailureReason { get; }
Property Value
Type Description
string
View Source

Identity

Gets the signer identity (i= tag), or null if absent.

Declaration
public string? Identity { get; }
Property Value
Type Description
string
View Source

Selector

Gets the selector (s= tag).

Declaration
public string Selector { get; }
Property Value
Type Description
string
View Source

SignedAt

Gets the signing timestamp (t= tag), or null if absent.

Declaration
public DateTimeOffset? SignedAt { get; }
Property Value
Type Description
DateTimeOffset?
View Source

SignedHeaders

Gets the signed header fields (h= tag).

Declaration
public IReadOnlyList<string> SignedHeaders { get; }
Property Value
Type Description
IReadOnlyList<string>
View Source

Status

Gets the verification status.

Declaration
public DkimVerificationStatus Status { get; }
Property Value
Type Description
DkimVerificationStatus
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX