EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Digital Signing on PDFs

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#31697
Posted: 12/19/2014 00:12:33
by sowjanya  (Standard support level)
Joined: 06/24/2014
Posts: 37

I have created and instance for TElPKCS11CertStorage class, is there any method or property to read the certificates from usb token?
#31698
Posted: 12/19/2014 00:41:01
by Eugene Mayevski (EldoS Corp.)

This class IS for accessing certificates from USB token. Just USE it.

See the code snippet I posted in the previous message for details.


Sincerely yours
Eugene Mayevski
#31699
Posted: 12/19/2014 04:48:48
by sowjanya  (Standard support level)
Joined: 06/24/2014
Posts: 37

Do you have any idea in which location DLL will be for USBToken? I have installed Feitian epass2003 USBToken but i didn't found any DLL to use that one in my Apllication
#31700
Posted: 12/19/2014 04:53:55
by Vsevolod Ievgiienko (EldoS Corp.)

In depends on the token. You may try to search for the file in Windows\System32 directory, installation folder or better try to find the answer in token documentation or ask their support.
#31703
Posted: 12/19/2014 06:28:56
by sowjanya  (Standard support level)
Joined: 06/24/2014
Posts: 37

When i am trying to add SecureBlackbox_Pkcs11Proxy.DLL to my Application i am getting an error "A reference could not be added, make sure that file is accessible and it is a valid assembly or com component."
#31704
Posted: 12/19/2014 06:37:39
by Vsevolod Ievgiienko (EldoS Corp.)

The file can be found in \EldoS\SecureBlackbox.NET\Extra\PKCS11ProxyDLL folder and should be put next to your executable. Note that you should set project build target to a specific platform and pick corresponding proxy DLL.
#31705
Posted: 12/19/2014 06:53:11
by sowjanya  (Standard support level)
Joined: 06/24/2014
Posts: 37

I am stuck in a situation in coding, for sessioninfo instance i used login method and gave the required arguments, i am getting error "object reference not set to an instance of an object" did i miss anything? here is my sample code:
pkcs11CertStorage.DLLName=@"C:\Windows\System32\eps2003csp11.dll";
//Slot.TokenPresent = true;

Slot = pkcs11CertStorage.Module.get_Slot(0);
pkcs11CertStorage.Open();
try
{
pkcs11CertStorage.OpenSession(0, true);
}
catch(Exception ex)
{
Console.WriteLine(ex.Message);
return;
}
sessioninfo.Login(0, "12345678");

pkcs11CertStorage.Close();
#31706
Posted: 12/19/2014 06:57:05
by Vsevolod Ievgiienko (EldoS Corp.)

You should not add this DLL as a reference. Just put it next to .EXE.
#31710
Posted: 12/19/2014 07:31:02
by sowjanya  (Standard support level)
Joined: 06/24/2014
Posts: 37

Thanks for your reply. Please provide me solution to above mentioned problem
#31711
Posted: 12/19/2014 07:35:02
by Vsevolod Ievgiienko (EldoS Corp.)

Is the problem reproducible with our samples? If yes, then please describe how we can reproduce it in details. Also the article may help: https://www.eldos.com/documentation/sb...dware.html
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 2796 times

Number of guests: 2, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!