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
targetstringThe referenced part URI, or the fragment for an internal reference.
digestAlgorithmstringThe digest algorithm URI recorded for the reference.
matchesboolWhether the recomputed digest equalled the recorded one.
recordedDigeststringThe digest recorded in the signature, base64-encoded.
computedDigeststringThe digest recomputed from the package, base64-encoded, or null when it could not be computed at all.
failureReasonstringWhy the reference failed, or null when it did not.
Exceptions
- ArgumentNullException
targetordigestAlgorithmis null.