Answer the question
In order to leave comments, you need to log in
CryptoPro Browser Plugin. Why is an "Access denied" exception thrown when signing data?
Good afternoon.
To sign documents in the browser, we use the CryptoPro Browser Plugin.
When executing the following code:
var oSigner = cadesplugin.CreateObject("CAdESCOM.CPSigner");
oSigner.Certificate = oCert;
var oSignedData = cadesplugin.CreateObject("CAdESCOM.CadesSignedData");
oSignedData.ContentEncoding = 0x01;
oSignedData.Content = dataToSign;
var sSignedMessage = oSignedData.SignCades(oSigner, 1);
Access denied (0x80090010)
var sSignedMessage = oSignedData.SignCades(oSigner, 1);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question