login about faq

I would like to see an example of Delphi code accessing the store windows and selecting the A3 certificate that is in the smartcard / token and entering the pin A3 certificate to later sign a file in any format pkcs7. I have seen examples of delphi code but none gives the opportunity to select the A3 certificate.

asked Oct 06 at 09:46

Erneston's gravatar image

Erneston
1


These problems are difficult because I can say what SHOULD be the case, but given the complexity of the subject matter, it's always possible what I say is not true. That being said...

If the A3 certificate is installed on the Windows system properly, where the private key resides on the smartcard, then from the application's point of view, it should work exactly the same (with certain caveats) as for certificates w/ private keys stored in the Windows Protected Store.

Many years ago, Chilkat originated on Windows, and the PKCS7 (signing/encrypting) functionality was handled by the Microsoft Crypto API. Eventually, Chilkat implemented all of this directly to be free to move to other operating systems. However, the Crypto API internals still exist because if the private key is not "exportable", meaning accessible to a program, and instead a CSP must be used, then Chilkat (internally) falls back to use the Crypto API. When it falls back to the Crypto API, it should automatically use the designated CSP for the private key (assuming it was installed properly),and thus the smartcard provider's CSP will automatically get used.

The caveats are these: since Chilkat is using the Crypto API in these cases, the functionality is limited to what is supported by the Crypto API. If some sort of feature is required that Crypto API does not support, then Chilkat cannot resolve the problem.

link

answered Oct 07 at 19:32

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×56
×7

Asked: Oct 06 at 09:46

Seen: 184 times

Last updated: Oct 07 at 19:32

powered by OSQA