Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSignatureValidationOptions

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • WordSignatureValidationOptions

Usage

Explore 1 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.

Accepted by parameters 1

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 bool ValidateCryptographicSignature { get; set; } #

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

public bool ValidateTimestamps { get; set; } #

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

public int MaxSignatureParts { get; set; } #

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

public long MaxPackageBytes { get; set; } #

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

public int MaxPackageParts { get; set; } #

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

public long MaxPartBytes { get; set; } #

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

public int MaxSignedReferences { get; set; } #

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

public long MaxTotalDigestBytes { get; set; } #

Gets or sets the maximum aggregate bytes processed by package-part and local SignedInfo digest-work phases across the validation operation. Local-reference work includes every certificate candidate that may trigger cryptographic verification. Defaults to 512 MiB.

public long MaxSignatureBytes { get; set; } #

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

public int MaxCertificates { get; set; } #

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

public long MaxCertificateBytes { get; set; } #

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

public long MaxTotalCertificateBytes { get; set; } #

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

public int MaxTimestampTokens { get; set; } #

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

public long MaxTimestampBytes { get; set; } #

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