diff options
Diffstat (limited to 'smccSTAL')
-rw-r--r-- | smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java | 7 | ||||
-rw-r--r-- | smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java index 46ebd8f5..15d0ff0e 100644 --- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java +++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java @@ -17,6 +17,7 @@ package at.gv.egiz.bku.smccstal; import at.gv.egiz.bku.gui.BKUGUIFacade; +import at.gv.egiz.bku.pin.gui.SignPINGUI; import at.gv.egiz.bku.pin.gui.VerifyPINGUI; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -35,7 +36,7 @@ import at.gv.egiz.stal.STALResponse; public class InfoBoxReadRequestHandler extends AbstractRequestHandler { private final Logger log = LoggerFactory.getLogger(InfoBoxReadRequestHandler.class); - + // protected PINProviderFactory pinProviderFactory; @Override @@ -68,7 +69,7 @@ public class InfoBoxReadRequestHandler extends AbstractRequestHandler { .getInfoboxIdentifier())) { log.debug("Handling certified keypair infobox."); byte[] resp = card - .getCertificate(SignatureCard.KeyboxName.CERITIFIED_KEYPAIR); + .getCertificate(SignatureCard.KeyboxName.CERITIFIED_KEYPAIR, new VerifyPINGUI(gui)); if (resp == null) { return new ErrorResponse(6001); } @@ -79,7 +80,7 @@ public class InfoBoxReadRequestHandler extends AbstractRequestHandler { .equals(infoBox.getInfoboxIdentifier())) { log.debug("Handling secure signature keypair infobox."); byte[] resp = card - .getCertificate(SignatureCard.KeyboxName.SECURE_SIGNATURE_KEYPAIR); + .getCertificate(SignatureCard.KeyboxName.SECURE_SIGNATURE_KEYPAIR, new VerifyPINGUI(gui)); if (resp == null) { return new ErrorResponse(6001); } diff --git a/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java b/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java index bf57b0a6..60082f5b 100644 --- a/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java +++ b/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java @@ -51,7 +51,7 @@ public class AbstractSMCCSTALTest extends AbstractSMCCSTAL implements }
@Override
- public byte[] getCertificate(KeyboxName keyboxName)
+ public byte[] getCertificate(KeyboxName keyboxName, PINGUI gui)
throws SignatureCardException {
// TODO Auto-generated method stub
return null;
|