473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

problem with C# and CAPICOM-Interop

Hi, I'm using interop-Capicom in my C# application, but when I try to use
the CAPICOM_SMART_CARD_USER_STORE flag the following exception raises:

The system cannot find the file specified.
at CAPICOM.StoreClass.Open(CAPICOM_STORE_LOCATION StoreLocation, String
Store
Name, CAPICOM_STORE_OPEN_MODE OpenMode)
at sugef.sicveca.capaPresentacion.windows.FindCertnet .Main(String[] args)
in
d:\documents and settings\mrodriguez\my documents\visual studio
projects\capicom
\class1.cs:line 33

Any idea why ? This is the code:

//oStore.Open(CAPICOM_STORE_LOCATION.CAPICOM_CURRENT _USER_STORE,storeName,0)
;
oStore.Open(CAPICOM_STORE_LOCATION.CAPICOM_SMART_C ARD_USER_STORE,storeName,0
);

oCerts = (Certificates)oStore.Certificates;
oCerts = oCerts.Select("Lista de Certificados Disponibles","Seleccione el
certificado a utilizar para la firma",false);
Jul 21 '05 #1
0 1763

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alexei Pashin | last post by:
I use EnvelopedData from CAPICOM library to encrypt and decrypt security info on my ASP site. I got and installed test VerySign certificate on my server in Personal store and successfully encrypt...
1
by: Neil S. | last post by:
I am writing an ISAPI filter which is using CAPICOM to encrypt and decrypt cookie information. I've found that the encryption string being returned by CAPICOM a has carriage control and line feed....
1
by: Mohit | last post by:
Hi Friends I did not know where to post this question, so am posting it on ASP.Net forum (so please excue me Has any one used CapiCom.DLL. I am having problems with it, and am wondering if it...
0
by: Jonathan W. Zaleski | last post by:
I am trying to use the CAPICOM Package to Send Secure Emails, however, I am having a bit of trouble in getting it to work. I am able to get the proper certificate, and seemingly encode the...
1
by: Antonio Ruiz Martínez | last post by:
Hello! My problem happens when I'm trying to write a string in DER. I'm using the following code: signed = SignedData.Sign(Signer, False, CAPICOM.CAPICOM_ENCODING_TYPE.CAPICOM_ENCODE_BINARY)...
0
by: Frederic ESNOUF \(MVP-ISA\) | last post by:
Hi, My question is about 3des, ... in fact the difference between 3DES with Capicom (VB) and VB.net With VB6/capicom, encrypting data is simple : message.Content = "This is my bank account :...
0
by: John | last post by:
Hello, I am trying to create a dll that has a capicom reference in it. After I do the following: Dim message As New CAPICOM.EncryptedData I recompile my dll. I don't receive any errors or...
2
by: stéphane bard | last post by:
Hi all, Has anyone ever used Python to work with Certificate Services in Windows? I'm trying to capicom dll with pywin32. I've found some reference about python and capicom in this mail...
0
by: rwkingv | last post by:
I really hope someone can help with this as it is baffling! I can build a C# Express application and it builds and runs fine. I try to publish it, and get an error that the build didn't work and...
0
by: yxq | last post by:
Hello, I want to get the file signer using capicom.dll like signtool.exe, how to do? For example: The signer of file "c:\windows\system32\winlogon.exe" is Microsoft, how to get this signer using...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.