OpenSC-Java icon indicating copy to clipboard operation
OpenSC-Java copied to clipboard

Make PKCS15 platform independent

Open hfmanson opened this issue 7 years ago • 0 comments

By replacing the signature of public PKCS15Exception(String msg, CardException cause) to protected PKCS15Exception(String msg, Throwable cause) and creating a new PKCS15CardException class the pkcs15-0.0.1-SNAPSHOT.jar file can also be used in Android because there no longer is a dependency on javax.smartcardio.CardException

CardOSToken.java now uses this new class for throwing card exceptions.

hfmanson avatar Aug 06 '18 11:08 hfmanson