smartcard

CAC Smartcard Reauthenticate

谁说胖子不能爱 提交于 2020-01-14 07:38:15
问题 We have one browser-based application where we want to make the user reauthenticate when they enter it. So when they access that URL we want them to be presented with the PIN prompt so they have to reauthenticate. Is there a reasonable way to do that? Added info: This is for a CAC card and the workstations have ActivIdentity and Tumbleweed on them. Also, I could add a service to the workstations if necessary. The browsers are all IE7. The web server is IIS 6 and the pages are written in ASP

Eclipse generated .cap file cannot be installed on JavaCard

核能气质少年 提交于 2020-01-14 06:20:17
问题 I am trying to install applets on my JavaCard (Gemalto IDCore3010). I succeeded with the GlobalPlatform helloworld.cap file, but when it was me generating the .cap file in Eclipse (4.4.2) using the very same sourcecode (with different package name though, but that shouldn't matter) I got error messages both with GlobalPlatformShell and GlobalPlatformProShell. I was using the same command and script as in case of the original file. I also tried other .cap files that had been working on

Sign multiple pdf with itextsharp and token prompts for pin every time

吃可爱长大的小学妹 提交于 2020-01-12 10:55:10
问题 Hi I am trying to prevent multiple pin prompts for every pdf that needs to be signed. I am using code from this example : Pin is required when this part of code get process : MakeSignature.SignDetached(appearance, pks, chain, crlList, ocspClient, tsaClient, estimatedSize, subfilter); Is there any way to memorize token pin and sing rest of pdfs without prompting for pin? 回答1: Finally I found solution, this code does the trick : ... RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)pk

Sign multiple pdf with itextsharp and token prompts for pin every time

故事扮演 提交于 2020-01-12 10:51:53
问题 Hi I am trying to prevent multiple pin prompts for every pdf that needs to be signed. I am using code from this example : Pin is required when this part of code get process : MakeSignature.SignDetached(appearance, pks, chain, crlList, ocspClient, tsaClient, estimatedSize, subfilter); Is there any way to memorize token pin and sing rest of pdfs without prompting for pin? 回答1: Finally I found solution, this code does the trick : ... RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)pk

Is it possible to implement a token queue in NFC cards?

这一生的挚爱 提交于 2020-01-12 07:23:10
问题 This question is specifically about MIFARE Ultralight C/EV1, or MIFARE DESFire EV1, or even NTAG cards. I want to implement a system of tokens, so that each time a normal user reads one of those cards they'll get one available token; that token will "pop out" from the NFC card they're reading. In other words, every time that NFC chip is read, it will issue a different usable token from the card's storage. Is this possible to implement? 回答1: Common non-programmable smart cards usually provide

OSX CryptoTokenKit SmartCard returned error 6d00

久未见 提交于 2020-01-05 11:36:29
问题 I'm trying to read the master file of a smartcard on OSX using CryptoTokenKit but I always get statusword 6d00 as response. I also tried to run the trivial example with some modifications but get the same error. My reader is Gemalto PC Twin Reader. Please let me know if you have any suggestion to fix it. I'm using the following code: TKSmartCardSlot *slot = [self.smartCardManager slotWithName:slotName]; TKSmartCard *card = [slot makeSmartCard]; card.sensitive = YES; [card

Trying to sign pdf with a smart card

元气小坏坏 提交于 2020-01-05 08:03:22
问题 I am trying to sign pdf with a smart card. I use the following code: public class SC { public static final String SRC = "src/test.pdf"; public static final String DEST = "src/test_smartCard.pdf"; public void sign(String src, String dest, Certificate[] chain, PrivateKey pk, String digestAlgorithm, String provider, CryptoStandard subfilter, String reason, String location, Collection<CrlClient> crlList, OcspClient ocspClient, TSAClient tsaClient, int estimatedSize) throws

SCR3310v2.0 and SLE5528 read/write?

与世无争的帅哥 提交于 2020-01-03 03:14:09
问题 I have SCR3310v2.0 reader and chip card SLE5528, There are any code samples to be able to record and read the card information, or is there are any free software who do it? 回答1: I'm using ACR38 so it may be a little different. If you just started with smartcards, you should defiantly get some SDK (which is basically what you're asking for). As for the SLE5528: The card is really basic, there are 3 commands which you want to be aware of. 1) Read , can use this command anytime (as long as you

BigInteger subtraction in JavaCard

穿精又带淫゛_ 提交于 2020-01-02 21:13:21
问题 I am attempting a proof of concept under very constrained technological conditions. My question is: how to efficiently subtract big integers (represented as byte arrays) in a Java Card? . Now, the details are what make the task tricky. I have access to one smart card. The model is Feitian JavaCOS A22 and runs Java Card 2.2. For full detail, Java Card enables the usage of a very restricted subset of the Java API ( namely, no int , no char , and naturally, no BigInteger ), but it does support a

Coordinate Id of same card that is read by two different card readers

和自甴很熟 提交于 2020-01-01 19:58:13
问题 In a part of a software, card is read by a card reader and is allocated to an user. And in other part of this software, in a terminal by same card reader, the user card is read and fetch data from database by card serial number and etc. In a new part of this software, there are a new terminal with a new card reader. card is read from this card reader and fetch data from database and etc. So, now the problem is that a same card that is read by this two card readers are different in type. The