Search in sources :

Example 1 with IKeyStoreAlias

use of org.jcryptool.crypto.keystore.keys.IKeyStoreAlias in project core by jcryptool.

the class ContentProviderFactory method create.

public static IStructuredContentProvider create(TreeNode treeNode) {
    IKeyStoreAlias alias = null;
    if (treeNode instanceof CertificateNode) {
        alias = ((CertificateNode) treeNode).getAlias();
    } else if (treeNode instanceof AbstractKeyNode) {
        alias = ((AbstractKeyNode) treeNode).getAlias();
    }
    if (alias == null) {
        return new CommonContentProvider();
    }
    KeyType keyType = alias.getKeyStoreEntryType();
    String className = alias.getClassName();
    switch(keyType) {
        case SECRETKEY:
            if (className.equals(ECSecretKey.class.getName())) {
                return new ECSecretKeyContentProvider();
            } else if (className.equals(PBEKey.class.getName())) {
                return new PBESecretKeyContentProvider();
            } else {
                return new AbstractKeyNodeContentProvider();
            }
        case PUBLICKEY:
            return new CertificateContentProvider();
        case KEYPAIR_PRIVATE_KEY:
            if (className.equals(DSAPrivateKey.class.getName())) {
                return new DSAPrivateKeyContentProvider();
            } else if (className.equals(ElGamalPrivateKey.class.getName())) {
                return new ElGamalPrivateKeyContentProvider();
            } else if (className.equals(SSVElGamalPrivateKey.class.getName())) {
                return new SSVElGamalPrivateKeyContentProvider();
            } else if (className.equals(MeRSAPrivateKey.class.getName())) {
                return new MeRSAPrivateKeyContentProvider();
            } else if (className.equals(MpRSAPrivateKey.class.getName())) {
                return new MpRSAPrivateKeyContentProvider();
            } else if (className.equals(CMSSPrivateKey.class.getName())) {
                return new CMSSPrivateKeyContentProvider();
            } else if (className.equals(ECPrivateKey.class.getName())) {
                return new ECPrivateKeyContentProvider();
            } else if (className.equals(GMSSPrivateKey.class.getName())) {
                return new GMSSPrivateKeyContentProvider();
            } else if (className.equals(IQDSAPrivateKey.class.getName())) {
                return new IQDSAPrivateKeyContentProvider();
            } else if (className.equals(IQGQPrivateKey.class.getName())) {
                return new IQGQPrivateKeyContentProvider();
            } else if (className.equals(IQRDSAPrivateKey.class.getName())) {
                return new IQRDSAPrivateKeyContentProvider();
            } else if (className.equals(LMOTSPrivateKey.class.getName())) {
                return new LMOTSPrivateKeyContentProvider();
            } else if (className.equals(McElieceCCA2PrivateKey.class.getName())) {
                return new McElieceCCA2PrivateKeyContentProvider();
            } else if (className.equals(MerkleOTSPrivateKey.class.getName())) {
                return new MerkleOTSPrivateKeyContentProvider();
            } else if (className.equals(NiederreiterPrivateKey.class.getName())) {
                return new NiederreiterPrivateKeyContentProvider();
            } else if (className.equals(PFlashPrivateKey.class.getName())) {
                return new PFlashPrivateKeyContentProvider();
            } else if (className.equals(RainbowPrivateKey.class.getName())) {
                return new RainbowPrivateKeyContentProvider();
            } else {
                JCTMessageDialog.showInfoDialog(new Status(IStatus.INFO, KeyStorePlugin.PLUGIN_ID, Messages.ContentProviderFactory_0 + "\n" + Messages.ContentProviderFactory_2));
                return new AbstractKeyNodeContentProvider();
            }
        case KEYPAIR_PUBLIC_KEY:
            if (className.equals(DSAPublicKey.class.getName())) {
                return new DSAPublicKeyContentProvider();
            } else if (className.equals(ElGamalPublicKey.class.getName())) {
                return new ElGamalPublicKeyContentProvider();
            } else if (className.equals(SSVElGamalPublicKey.class.getName())) {
                return new SSVElGamalPublicKeyContentProvider();
            } else if (className.equals(RSAPublicKey.class.getName())) {
                return new RSAPublicKeyContentProvider();
            } else if (className.equals(CMSSPublicKey.class.getName())) {
                return new CMSSPublicKeyContentProvider();
            } else if (className.equals(ECPublicKey.class.getName())) {
                return new ECPublicKeyContentProvider();
            } else if (className.equals(GMSSPublicKey.class.getName())) {
                return new GMSSPublicKeyContentProvider();
            } else if (className.equals(IQDSAPublicKey.class.getName())) {
                return new IQDSAPublicKeyContentProvider();
            } else if (className.equals(IQGQPublicKey.class.getName())) {
                return new IQGQPublicKeyContentProvider();
            } else if (className.equals(IQRDSAPublicKey.class.getName())) {
                return new IQRDSAPublicKeyContentProvider();
            } else if (className.equals(LMOTSPublicKey.class.getName())) {
                return new LMOTSPublicKeyContentProvider();
            } else if (className.equals(McElieceCCA2PublicKey.class.getName())) {
                return new McElieceCCA2PublicKeyContentProvider();
            } else if (className.equals(McEliecePublicKey.class.getName())) {
                return new McEliecePublicKeyContentProvider();
            } else if (className.equals(MerkleOTSPublicKey.class.getName())) {
                return new MerkleOTSPublicKeyContentProvider();
            } else if (className.equals(NiederreiterPublicKey.class.getName())) {
                return new NiederreiterPublicKeyContentProvider();
            } else if (className.equals(PFlashPublicKey.class.getName())) {
                return new PFlashPublicKeyContentProvider();
            } else if (className.equals(RainbowPublicKey.class.getName())) {
                return new RainbowPublicKeyContentProvider();
            } else {
                JCTMessageDialog.showInfoDialog(new Status(IStatus.INFO, KeyStorePlugin.PLUGIN_ID, Messages.ContentProviderFactory_0 + "\n" + Messages.ContentProviderFactory_2));
                return new CertificateContentProvider();
            }
        default:
            break;
    }
    return new CommonContentProvider();
}
Also used : RSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.RSAPublicKeyContentProvider) KeyType(org.jcryptool.crypto.keystore.keys.KeyType) GMSSPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.GMSSPrivateKeyContentProvider) IKeyStoreAlias(org.jcryptool.crypto.keystore.keys.IKeyStoreAlias) MeRSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.MeRSAPrivateKeyContentProvider) ECPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.ECPublicKeyContentProvider) MpRSAPrivateKey(de.flexiprovider.core.mprsa.MpRSAPrivateKey) McEliecePublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.McEliecePublicKeyContentProvider) LMOTSPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.LMOTSPublicKeyContentProvider) PBESecretKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.secretkey.PBESecretKeyContentProvider) IStatus(org.eclipse.core.runtime.IStatus) Status(org.eclipse.core.runtime.Status) ECPrivateKey(de.flexiprovider.ec.keys.ECPrivateKey) IQRDSAPrivateKey(de.flexiprovider.nf.iq.iqrdsa.IQRDSAPrivateKey) LMOTSPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.LMOTSPrivateKeyContentProvider) GMSSPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.GMSSPublicKeyContentProvider) McElieceCCA2PrivateKey(de.flexiprovider.pqc.ecc.mceliece.McElieceCCA2PrivateKey) IQGQPublicKey(de.flexiprovider.nf.iq.iqgq.IQGQPublicKey) ECSecretKey(de.flexiprovider.ec.keys.ECSecretKey) SSVElGamalPublicKey(de.flexiprovider.core.elgamal.semanticallysecure.SSVElGamalPublicKey) RainbowPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.RainbowPrivateKeyContentProvider) NiederreiterPrivateKey(de.flexiprovider.pqc.ecc.niederreiter.NiederreiterPrivateKey) ECSecretKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.secretkey.ECSecretKeyContentProvider) IQRDSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQRDSAPrivateKeyContentProvider) IQDSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQDSAPrivateKeyContentProvider) DSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.DSAPrivateKeyContentProvider) McElieceCCA2PrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.McElieceCCA2PrivateKeyContentProvider) SSVElGamalPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.SSVElGamalPublicKeyContentProvider) SSVElGamalPrivateKey(de.flexiprovider.core.elgamal.semanticallysecure.SSVElGamalPrivateKey) MerkleOTSPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.MerkleOTSPrivateKeyContentProvider) CertificateNode(org.jcryptool.crypto.keystore.ui.views.nodes.keys.CertificateNode) MerkleOTSPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.MerkleOTSPublicKeyContentProvider) CMSSPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.CMSSPrivateKeyContentProvider) IQDSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQDSAPublicKeyContentProvider) IQGQPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQGQPrivateKeyContentProvider) IQDSAPrivateKey(de.flexiprovider.nf.iq.iqdsa.IQDSAPrivateKey) CMSSPublicKey(de.flexiprovider.pqc.hbc.cmss.CMSSPublicKey) PFlashPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.PFlashPrivateKeyContentProvider) LMOTSPublicKey(de.flexiprovider.pqc.ots.lm.LMOTSPublicKey) NiederreiterPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.NiederreiterPublicKeyContentProvider) McEliecePublicKey(de.flexiprovider.pqc.ecc.mceliece.McEliecePublicKey) NiederreiterPublicKey(de.flexiprovider.pqc.ecc.niederreiter.NiederreiterPublicKey) RainbowPublicKey(de.flexiprovider.pqc.rainbow.RainbowPublicKey) IQDSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQDSAPublicKeyContentProvider) DSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.DSAPublicKeyContentProvider) IQRDSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQRDSAPublicKeyContentProvider) AbstractKeyNode(org.jcryptool.crypto.keystore.ui.views.nodes.keys.AbstractKeyNode) RainbowPrivateKey(de.flexiprovider.pqc.rainbow.RainbowPrivateKey) CMSSPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.CMSSPublicKeyContentProvider) McElieceCCA2PublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.McElieceCCA2PublicKeyContentProvider) MpRSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.MpRSAPrivateKeyContentProvider) IQDSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQDSAPrivateKeyContentProvider) PFlashPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.PFlashPublicKeyContentProvider) IQDSAPublicKey(de.flexiprovider.nf.iq.iqdsa.IQDSAPublicKey) IQRDSAPublicKey(de.flexiprovider.nf.iq.iqrdsa.IQRDSAPublicKey) DSAPublicKey(de.flexiprovider.core.dsa.DSAPublicKey) ECPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.ECPrivateKeyContentProvider) IQGQPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQGQPublicKeyContentProvider) SSVElGamalPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.SSVElGamalPrivateKeyContentProvider) DSAPrivateKey(de.flexiprovider.core.dsa.DSAPrivateKey) IQDSAPrivateKey(de.flexiprovider.nf.iq.iqdsa.IQDSAPrivateKey) IQRDSAPrivateKey(de.flexiprovider.nf.iq.iqrdsa.IQRDSAPrivateKey) SSVElGamalPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.SSVElGamalPrivateKeyContentProvider) ElGamalPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.ElGamalPrivateKeyContentProvider) IQRDSAPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQRDSAPrivateKeyContentProvider) NiederreiterPrivateKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.NiederreiterPrivateKeyContentProvider) RainbowPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.RainbowPublicKeyContentProvider) GMSSPublicKey(de.flexiprovider.pqc.hbc.gmss.GMSSPublicKey) IQRDSAPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.IQRDSAPublicKeyContentProvider) ElGamalPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.ElGamalPublicKeyContentProvider) SSVElGamalPublicKeyContentProvider(org.jcryptool.crypto.keystore.ui.dialogs.contentproviders.keypair.SSVElGamalPublicKeyContentProvider)

