Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

CmsDecryptionResult

OfficeIMO.Security

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

Result of attempting to decrypt CMS EnvelopedData for one certificate.

Inheritance

  • object
  • CmsDecryptionResult

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.

Returned or exposed by 1

Constructors

public CmsDecryptionResult(bool parsed, bool decrypted, byte[]? content, string? contentEncryptionAlgorithmOid, string? keyEncryptionAlgorithmOid, IReadOnlyList<SecurityFinding> findings) #

Creates CMS decryption evidence for a provider implementation.

Parameters

parsed bool required
decrypted bool required
content byte[]? required
contentEncryptionAlgorithmOid string? required
keyEncryptionAlgorithmOid string? required
findings System.Collections.Generic.IReadOnlyList<OfficeIMO.Security.SecurityFinding> required

Properties

public bool Parsed { get; } #

Whether the EnvelopedData container was decoded.

public bool Decrypted { get; } #

Whether a matching recipient was successfully decrypted.

public byte[]? Content { get; } #

Cloned plaintext content when decryption succeeded.

public string? ContentEncryptionAlgorithmOid { get; } #

CMS content-encryption algorithm object identifier.

public string? KeyEncryptionAlgorithmOid { get; } #

Recipient key-encryption algorithm object identifier.

public IReadOnlyList<SecurityFinding> Findings { get; } #

Structured processing findings.