Class KeyStoreUtil


  • public final class KeyStoreUtil
    extends Object
    Utility class to retrieve private keys from KeyStore.
    • Method Detail

      • storeTypeFromKeyStore

        public static String storeTypeFromKeyStore​(String filename)
        Get default keystore type based on the keystore filename.
        Parameters:
        filename - name of the keystore file with extension
        Returns:
        default store type for the given filename or "PKCS12" if no default available.