Interface KeyDerivationFunctionFactory


  • @Role
    public interface KeyDerivationFunctionFactory
    Factory for Key Derivation Function.
    Since:
    5.4M1
    Version:
    $Id: 9c0fd6475f1643542b171c69ac8be99f3767f04d $
    • Method Detail

      • getKDFAlgorithmName

        String getKDFAlgorithmName()
        Returns:
        the algorithm name of created functions which is the hint of the factory (ie: Default, PKCS5S2, ...)
      • getInstance

        KeyDerivationFunction getInstance​(KeyDerivationFunctionParameters parameters)
        Create a new initialized key derivation function from parameters.
        Parameters:
        parameters - parameters to initialize the function.
        Returns:
        a initialized key derivation function.
      • getInstance

        KeyDerivationFunction getInstance​(byte[] encoded)
        Create a new initialized key derivation function from serialized encoding.
        Parameters:
        encoded - encoded parameters to initialize the function.
        Returns:
        a initialized key derivation function.