CmsSigningOptions
OfficeIMO.Security
Options for CMS signing.
Inheritance
- object
- CmsSigningOptions
Usage
Explore 3 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.
Returned or exposed by 1
- Property OfficeVbaSigningOptions.CmsSigning
Accepted by parameters 2
Constructors
public CmsSigningOptions() #Inherited Methods
Properties
public HashAlgorithmName DigestAlgorithm { get; set; } #Digest algorithm. SHA-256 is the default.
public string? ContentTypeOid { get; set; } #Optional ASN.1 object identifier for the signed content type. CMS data is used when omitted.
public bool UsePadesBaseline { get; set; } #Creates detached PAdES baseline CMS with signing-certificate-v2 and without CMS signing-time. Requires SHA-256 or stronger.
public Func<byte[], byte[]>? SignatureTimestampProvider { get; set; } #Optional RFC 3161 timestamp provider. Receives a copy of the raw signature value and returns a DER timestamp token covering that value. The caller owns transport and TSA trust policy; the signer checks the token signature, TSA certificate profile and imprint before embedding it as an unsigned attribute.
public bool IncludeSigningTime { get; set; } #Whether to include the CMS signing-time attribute. Defaults to true; ignored when UsePadesBaseline is true.
public DateTimeOffset? SigningTime { get; set; } #Optional signing time. Current UTC time is used when omitted.
public bool IncludeCertificateChain { get; set; } #Whether supplied chain certificates are embedded. Defaults to true.
public long MaxContentBytes { get; set; } #Maximum content bytes accepted. Defaults to 512 MiB.