|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for loading and saving KeyStore to the database.
| Method Summary | |
void |
addKey(java.lang.String alias,
KeyEntry keyEntry)
Adds key with specified properties to the database. |
void |
deleteKey(java.lang.String alias)
Deletes key with the given alias from database |
void |
editKey(java.lang.String alias,
KeyEntry keyEntry)
Saves key properties that were changed to the database. |
void |
load(KeyStore keystore,
java.lang.String password)
Loads KeyStore from database. |
| Method Detail |
public void load(KeyStore keystore,
java.lang.String password)
throws BadPasswordException
keystore - The KeyStore being initialized.password - the given password to access.
BadPasswordException - Exception
public void addKey(java.lang.String alias,
KeyEntry keyEntry)
throws BadPasswordException,
KeyStoreException
alias - alias of the keykeyEntry - properties of the key
BadPasswordException - password not correct
KeyStoreException - any error when processing
public void editKey(java.lang.String alias,
KeyEntry keyEntry)
throws BadPasswordException,
KeyStoreException
alias - alias of the keykeyEntry - properties of the key
BadPasswordException - password not correct
KeyStoreException - any error when processing
public void deleteKey(java.lang.String alias)
throws KeyStoreException
alias - alias of the being deleted key
KeyStoreException - any error when processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||