Closed GoogleCodeExporter closed 9 years ago
I don't know where this became a "Defect" while it's a request for an
enhancement..
Original comment by fr...@apsu.be
on 23 Nov 2010 at 12:42
Index: PcscEid.java
===================================================================
--- PcscEid.java (revision 475)
+++ PcscEid.java (working copy)
@@ -442,7 +442,7 @@
* Next doesn't work all the time.
*/
// this.cardTerminal.waitForCardAbsent(0);
- while (this.cardTerminal.isCardPresent()) {
+ while (isCardStillPresent()) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
@@ -451,6 +451,11 @@
}
}
+ public boolean isCardStillPresent() throws CardException
+ {
+ return this.cardTerminal.isCardPresent();
+ }
+
public List<X509Certificate> getAuthnCertificateChain()
throws CardException, IOException, CertificateException {
List<X509Certificate> authnCertificateChain = new LinkedList<X509Certificate>();
Original comment by fr...@apsu.be
on 30 Nov 2010 at 3:18
http://code.google.com/p/eid-applet/source/detail?r=478
Original comment by frank.co...@gmail.com
on 6 Dec 2010 at 4:27
Original issue reported on code.google.com by
fr...@apsu.be
on 23 Nov 2010 at 12:40