2008-01-03 02:12:45 UTC
I am experiencing a problem when I attempt to validate a signature
(PKCS7/CMS Detached) that was signed with a certificate utilizing
sha1rsa and a 2048 public key. When calling verify, I receive the
following message " Error 80091002: Unknown Cryptographic Algorithm.
However, when I verify a signature that was signed using a certificate
that utilizes utilizing sha1rsa with a 1024 key, it works fine.
I am using CAPICOM 220.127.116.11. Does anyone know if this version supports
a certificate with a 2048 public key?
Thank you very much for any help you may provide,
Dim oSignedData As New CAPICOM.SignedData
Dim szSignature As String
Dim iStart As Integer, iEnd As Integer, szTemp As String
On Error GoTo ErrorHandler
' get the pkcs7 signature
szSignature = Signature
' verify The message
Set oSignedData = New CAPICOM.SignedData
' is this a detached or attached signature, deal with the
oSignedData.Content = Content
Call oSignedData.Verify(szSignature, True,