Example 2 with IKeyStoreAlias

use of org.jcryptool.crypto.keystore.keys.IKeyStoreAlias in project core by jcryptool.

the class KeyStoreManager method updateKeyPair.

/**
 * Updates the private key in a key pair. Before updating this method ensures that the private key is available in
 * the keystore and that the password isn't changed.
 *
 * @param privateKey The private key to update
 * @param password The private key password
 * @param alias The private key metadata
 * @throws UnrecoverableEntryException In case the entered password does not match the selected entry
 * @throws NoSuchAlgorithmException In case the requested algorithm is not supported
 */
public void updateKeyPair(PrivateKey privateKey, char[] password, IKeyStoreAlias alias) throws UnrecoverableEntryException, NoSuchAlgorithmException {
    try {
        getPrivateKey(alias, password);
    } catch (Exception e) {
        LogUtil.logError(KeyStorePlugin.PLUGIN_ID, NLS.bind(Messages.KeyStoreManager_8, alias.getAliasString()), e, true);
        return;
    }
    try {
        KeyStoreAlias publicAlias = getPublicForPrivate(alias);
        Certificate publicKey = getCertificate(publicAlias);
        Certificate[] certs = new Certificate[1];
        certs[0] = publicKey;
        keyStore.setEntry(alias.getAliasString(), new KeyStore.PrivateKeyEntry(privateKey, certs), new KeyStore.PasswordProtection(password));
        saveKeystore();
    } catch (KeyStoreException e) {
        LogUtil.logError(KeyStorePlugin.PLUGIN_ID, NLS.bind(Messages.KeyStoreManager_7, alias.getAliasString()), e, true);
    }
}
Also used : IKeyStoreAlias(org.jcryptool.crypto.keystore.keys.IKeyStoreAlias) KeyStoreException(java.security.KeyStoreException) KeyStore(java.security.KeyStore) CoreException(org.eclipse.core.runtime.CoreException) KeyStoreException(java.security.KeyStoreException) UnrecoverableEntryException(java.security.UnrecoverableEntryException) IOException(java.io.IOException) NoSuchAlgorithmException(java.security.NoSuchAlgorithmException) Certificate(java.security.cert.Certificate)

