Class SignatureReferenceResult
- Namespace
- DocWright.Signatures
- Assembly
- DocWright.Signatures.dll
The verdict on one reference inside a signature — in an OPC package signature, one package part.
public sealed class SignatureReferenceResult
- Inheritance
-
SignatureReferenceResult
- Inherited Members
Remarks
Reporting per reference is the point. "The signature is invalid" tells a caller almost
nothing; "/word/document.xml does not match its recorded digest, and everything else
does" tells them what happened to their document.
Constructors
- SignatureReferenceResult(string, string, bool, string?, string?, string?)
Creates a reference result.
Properties
- ComputedDigest
The digest recomputed from the package, base64-encoded; null when it could not be computed.
- DigestAlgorithm
The digest algorithm URI the signature recorded for this reference.
- FailureReason
Why this reference failed, or null when it did not.
- Matches
Whether the recomputed digest equalled the recorded one.
- RecordedDigest
The digest recorded in the signature, base64-encoded.
- Target
The referenced package part URI, or a
#fragmentfor a reference internal to the signature.