Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeOpenPgpSignatureInfo

OfficeIMO.Security

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

Evaluation of one OpenPGP signature. Trust in the signer's identity remains the caller's decision.

Inheritance

  • object
  • OfficeOpenPgpSignatureInfo

Usage

Explore 4 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.

Accepted by parameters 2

Constructors

public OfficeOpenPgpSignatureInfo(OfficeOpenPgpSignatureStatus status, string message, string? keyId = null, string? signingKeyFingerprint = null, string? primaryKeyFingerprint = null, IEnumerable<string>? userIds = null, DateTimeOffset? createdAt = null, string? hashAlgorithm = null, string? publicKeyAlgorithm = null, int signatureVersion = 0, int keyVersion = 0, bool isTextSignature = false) #

Creates a signature evaluation.

Parameters

status OfficeIMO.Security.OfficeOpenPgpSignatureStatus required
message string required
keyId string? = null optional
signingKeyFingerprint string? = null optional
primaryKeyFingerprint string? = null optional
userIds System.Collections.Generic.IEnumerable<string>? = null optional
createdAt System.DateTimeOffset? = null optional
hashAlgorithm string? = null optional
publicKeyAlgorithm string? = null optional
signatureVersion int = 0 optional
keyVersion int = 0 optional
isTextSignature bool = false optional

Properties

public OfficeOpenPgpSignatureStatus Status { get; } #

Signature status.

public string Message { get; } #

Human-readable explanation.

public string? KeyId { get; } #

Issuer key ID as 16 uppercase hex digits.

public string? SigningKeyFingerprint { get; } #

Fingerprint of the key that made the signature, when it was found.

public string? PrimaryKeyFingerprint { get; } #

Fingerprint of the primary key of the signer's certificate, when it was found.

public IReadOnlyList<string> UserIds { get; } #

User IDs on the signer's certificate. They are claims, not verified identities.

public DateTimeOffset? CreatedAt { get; } #

Signature creation time.

public string? HashAlgorithm { get; } #

Hash algorithm name.

public string? PublicKeyAlgorithm { get; } #

Public-key algorithm name.

public int SignatureVersion { get; } #

Signature packet version.

public int KeyVersion { get; } #

Signing key packet version.

public bool IsTextSignature { get; } #

True for canonical text signatures (type 0x01).