Example 3 with IKeyStoreAlias

use of org.jcryptool.crypto.keystore.keys.IKeyStoreAlias in project core by jcryptool.

the class AbstractKeyNodeContentProvider method getAliasElements.

private List<TableEntry> getAliasElements(Object inputElement) {
    AbstractKeyNode node = (AbstractKeyNode) inputElement;
    IKeyStoreAlias alias = node.getAlias();
    List<TableEntry> elements = new ArrayList<TableEntry>();
    elements.add(new TableEntry(Messages.AbstractKeyNodeContentProvider_Alias, alias.getAliasString()));
    elements.add(new TableEntry(Messages.AbstractKeyNodeContentProvider_ContactName, alias.getContactName()));
    // $NON-NLS-2$
    elements.add(new TableEntry(Messages.AbstractKeyNodeContentProvider_KeyLength, "" + alias.getKeyLength()));
    elements.add(new TableEntry(Messages.AbstractKeyNodeContentProvider_Operation, alias.getOperation()));
    elements.add(new TableEntry(Messages.AbstractKeyNodeContentProvider_AsString, alias.toString()));
    return elements;
}
Also used : TableEntry(org.jcryptool.crypto.keystore.ui.dialogs.TableEntry) AbstractKeyNode(org.jcryptool.crypto.keystore.ui.views.nodes.keys.AbstractKeyNode) ArrayList(java.util.ArrayList) IKeyStoreAlias(org.jcryptool.crypto.keystore.keys.IKeyStoreAlias)

