CmsVerificationOptions
OfficeIMO.Security
Options for CMS SignedData verification.
Inheritance
- object
- CmsVerificationOptions
Usage
Explore 5 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 2
Accepted by parameters 3
Constructors
public CmsVerificationOptions() #Inherited Methods
Properties
public long MaxEncodedBytes { get; set; } #Maximum encoded CMS bytes accepted. Defaults to 128 MiB.
public long MaxContentBytes { get; set; } #Maximum detached or encapsulated content bytes accepted. Defaults to 512 MiB.
public int MaxSigners { get; set; } #Maximum signer count. Defaults to 32.
public int MaxCertificates { get; set; } #Maximum embedded certificate count. Defaults to 256.
public int MaxTimestampTokens { get; set; } #Maximum RFC 3161 timestamp-token count across all CMS signers. Defaults to 32.
public long MaxTimestampTokenBytes { get; set; } #Maximum encoded bytes for one RFC 3161 timestamp token. Defaults to 16 MiB.
public long MaxTotalTimestampBytes { get; set; } #Maximum aggregate encoded timestamp-token bytes across all CMS signers. Defaults to 64 MiB.
public bool ValidateTimestamps { get; set; } #Whether signature timestamp tokens should be verified. Defaults to true.
public CertificateValidationOptions CertificateValidation { get; } #Certificate-chain policy shared by signers and timestamp authorities.