@@ -0,0 +1,1482 @@
+package de.alpharogroup.crypto.key;%0A%0Aimport java.io.File;%0Aimport java.io.FileNotFoundException;%0Aimport java.io.FileOutputStream;%0Aimport java.io.IOException;%0Aimport java.security.KeyStore;%0Aimport java.security.KeyStoreException;%0Aimport java.security.NoSuchAlgorithmException;%0Aimport java.security.cert.CertificateException;%0A%0Aimport de.alpharogroup.crypto.algorithm.KeystoreType;%0Aimport de.alpharogroup.crypto.factories.KeyStoreFactory;%0Aimport lombok.experimental.UtilityClass;%0A%0A/**%0A * The class %7B@link KeyStoreExtensions%7D.%0A */%0A@UtilityClass%0Apublic class KeyStoreExtensions %7B%0A%0A%09/**%0A%09 * Delete the given alias from the given keystore file.%0A%09 *%0A%09 * @param keystoreFile the keystore file%0A%09 * @param alias the alias%0A%09 * @param password the password%0A%09 * @throws NoSuchAlgorithmException the no such algorithm exception%0A%09 * @throws CertificateException the certificate exception%0A%09 * @throws FileNotFoundException the file not found exception%0A%09 * @throws KeyStoreException the key store exception%0A%09 * @throws IOException Signals that an I/O exception has occurred.%0A%09 */%0A%09public static void deleteAlias(final File keystoreFile, String alias, final String password) throws NoSuchAlgorithmException, CertificateException, FileNotFoundException, KeyStoreException, IOException %7B%0A%09%09KeyStore keyStore = KeyStoreFactory.newKeyStore(KeystoreType.JKS.name(), password, keystoreFile);%0A%09%09keyStore.deleteEntry(alias);%0A%09%09keyStore.store(new FileOutputStream(keystoreFile), password.toCharArray());%0A%09%7D%0A%09%0A%7D%0A

Create KeyStoreExtensions.java