Example 4 with IKeyStoreAlias

use of org.jcryptool.crypto.keystore.keys.IKeyStoreAlias in project core by jcryptool.

the class CertificateContentProvider method getElements.

@Override
public Object[] getElements(Object inputElement) {
    CertificateNode treeNode = (CertificateNode) inputElement;
    IKeyStoreAlias alias = treeNode.getAlias();
    try {
        Certificate cert = KeyStoreManager.getInstance().getCertificate(alias);
        Object[] certElements = { new TableEntry(Messages.CertificateContentProvider_CertType, cert.getType()) };
        return merge(super.getElements(inputElement), certElements);
    } catch (UnrecoverableEntryException e) {
        LogUtil.logError(KeyStorePlugin.PLUGIN_ID, e);
    } catch (NoSuchAlgorithmException e) {
        LogUtil.logError(KeyStorePlugin.PLUGIN_ID, e);
    }
    return null;
}
Also used : TableEntry(org.jcryptool.crypto.keystore.ui.dialogs.TableEntry) CertificateNode(org.jcryptool.crypto.keystore.ui.views.nodes.keys.CertificateNode) UnrecoverableEntryException(java.security.UnrecoverableEntryException) NoSuchAlgorithmException(java.security.NoSuchAlgorithmException) IKeyStoreAlias(org.jcryptool.crypto.keystore.keys.IKeyStoreAlias) Certificate(java.security.cert.Certificate)

Example 5 with IKeyStoreAlias

use of org.jcryptool.crypto.keystore.keys.IKeyStoreAlias in project core by jcryptool.

the class PerformOperationListener method addActionItem.

