Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

CmsVerificationResult

OfficeIMO.Security

Namespace
OfficeIMO.Security
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Neutral CMS SignedData verification result.

Inheritance

  • object
  • CmsVerificationResult

Usage

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

Constructors

public CmsVerificationResult(bool parsed, bool isDetached, string? contentTypeOid, byte[]? encapsulatedContent, AuthenticodeIndirectDataInfo? authenticodeIndirectData, IReadOnlyList<CmsSignerVerificationResult> signers, IReadOnlyList<SecurityFinding> findings) #

Creates CMS verification evidence for a provider implementation.

Parameters

parsed bool required
isDetached bool required
contentTypeOid string? required
encapsulatedContent byte[]? required
authenticodeIndirectData OfficeIMO.Security.AuthenticodeIndirectDataInfo? required
signers System.Collections.Generic.IReadOnlyList<OfficeIMO.Security.CmsSignerVerificationResult> required
findings System.Collections.Generic.IReadOnlyList<OfficeIMO.Security.SecurityFinding> required

Properties

public bool Parsed { get; } #

Whether the CMS container was decoded.

public bool IsDetached { get; } #

Whether SignedData omits encapsulated content.

public string? ContentTypeOid { get; } #

Encapsulated content type object identifier.

public byte[]? EncapsulatedContent { get; } #

Cloned encapsulated content, when present.

public AuthenticodeIndirectDataInfo? AuthenticodeIndirectData { get; } #

Gets the signed Authenticode subject digest when the encapsulated content uses SPC indirect data.

public IReadOnlyList<CmsSignerVerificationResult> Signers { get; } #

Signer results in encoded order.

public IReadOnlyList<SecurityFinding> Findings { get; } #

Container-level findings.

public bool IsCryptographicallyValid { get; } #

True only when at least one signer exists and every signer signature and digest is valid.