Enum SignatureStatus
- Namespace
- DocWright.Signatures
- Assembly
- DocWright.Signatures.dll
What verification concluded about one signature.
public enum SignatureStatus
Fields
Valid = 0Every referenced part matched its recorded digest and the signature value verified against the embedded certificate's public key.
ReferenceDigestMismatch = 1At least one referenced part no longer matches the digest recorded for it. The parts are named individually in References.
SignatureValueMismatch = 2Every digest matched, but the signature value itself did not verify against the embedded public key — the signature was produced by a different key, or the
SignedInfoelement was altered.Unsupported = 3The signature names an algorithm or canonicalization method this package does not implement, so no verdict was reached. Distinct from a failure on purpose: "I cannot check this" and "this is wrong" are different answers.
Remarks
Every value here answers "do these bytes match what was signed, with this certificate?"
and nothing else. None of them means the signer should be trusted — see
ISignatureProvider and COMPAT.md on the trust boundary.