Questions tagged [capicom]

CAPICOM is a discontinued ActiveX control created by Microsoft to help expose a select set of Microsoft Cryptographic Application Programming Interface (CryptoAPI) functions through Microsoft Component Object Model (COM). It was intended to enable every environment that supports ActiveX to use Microsoft Cryptographic technologies, including web pages that are opened with Microsoft Internet Explorer or any other web browser that supports ActiveX.

47 questions
1
vote
0 answers

AES Decryption from CAPICOM in .NET System.Security.Cryptographic

I reckon there are some questions already similar to what I'm about to discuss here. But, I'm gonna provide some code that might be used for other projects if this million dollar question can be answered. I am trying to create a decryption mechanism…
1
vote
0 answers

How to verify digital signatured content and certificate

I want to verify my base64 encoded string which I got after using capicom js. I found a solution using CAPICOM_VERIFY_SIGNATURE_ONLY but it returns as the hash value is not correct. The code I am using is below var verify_fn1 =…
1
vote
1 answer

How can I access Certificate ExtendedProperties using powershell?

If you open the properties window of a certificate in the certificate manager in windows you will see both a friendlyname and description field. I'm trying to get to the description field programatically via powershell. When accessing the…
Brian Adams
  • 976
  • 1
  • 8
  • 18
1
vote
1 answer

How to replicate CAPICOM SignedData.Sign() method in C#

I need to write a test harness for an existing Classic Asp website that uses VB6/CAPICOM components. The aim is to recreate the result of SignedData.Sign() so I can POST this to the Classic Asp website where it will decode the payload using…
jimmy_b
  • 163
  • 1
  • 7
1
vote
0 answers

"Inject" the signer's certificate into the PKCS#7-without-signer-certificate

According to what I have read, it seems that CAPICOM does not support the verification of PKCS#7 that do not contain the signer's certificate, while, on the other hand, PKCS#7 can come without the signer's certificate! In other words, it seems that…
Babelabout
  • 445
  • 3
  • 15
1
vote
0 answers

Validating with CAPICOM working in NET11 but not in NET45

We are using the following code to validate a detached signature in NET 1.1, which is working in Windows XP and Windows Server 2003: [Test] public void should_validate_with_old_capicom() { string data =…
jruizaranguren
  • 12,679
  • 7
  • 55
  • 73
1
vote
0 answers

How to encrypt value use capicom in java

I have implemented encryption capicom using python. how to set algorithm key length, name and secret with java? def encrypt(key,content): EncryptedData = win32com.client.Dispatch('CAPICOM.EncryptedData') EncryptedData.Algorithm.KeyLength =…
avew
  • 13
  • 5
1
vote
0 answers

Windows Virtual Smart Card (VSC) security error

Using javascript and activeX (CAPICOM Store api), I am trying to remove a certificate from the user Store through IE 11. The javascript code I use is the following :…
1
vote
1 answer

Replacement for CAPICOM

Now CAPICOM is deprecated, and MSDN recommends to use .net classes from System.Security.Cryptography. But I have one Lotus Notes application, which using CAPICOM from LotusScript code (very similar to VisualBasic) for displaying certificates to…
AlexLocust
  • 380
  • 4
  • 11
1
vote
1 answer

How do I sign a PDF with a Smart Card in a web context using iText?

Read through the following references: iText Digital signature white paper, and C# examples. (specifically chapter 4) For those interested, another great and concise summary of the PDF signing process. CAPICOM documentation. Online examples /…
kuujinbo
  • 9,272
  • 3
  • 44
  • 57
1
vote
0 answers

"ASN1 tag bad value" error importing public key from X.509 certificate

I need to encrypt something with RSA using a public key provided by a X.509 certificate. The certificate is in order (checking in Windows Explorer shows the public key, RSA 20148 bits.) My attempt at doing the first basic step, importing the public…
Sherlock70
  • 564
  • 10
  • 24
1
vote
0 answers

CAPICOM with Qt?

I have a to write a program with Qt/C++ that is supposed to work with an awkward cryptographic platform based on CAPICOM/IE6 and a USB token holding the private key of digital signature. Users of system must follow these steps to login: Install a…
sorush-r
  • 10,490
  • 17
  • 89
  • 173
1
vote
0 answers

Signing Data in Windows Store App for a web service with Capicom

I'm working on a Windows Store App. Therefore I have to consume an old ASMX webservice. This service unsigns the data with the Capicom-library. The problem is, that I can't use Capicom in the Windows Store App. Is there a way to sign the data…
christof
  • 133
  • 1
  • 8
1
vote
1 answer

How to use Microsoft PKCS#9 SignerInfo attributes in a Java application?

In http://msdn.microsoft.com/en-us/library/system.security.cryptography.pkcs(VS.85).aspx we can see that the following digital signature attributes are…
Thiago Chaves
  • 9,218
  • 5
  • 28
  • 25
1
vote
1 answer

Capicom 3des: 2 key or 3 key?

Much searching and reading has not told me whether the capicom.encrypteddata class module (it's VB6, but that shouldn't matter in answering this question) is using 2-key 3DES or 3-key 3DES. (.Algorithm.Name = CAPICOM_ENCRYPTION_ALGORITHM_3DES)…
Brian
  • 25,523
  • 18
  • 82
  • 173