Class InvalidPasswordException
Thrown when a password was supplied for an encrypted document and it did not verify.
Distinct from DocumentEncryptedException (no usable password at all) and from DocumentIntegrityException (the password was right and the ciphertext is damaged), because a caller retries on one and not on the others.
The message never contains the password that failed.
public sealed class InvalidPasswordException : DocWrightException, ISerializable
- Inheritance
-
InvalidPasswordException
- Implements
- Inherited Members
Constructors
- InvalidPasswordException()
Initializes the exception.
- InvalidPasswordException(string)
Initializes the exception with a message.
- InvalidPasswordException(string, Exception?)
Initializes the exception with a message and an inner exception.