Table of Contents

Constructor SignatureReferenceResult

Namespace
DocWright.Signatures
Assembly
DocWright.Signatures.dll

SignatureReferenceResult(string, string, bool, string?, string?, string?)

Creates a reference result.

public SignatureReferenceResult(string target, string digestAlgorithm, bool matches, string? recordedDigest, string? computedDigest, string? failureReason)

Parameters

target string

The referenced part URI, or the fragment for an internal reference.

digestAlgorithm string

The digest algorithm URI recorded for the reference.

matches bool

Whether the recomputed digest equalled the recorded one.

recordedDigest string

The digest recorded in the signature, base64-encoded.

computedDigest string

The digest recomputed from the package, base64-encoded, or null when it could not be computed at all.

failureReason string

Why the reference failed, or null when it did not.

Exceptions

ArgumentNullException

target or digestAlgorithm is null.