Search in sources :

Example 1 with PasswordCallback

use of de.carne.certmgr.certs.PasswordCallback in project certmgr by hdecarne.

the class CertImportController method importSelection.

void importSelection(Set<UserCertStoreEntry> importSelection) throws IOException {
    PasswordCallback newPassword = PasswordDialog.enterNewPassword(this);
    UserCertStore importStore = this.importStoreParam.get();
    for (UserCertStoreEntry importEntry : importSelection) {
        importStore.importEntry(importEntry, newPassword, CertImportI18N.formatSTR_TEXT_ALIASHINT());
    }
}
Also used : PasswordCallback(de.carne.certmgr.certs.PasswordCallback) UserCertStore(de.carne.certmgr.certs.UserCertStore) UserCertStoreEntry(de.carne.certmgr.certs.UserCertStoreEntry)

Aggregations

PasswordCallback (de.carne.certmgr.certs.PasswordCallback)1 UserCertStore (de.carne.certmgr.certs.UserCertStore)1 UserCertStoreEntry (de.carne.certmgr.certs.UserCertStoreEntry)1