Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

CmsDecryptionResult

Namespace OfficeIMO.Security
Assembly OfficeIMO.Core
Source revision 45ddf07f0b84 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(Boolean parsed, Boolean decrypted, Byte[]? content, String? contentEncryptionAlgorithmOid, String? keyEncryptionAlgorithmOid, IReadOnlyList<SecurityFinding> findings) #

Creates CMS decryption evidence for a provider implementation.

Parameters

parsed System.Boolean requiredposition: 0
decrypted System.Boolean requiredposition: 1
content System.Byte[]? requiredposition: 2
contentEncryptionAlgorithmOid System.String? requiredposition: 3
keyEncryptionAlgorithmOid System.String? requiredposition: 4
findings System.Collections.Generic.IReadOnlyList<OfficeIMO.Security.SecurityFinding> requiredposition: 5

Properties

public Boolean Parsed { get; } #

Whether the EnvelopedData container was decoded.

public Boolean 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.