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
1 answer

Delphi CGI WebService - Digital Certificates

I Have a delphi 7 CGI webService (in windows XP but windows 7 is not out of the table) application in witch i need to access digital certificate to sign a XML document. I Have imported CApicom_TLB and successfuly got to instanciate the certificate,…
Davi
  • 65
  • 7
1
vote
0 answers

How to verify if any file is Digitally Signatured or not in vb.net

I'm working in a vb.net project in which I want to get verification of any given file that it is Digitally signature or not. CAPICOM is the API came in existence after searching on google, but I don't exactly know How can I use CAPICOM in vb.net to…
Vb Killer
  • 37
  • 4
1
vote
1 answer

Capicom SHA1 hash gets computed different in Java

I am using CAPICOM assembly with VBS logic to encrypt some text, this works good but the problem starts when trying to replicate the same using Java. This is my VBS code: Option Explicit Dim strToEncrypt: strToEncrypt = "Content-Type: plain/text;…
Oscar Jara
  • 14,129
  • 10
  • 62
  • 94
0
votes
1 answer

Hashing in ms Access

I'm trying to hash a password in ms access (preferably MD5 or SHA-1). I found Capicom, which worked great at school on windows XP. However, at home Access doesn't seem to want to recognize it. Is there any alternatives that I can use which will work…
user1302398
  • 253
  • 1
  • 3
  • 7
0
votes
1 answer

Is it possible to use CryptUnprotectData in classic ASP code

I am aware of capicom.dll but I don't see CryptUnprotectData in its interfaces. Is CryptUnprotectData supported by capicom.dll? If not, is there some way I can access this function from a vbscript or a classic asp webpage?
theycallmemorty
  • 12,515
  • 14
  • 51
  • 71
0
votes
0 answers

Delete a certificate from usb token . Error can not find the smart card

How to use capicom to remove a certificate from usb token. I wrote this code but It does not work I get error " can not find the smart card" in line …
Fatemeh
  • 177
  • 15
0
votes
2 answers

How to Convert CAPICOM to .NET equivalent

This is the code from my VB6 app using CAPICOM Set ed = New EncryptedData ed.Algorithm = CAPICOM_ENCRYPTION_ALGORITHM_3DES ed.SetSecret mySecret, CAPICOM_SECRET_PASSWORD ed.Content = myText myResult = ed.Encrypt(CAPICOM_ENCODE_BINARY) but I need to…
RichC
  • 7,829
  • 21
  • 85
  • 149
0
votes
1 answer

Verify private key in signed XML with public key

I use javascript to open CAPICOM store to choose certificate. After that I export selected certificate, public key and private key of that certificate and put them in three hidden fields. var privateKey = certificates.Item(1).PrivateKey; var…
SeaSide
  • 149
  • 1
  • 3
  • 15
0
votes
1 answer

CAPICOM and X509

I have a web application form. The aim is to create a xml of data from web form and sign it with the user usb certificate. I am using CAPICOM.store to successfully open all user certificate. When I click on one that I want I exported it. After that…
SeaSide
  • 149
  • 1
  • 3
  • 15
0
votes
1 answer

Check whether the DLL is used by another application

I'm registering capicom.dll through my installer and unregistering it while uninstallation of my product. There is another third party software "ABC", also registers and uses this DLL. But the problem is, when I uninstall my own product, I…
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
1 answer

Get access to specific ADPU functions from cryptoApi or CAPICOM using 3rd party CSP

I have tried for the last 2 months without success and I think it's time I ask here. I have a smart card and got a CSP from my client. I have documents that describe APDU commands that I can (and know how to) run. I need to save small files (data)…
KrisHary
  • 28
  • 4
0
votes
1 answer

VB6: Capicom Crashes on WinXP

Any suggestions on figuring out this crash? The below code intermittently crashes between logging 14 and logging 15. Plaintext is a path string (in this case it is "C:\Documents and Settings\Brian\Desktop\Joy\", despite a clear lack of…
Brian
  • 25,523
  • 18
  • 82
  • 173
0
votes
1 answer

Classic ASP vs. ASP.NET encryption options

I'm working on a web site where the new pages are ASP.NET and the legacy pages are Classic ASP. Being new to development in the Windows env, I've been studying the latest technology, i.e. .NET and I become like a deer in headlights when ever legacy…
harrije
  • 407
  • 4
  • 12
  • 21
0
votes
1 answer

Digital Signature using CAPICOM needs to be 1024 bits long

We are trying to sign documents using RSA-SHA1 hash. We have tried using the Crypt32 lib and we are getting signature (DS) length of 1024 bits (172 bytes after BASE-64) which is proper. When we try to do the same with CAPICOM, the length comes to be…
Nitin
  • 1
  • 1
0
votes
0 answers

How to digitally sign a XML File in ASP.NET using USB token and capicom tool?

I want to know how to digitally sign a XML file in ASP.NET C# using USB token? I want to know how to get certificates from the mosearbear USB token and using the private key contained in it digitally sign a XML file? As the USB is on client machine…
RachitSharma
  • 567
  • 4
  • 11
  • 31