Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

CmsVerificationResult

Namespace OfficeIMO.Security
Assembly OfficeIMO.Core
Modifiers sealed

Neutral CMS SignedData verification result.

Inheritance

  • Object
  • CmsVerificationResult

Usage

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

Constructors

public CmsVerificationResult(Boolean parsed, Boolean isDetached, String contentTypeOid, Byte[] encapsulatedContent, AuthenticodeIndirectDataInfo authenticodeIndirectData, IReadOnlyList<CmsSignerVerificationResult> signers, IReadOnlyList<SecurityFinding> findings) #

Creates CMS verification evidence for a provider implementation.

Parameters

parsed System.Boolean requiredposition: 0
isDetached System.Boolean requiredposition: 1
contentTypeOid System.String requiredposition: 2
encapsulatedContent System.Byte[] requiredposition: 3
authenticodeIndirectData OfficeIMO.Security.AuthenticodeIndirectDataInfo requiredposition: 4
signers System.Collections.Generic.IReadOnlyList{OfficeIMO.Security.CmsSignerVerificationResult} requiredposition: 5
findings System.Collections.Generic.IReadOnlyList{OfficeIMO.Security.SecurityFinding} requiredposition: 6

Properties

public Boolean Parsed { get; } #

Whether the CMS container was decoded.

public Boolean 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 Boolean IsCryptographicallyValid { get; } #

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