I'm using a PKCS#11 usb device to create a SSLContext. The project is migrating from an IAIK jce implementation to sun's, iaik provide a tokenmanager to detect when the token is removed, inserted, could not find a way to do this with sun implementation.
Any ideas?