sponsored ads

how to verify the digital signature with modem code 52 in Windows 7

sponsored ads

When i verify the digital signature with modem code 52 in Windows 7, I got the below error:
"Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change mght have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)"
thanks. Asked Apr, 22 2011
add commentflag 

sponsored ads

answer this question

I use Aspose.Cells to add digital signature, and it works fine

using Aspose.Cells;
using Aspose.Cells.DigitalSignatures;
using System.Security.Cryptography.X509Certificates;

       public void testSign()
       {
           DigitalSignatureCollection dsc = new DigitalSignatureCollection();
           //mykey.pfx is author's private key , "tryto" is password of private key.
           X509Certificate2 cert = new X509Certificate2("m:\\mykey.pfx", "tryto");
           DigitalSignature ds = new DigitalSignature(cert, "helloworld", DateTime.Now);
           dsc.Add(ds);
           Workbook wb = new Workbook("m:\\test.xlsx");
           wb.AddDigitalSignature(dsc);
           wb.Save("m:\\test.xlsx");
       }

Validate file:
       public void testvalidateSign()
       {
           Workbook wb = new Workbook("m:\\test.xlsx");
           System.Console.WriteLine(wb.IsDigitallySigned);
           DigitalSignatureCollection dsc = wb.GetDigitalSignature();
           foreach (DigitalSignature ds in dsc)
           {
               System.Console.WriteLine(ds.Comments);
               System.Console.WriteLine(ds.SignTime);
               System.Console.WriteLine(ds.IsValid);
           }
           System.Console.ReadLine();
       }

Answered Nov, 23 2010
vote up 2 vote down

If this is after you’ve created your account, you can navigate away from that webpage and go to mail.google.com and sign in (bypassing the verification process). This is what I did, I’m not sure if it still works though. 

Answered Sep, 30 2011
vote up 0 vote down

use Aspose.Cells to add or get digital signature, and it works fine for me .

using Aspose.Cells;
using Aspose.Cells.DigitalSignatures;
using System.Security.Cryptography.X509Certificates;

       public void testSign()
       {
           DigitalSignatureCollection dsc = new DigitalSignatureCollection();
           //mykey.pfx is author's private key , "tryto" is password of private key.
           X509Certificate2 cert = new X509Certificate2("m:\\mykey.pfx", "tryto");
           DigitalSignature ds = new DigitalSignature(cert, "helloworld", DateTime.Now);
           dsc.Add(ds);
           Workbook wb = new Workbook("m:\\test.xlsx");
           wb.AddDigitalSignature(dsc);
           wb.Save("m:\\test.xlsx");
       }

Validate file:
       public void testvalidateSign()
       {
           Workbook wb = new Workbook("m:\\test.xlsx");
           System.Console.WriteLine(wb.IsDigitallySigned);
           DigitalSignatureCollection dsc = wb.GetDigitalSignature();
           foreach (DigitalSignature ds in dsc)
           {
               System.Console.WriteLine(ds.Comments);
               System.Console.WriteLine(ds.SignTime);
               System.Console.WriteLine(ds.IsValid);
           }
           System.Console.ReadLine();
       }

Answered Nov, 23 2010
vote up 1 vote down

Your Answer

community wiki:

The Verified Code is to stop spamming. It will be hidden once your reputation reached 100.
or
Create one

Options

sponsored ads

Download related software from AFC

Alcohol 52% 2.0.1.2033

Last Updated: Oct 26, 2011
License: Shareware
Filesize: 8.47MB

Continue to downloadPower by Afreecodec.com