API Reference

Class

WordSignatureValidationOptions

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Modifiers sealed

Trust, revocation, timestamp, and resource policy for OPC XML-signature validation.

Inheritance

  • Object
  • WordSignatureValidationOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public WordSignatureValidationOptions() #

Properties

public CertificateValidationOptions CertificateValidation { get; } #

Gets signer certificate-chain and revocation policy.

public CertificateValidationOptions TimestampCertificateValidation { get; } #

Gets timestamp-authority certificate-chain and revocation policy.

public Boolean ValidateCryptographicSignature { get; set; } #

Gets or sets whether XML DSig signature-value and signed-object validation is performed.

public Boolean ValidateTimestamps { get; set; } #

Gets or sets whether embedded RFC 3161 timestamp tokens are validated.

public Int32 MaxSignatureParts { get; set; } #

Gets or sets the maximum number of XML signature parts. Defaults to 32.

public Int64 MaxPackageBytes { get; set; } #

Gets or sets the maximum encoded OPC package bytes accepted. Defaults to 512 MiB.

public Int32 MaxPackageParts { get; set; } #

Gets or sets the maximum number of OPC package entries accepted. Defaults to 10,000.

public Int64 MaxPartBytes { get; set; } #

Gets or sets the maximum uncompressed bytes read from one signed package part. Defaults to 256 MiB.

public Int32 MaxSignedReferences { get; set; } #

Gets or sets the maximum authenticated XML signature references per signature part. Defaults to 4,096.

public Int64 MaxTotalDigestBytes { get; set; } #

Gets or sets the maximum aggregate bytes processed by each package-part or local SignedInfo digest-work phase per signature part. Local-reference work includes every certificate candidate that may trigger cryptographic verification. Defaults to 512 MiB.

public Int64 MaxSignatureBytes { get; set; } #

Gets or sets the maximum bytes read from one signature part. Defaults to 16 MiB.

public Int32 MaxCertificates { get; set; } #

Gets or sets the maximum embedded or related certificates per signature. Defaults to 64.

public Int64 MaxCertificateBytes { get; set; } #

Gets or sets the maximum encoded bytes read from one related signer certificate. Defaults to 4 MiB.

public Int64 MaxTotalCertificateBytes { get; set; } #

Gets or sets the maximum aggregate certificate bytes decoded or read across all signature parts. Defaults to 64 MiB.

public Int32 MaxTimestampTokens { get; set; } #

Gets or sets the maximum aggregate RFC 3161 timestamp-token count across the validation operation. Defaults to 16.

public Int64 MaxTimestampBytes { get; set; } #

Gets or sets the maximum encoded bytes per RFC 3161 timestamp token. Aggregate decoded work is bounded by this value times MaxTimestampTokens. Defaults to 16 MiB.