APDU-Level Attacks in PKCS#11 Devices