Table of Contents

Struct AuthenticodeVerificationResult

Namespace
Utils.Reflection.ProcessIsolation
Assembly
Utils.Reflection.dll

Structured result from VerifyAuthenticodeSignature(string, AuthenticodeRevocationPolicy), separating signature presence, chain trust, and revocation status.

public readonly struct AuthenticodeVerificationResult
Inherited Members
Extension Methods

Properties

IsChainTrusted

The certificate chain is cryptographically valid and leads to a trusted root. false when the signature is forged, the chain is broken, or the root is not in the trusted-root store.

public bool IsChainTrusted { get; init; }

Property Value

bool

IsSigned

The file carries an Authenticode signature block that can be decoded.

public bool IsSigned { get; init; }

Property Value

bool

IsValid

true when the file is signed, the chain is trusted, and the certificate is not revoked. A Offline or NotChecked status is treated as non-revoked here; callers with stricter requirements should inspect Revocation directly.

public bool IsValid { get; }

Property Value

bool

Revocation

Revocation status of the signing certificate (and its CA chain).

public RevocationStatus Revocation { get; init; }

Property Value

RevocationStatus