Sign in
Decrypt my World
Cryptography, Security, Debugging and more!
Tags
ADSI
CAPICOM
Cdb
CertEnroll
CNG
Credential Providers
CryptAcquireContext
CryptoAPI
Debugger scripts
Debugging
DPAPI
Interop
LSASS
NT Services
NTSD
P/Invoke
PowerShell
RSACryptoServiceProvider
SCard API
Smart Card
System.DirectoryServices
System.Reflection
System.Security
VBScript
WinDbg
Windows 7
Windows SDK
Windows Server 2003
Windows Server 2008
Windows Vista
Windows XP
WinInet
WMI
x64
XEnroll
Browse by Tags
MSDN Blogs
>
Decrypt my World
>
All Tags
>
cng
Tagged Content List
Blog Post:
SignTool fails with error 0x80092006 on Windows Server 2008
Alejandro Campos Magencio
Hi all, The other day a customer of mine was trying to sign a binary with SignTool.exe using the following command line on Windows Server 2008 SP2 : Signtool.exe sign /a /f "c:\mycert.pfx" /p "password" /t "http://timestamp.verisign.com/scripts/timstamp.dll" "c:\temp\myFile.exe" And...
on
24 Mar 2011
Blog Post:
More on .NET CMS classes and SHA-2 algorithms
Alejandro Campos Magencio
Hi all, We don’t officially support the .NET CMS classes with SHA-2 algorithms . This won’t work on Vista and later with third-party CSPs , for instance: "An internal error ocurred" when using SHA-2 algorithms with SignedCMS "Invalid provider type specified" when using CNG providers...
on
21 Dec 2010
Blog Post:
"Invalid provider type specified" when using CNG providers with .NET CMS classes
Alejandro Campos Magencio
Hi all, The other day a customer of mine got this exception when trying to use SignedCms and EnvelopedCms class with a CNG provider in their .NET 3.5 application: Exception type: System.Security.Cryptography.CryptographicException Message: Invalid provider type specified. They needed to use...
on
28 Jul 2010
Blog Post:
"An internal error ocurred" when using AES algorithms with EnvelopedCms
Alejandro Campos Magencio
Hi all, The other day a customer of mine got this exception when trying to use AES algorithms with EnvelopedCms class in their .NET 3.5 application: Exception type: System.Security.Cryptography.CryptographicException Message: An internal error occurred. They got the exception on Windows Vista SP2...
on
7 Jun 2010
Blog Post:
"An internal error ocurred" when using SHA-2 algorithms with SignedCMS
Alejandro Campos Magencio
Hi all, The other day a customer of mine got this exception when trying to use SHA-2 algorithms with SignedCms class in their .NET 3.5 application: Exception type: System.Security.Cryptography.CryptographicException Message: An internal error occurred. They got the exception on Windows Vista SP2...
on
2 Jun 2010
Blog Post:
Do CNG certificates work on Windows XP?
Alejandro Campos Magencio
Hi all, I posted some time ago about some issues that .NET 2.0/3.0/3.5 had with CNG certificates : "Invalid provider type specified" error when accessing X509Certificate2.PrivateKey on CNG certificates . This issue happened to us on Windows Vista/Server 2008 and later . But the weird thing is that...
on
13 Jan 2010
Blog Post:
"Invalid provider type specified" error when accessing X509Certificate2.PrivateKey on CNG certificates
Alejandro Campos Magencio
Hi all, You may get the following exception when trying to access X509Certificate2 . PrivateKey on a .NET 3.5 (or older) app: " System.Security.Cryptography. CryptographicException : Invalid provider type specified . at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters...
on
22 Dec 2009
Blog Post:
Working with CNG in .NET 3.5
Alejandro Campos Magencio
Hi all, Do you want to work with CNG and .NET 3.5 and don't want to P/Invoke into CryptoAPI & CNG API ? Check out Security.Cryptography.dll library at CLR Security : " Security.Cryptography.dll provides a new set of algorithm implementations to augment the built in .NET framework supported...
on
14 Oct 2009
Page 1 of 1 (8 items)