private void addActionItem(IFlexiProviderOperation operation) {
    ICommandService service = (ICommandService) PlatformUI.getWorkbench().getService(ICommandService.class);
    if ((Boolean) // $NON-NLS-1$
    service.getCommand("org.jcryptool.actions.recordCommand").getState("org.jcryptool.actions.recordCommand.toggleState").getValue()) {
        // $NON-NLS-1$
        AlgorithmDescriptor descriptor = operation.getAlgorithmDescriptor();
        ActionItem item = // $NON-NLS-1$
        new ActionItem(EditorsManager.getInstance().getActiveEditorTitle(), descriptor.getAlgorithmName());
        item.setPluginId(operation.getRegistryType().getName());
        if (operation.getOperation() == OperationType.DECRYPT) {
            // $NON-NLS-1$
            item.setActionType("decrypt");
        } else if (operation.getOperation() == OperationType.ENCRYPT) {
            // $NON-NLS-1$
            item.setActionType("encrypt");
        } else if (operation.getOperation() == OperationType.SIGN) {
            // $NON-NLS-1$
            item.setActionType("sign");
        } else if (operation.getOperation() == OperationType.VERIFY) {
            // $NON-NLS-1$
            item.setActionType("verify");
        }
        // item.addParam("input", operation.getInput()); //$NON-NLS-1$
        // item.addParam("output", operation.getOutput()); //$NON-NLS-1$
        // $NON-NLS-1$
        item.addParam("signature", operation.getSignature());
        // $NON-NLS-1$
        item.addParam("algorithm type", operation.getAlgorithmDescriptor().getType().getName());
        IKeyStoreAlias alias = operation.getKeyStoreAlias();
        if (alias != null) {
            // $NON-NLS-1$
            item.addParam("contact", alias.getContactName());
            // $NON-NLS-1$
            item.addParam("key alias", alias.getAliasString());
            // $NON-NLS-1$
            item.addParam("key length", String.valueOf(alias.getKeyLength()));
            if (operation.getPassword() != null) {
                // $NON-NLS-1$
                item.addParam("key password", String.valueOf(operation.getPassword()));
            }
        }
        if (descriptor instanceof BlockCipherDescriptor) {
            // $NON-NLS-1$
            item.addParam("mode", ((BlockCipherDescriptor) descriptor).getMode());
            // $NON-NLS-1$
            item.addParam("padding scheme", ((BlockCipherDescriptor) descriptor).getPadding());
        } else if (descriptor instanceof SecureRandomDescriptor) {
            // $NON-NLS-1$ //$NON-NLS-2$
            item.addParam("random size", "" + ((SecureRandomDescriptor) descriptor).getLength());
        // byte[][] alphabets = ((SecureRandomDescriptor) descriptor).getAlphabet();
        // TODO push alphapet to items property "alphabet"
        }
        ActionCascadeService.getInstance().addItem(item);
    }
}
Also used : SecureRandomDescriptor(org.jcryptool.crypto.flexiprovider.descriptors.algorithms.SecureRandomDescriptor) BlockCipherDescriptor(org.jcryptool.crypto.flexiprovider.descriptors.algorithms.BlockCipherDescriptor) ActionItem(org.jcryptool.actions.core.types.ActionItem) AlgorithmDescriptor(org.jcryptool.crypto.flexiprovider.descriptors.algorithms.AlgorithmDescriptor) ICommandService(org.eclipse.ui.commands.ICommandService) IKeyStoreAlias(org.jcryptool.crypto.keystore.keys.IKeyStoreAlias)

Aggregations

IKeyStoreAlias (org.jcryptool.crypto.keystore.keys.IKeyStoreAlias)10 UnrecoverableEntryException (java.security.UnrecoverableEntryException)3 AbstractKeyNode (org.jcryptool.crypto.keystore.ui.views.nodes.keys.AbstractKeyNode)3 CertificateNode (org.jcryptool.crypto.keystore.ui.views.nodes.keys.CertificateNode)3 KeyStoreException (java.security.KeyStoreException)2 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)2 Certificate (java.security.cert.Certificate)2 IStatus (org.eclipse.core.runtime.IStatus)2 Status (org.eclipse.core.runtime.Status)2 TableEntry (org.jcryptool.crypto.keystore.ui.dialogs.TableEntry)2 DSAPrivateKey (de.flexiprovider.core.dsa.DSAPrivateKey)1 DSAPublicKey (de.flexiprovider.core.dsa.DSAPublicKey)1 SSVElGamalPrivateKey (de.flexiprovider.core.elgamal.semanticallysecure.SSVElGamalPrivateKey)1 SSVElGamalPublicKey (de.flexiprovider.core.elgamal.semanticallysecure.SSVElGamalPublicKey)1 MpRSAPrivateKey (de.flexiprovider.core.mprsa.MpRSAPrivateKey)1 ECPrivateKey (de.flexiprovider.ec.keys.ECPrivateKey)1 ECSecretKey (de.flexiprovider.ec.keys.ECSecretKey)1 IQDSAPrivateKey (de.flexiprovider.nf.iq.iqdsa.IQDSAPrivateKey)1 IQDSAPublicKey (de.flexiprovider.nf.iq.iqdsa.IQDSAPublicKey)1 IQGQPublicKey (de.flexiprovider.nf.iq.iqgq.IQGQPublicKey)1