diff --git a/src/main/java/com/josh/vku2f/IDSecret.java b/src/main/java/com/josh/vku2f/IDSecret.java index c4e0133d15ace265cf1e9d3718215b282bf69250..0adba612a852e45e74e44891225d59e74ac012b9 100644 --- a/src/main/java/com/josh/vku2f/IDSecret.java +++ b/src/main/java/com/josh/vku2f/IDSecret.java @@ -200,11 +200,12 @@ public class IDSecret { } private void testSharedObjects(byte[] apduBuffer){ + byte[] aid = new byte[]{(byte)0xa0,(byte)0x00,(byte)0x00,(byte)0x02,(byte)0x47,(byte)0x10,(byte)0x01}; AID passportAID = JCSystem.lookupAID(aid, (short)0,(byte)aid.length); + SharePIN sharePIN = (SharePIN) JCSystem.getAppletShareableInterfaceObject(passportAID,(byte)0x00); - SharePIN sharePIN = (SharePIN) JCSystem.getAppletShareableInterfaceObject(passportAID,(byte)0x00); ShareName shareName = (ShareName) JCSystem.getAppletShareableInterfaceObject(passportAID,(byte)0x00); short length = 0;