Interface CryptoParametersJ8

    • Method Detail

      • getSupportedAlgos

        static List<StringgetSupportedAlgos​(List<String> algoList,
                                              String type,
                                              boolean exact)
        Checks Java provider with type has exact type or contains any of the strings in algoList.
        Types
        may be Cipher, AlgorithmParameters, KeyGenerator, Alg, Mac, SecretKeyFactory.
        Parameters:
        algoList - the types to be checked
        type - the type is ignored if not exact, instead uses the two types: "AlgorithmParameters", "Cipher".
        exact - if exact does a exact match
        Returns:
        the matched results as a list or emtpy list