Class
CmsDecryptionResult
OfficeIMO.Security
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
- decrypted bool
- content byte[]?
- contentEncryptionAlgorithmOid string?
- keyEncryptionAlgorithmOid string?
- findings System.Collections.Generic.IReadOnlyList<OfficeIMO.Security.SecurityFinding>
Inherited Methods
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.