public class SignatureLengthMismatchException extends PdfException
Represents errors that occur during PDF signing.
Occurs if SignHash
is used to sign a document and the actual length of the signature is greater
than that specified in the
Signature.DefaultSignatureLength
(Signature#getDefaultSignatureLength
/Signature#setDefaultSignatureLength(int)
) option.
Constructor and Description |
---|
SignatureLengthMismatchException(int actualSignatureLength)
Creates an instance of
SignatureLengthMismatchException by an actual signature length. |
generateCrashReport
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Copyright © 2025 Aspose. All Rights Reserved.