Name | Description | |
---|---|---|
DecryptionOptions Constructor |
The following tables list the members exposed by DecryptionOptions.
Name | Description | |
---|---|---|
DecryptionOptions Constructor |
Name | Description | |
---|---|---|
BytesPassword | Gets or sets the bytes array specifying the password to open a PDF document. This property is useful when password contains specific regional character which cannot be converted to bytes using UTF8 encoding.
Note that only one of StringPassword or BytesPassword can be specified, but not both. | |
StringPassword | Gets or sets the string specifying the password to open a PDF document.
Note that only one of StringPassword or BytesPassword can be specified, but not both. | |
ThrowExceptionIfInvalidPassword | Gets or sets a value indicating whether to throw an exception if the specified password is invalid.
If false, the document will be opened even if the specified password is invalid, but many methods and properties will not work in this case. The default is true. | |
ThrowExceptionIfUnsupportedSecurityOptions | Gets or sets a value indicating whether to throw an exception if the definition of the security handler is in unknown or invalid format.
If false, the document will be opened even if the security handler cannot be parsed, but many methods and properties will not work in this case. The default is true. |