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

Class SMimeSignerOptions

Options for S/MIME signing (RFC 5751 §3.4).

Inheritance
object
SMimeSignerOptions
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 SMimeSignerOptions

Properties

View Source

DigestAlgorithm

Gets or sets the digest algorithm. Defaults to SHA-256.

Declaration
public SMimeDigestAlgorithm DigestAlgorithm { get; set; }
Property Value
Type Description
SMimeDigestAlgorithm
View Source

ExtraCertificates

Gets or sets additional certificates (DER-encoded) to embed in the SignedData (e.g. the issuer chain). The signer certificate is always included.

Declaration
public IReadOnlyList<byte[]>? ExtraCertificates { get; set; }
Property Value
Type Description
IReadOnlyList<byte[]>
View Source

IncludeSigningTime

Gets or sets a value indicating whether to include the signingTime signed attribute. Defaults to true.

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

PrivateKey

Gets or sets the RSA private key used to produce the signature.

Declaration
public RSA? PrivateKey { get; set; }
Property Value
Type Description
RSA
View Source

SignerCertificate

Gets or sets the signer's X.509 certificate. The certificate must contain an RSA public key that matches PrivateKey.

Declaration
public X509CertificateInfo? SignerCertificate { get; set; }
Property Value
Type Description
X509CertificateInfo
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX