Package org.dvb.security

Enables applications to login to a PKCS11 token for non key related operations including providing PIN codes.

See:
          Description

Interface Summary
KeyStoreProtectionParameters A marker interface for keystore protection parameters.
 

Class Summary
AuthProvider This class defines login and logout for a provider.
DVBKeyStore Extends KeyStore to allow loading the keystore using protection parameters.
KeyStoreBuilder An instance of this class encapsulates the information needed to instance and initialize a KeyStore object.
KeyStoreCallbackHandlerProtection A protection parameter encapsulating a CallbackHandler.
 

Exception Summary
KeyStoreException Generic KeyStore exception.
LoginException Basic login exception.
 

Package org.dvb.security Description

Enables applications to login to a PKCS11 token for non key related operations including providing PIN codes.

The AuthProvider class is needed to log into a PKCS11 token for non key related operations. In that case, there is no other way to send the PIN code. The KeyStoreBuilder class is needed to install a callback handler which is called when a PIN code is required to create a KeyStore. This is an alternative to providing the PIN code when a KeyStore is instantiated. It enables an application to log into the token for key operations without using a KeyStoreBuilder.