EmailAuthenticationOptions
OfficeIMO.Email
Resource limits and policy for DKIM and ARC verification.
Inheritance
- object
- EmailAuthenticationOptions
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 2
- Method EmailArc.VerifyAsync
- Method EmailDkim.VerifyAsync
Constructors
public EmailAuthenticationOptions() #Inherited Methods
Properties
public long MaxMessageBytes { get; set; } #Maximum raw message size processed. Larger messages are not verified.
public int MaxHeaderFields { get; set; } #Maximum number of header fields parsed.
public int MaxSignatures { get; set; } #Maximum DKIM-Signature header fields evaluated; later ones are reported as not evaluated.
public int MaxKeyLookups { get; set; } #Maximum distinct key lookups per verification.
public int MinimumRsaKeyBits { get; set; } #Minimum accepted RSA key size. RFC 8301 requires at least 1024 bits.
public bool RejectBodyLengthLimit { get; set; } #When true, signatures carrying an l= body length limit are refused with EmailDkimResult.Policy. When false (the default), they are evaluated and reported with a warning and EmailDkimSignatureResult.UnsignedBodyBytes.
public DateTimeOffset? VerificationTime { get; set; } #Verification time used for x= expiration. Defaults to the current UTC time.
public TimeSpan AllowedClockSkew { get; set; } #Allowed clock skew for t= timestamps in the future before a warning is recorded.