Open AvaSharkawy opened 2 years ago
If you are using ASP.NET, impersonate the current user for your ASP.NET application.
I'm using .NET Core WinForms, is there any kind of permissions? I've tried to run application as administrator and the same exception occurs
I've tried your run-time console version and the same exception occurs. Is there is something I'm missing?
if you change the line cms.ComputeSignature(signer) to be cms.ComputeSignature(signer,false), it will ask you for a PIN. This means the current user is not authorized to access the token certificate.
@bassemAgmi
I face same problem I plugged the ePass2003 token and login via the EnterSafe PKI Manager successfully and Installed the certificate on local machine into the Trusted Root Certification Authorities folder via the installer
what should I do else to authorize the user and sign the doc JSON successfully ?
and also have questions
same problem any updates?
Hello, I have an exception in SignWithCMS Method
Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: Provider could not perform the action since the context was acquired as silent.
any one knows how to solve this?