Table of Contents

Class PdfSignatureInvalidationException

Namespace
LMKit.Exceptions
Assembly
LM-Kit.NET.dll

Thrown when an operation would rewrite a digitally signed PDF, which invalidates its signatures, and the caller did not consent to that.

public sealed class PdfSignatureInvalidationException : PdfDocumentException, ISerializable
Inheritance
PdfSignatureInvalidationException
Implements
Inherited Members

Remarks

A full rewrite changes the bytes every signature's digest was computed over, so the signatures of the output can never verify again. Operations that write PDFs expose an explicit opt-in (for example PdfRedactionOptions.AllowSignatureInvalidation, or the PdfSaveOptions.AllowSignatureInvalidation flag on raw saves); pass it to proceed deliberately.

Properties

SignatureCount

Gets the number of digital signatures the document carried when the operation was refused.

Share