public PdfPublicKeyDecryptionHandler( X509Store store )
Public Sub New ( store As X509Store )
When trying to decrypt a document, the library looks for a matching certificate in the specified certificate store. The first matching certificate will be used. In case there are no matching certificates in certificate store, an instance of CannotDecryptPdfException will be thrown when the handler is used to decrypt a document.
Any certificate not marked as exportable is ignored during the search for a matching certificate.
The permissions for the decrypted document might vary, depending on the matching certificate.