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

Class SMimeVerificationResult

The result of S/MIME signature verification (RFC 5751 §3.4).

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

Constructors

View Source

SMimeVerificationResult(bool, IReadOnlyList<SMimeSignatureInfo>, MimeMessage?)

Initializes a new instance of the SMimeVerificationResult class.

Declaration
public SMimeVerificationResult(bool isSigned, IReadOnlyList<SMimeSignatureInfo> signatures, MimeMessage? content)
Parameters
Type Name Description
bool isSigned
IReadOnlyList<SMimeSignatureInfo> signatures
MimeMessage content

Properties

View Source

Content

Gets the extracted content message, or null if the message is not signed or the content could not be extracted.

Declaration
public MimeMessage? Content { get; }
Property Value
Type Description
MimeMessage
View Source

HasValidSignature

Gets a value indicating whether at least one signature is valid.

Declaration
public bool HasValidSignature { get; }
Property Value
Type Description
bool
View Source

IsSigned

Gets a value indicating whether the message is S/MIME signed (detached or opaque).

Declaration
public bool IsSigned { get; }
Property Value
Type Description
bool
View Source

Signatures

Gets the verification result for each SignerInfo in the SignedData. Empty when IsSigned is false.

Declaration
public IReadOnlyList<SMimeSignatureInfo> Signatures { get; }
Property Value
Type Description
IReadOnlyList<SMimeSignatureInfo>
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX