Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeOpenPgpVerificationResult

OfficeIMO.Security

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

Result of verifying a detached or cleartext OpenPGP signature.

Inheritance

  • object
  • OfficeOpenPgpVerificationResult

Usage

Explore 2 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 OfficeOpenPgpVerificationResult(IEnumerable<OfficeOpenPgpSignatureInfo>? signatures, string? message = null, byte[]? signedContent = null) #

Creates a verification result.

Parameters

signatures System.Collections.Generic.IEnumerable<OfficeIMO.Security.OfficeOpenPgpSignatureInfo>? required
message string? = null optional
signedContent byte[]? = null optional

Properties

public IReadOnlyList<OfficeOpenPgpSignatureInfo> Signatures { get; } #

Every signature found, in packet order.

public string? Message { get; } #

Explanation when no signature could be read.

public byte[]? SignedContent { get; } #

For cleartext-signed messages, the signed text with dash-escaping removed and CRLF line endings.

public bool IsValid { get; } #

True when at least one signature was found and every signature is valid.