def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "MbedTLS")
    self.cpp_info.set_property("cmake_target_name", "MbedTLS::mbedtls")
    self.cpp_info.components["mbedcrypto"].set_property("cmake_target_name", "MbedTLS::mbedcrypto")
    self.cpp_info.components["mbedcrypto"].libs = ["mbedcrypto"]
    self.cpp_info.components["mbedx509"].set_property("cmake_target_name", "MbedTLS::mbedx509")
    self.cpp_info.components["mbedx509"].libs = ["mbedx509"]
    self.cpp_info.components["mbedx509"].requires = ["mbedcrypto"]
    self.cpp_info.components["libembedtls"].set_property("cmake_target_name", "MbedTLS::mbedtls")
    self.cpp_info.components["libembedtls"].libs = ["mbedtls"]
    self.cpp_info.components["libembedtls"].requires = ["mbedx509"]
    if self.options.get_safe("with_zlib"):
        for component in self.cpp_info.components:
            self.cpp_info.components[component].requires.append("zlib::zlib")
    # TODO: to remove in conan v2 once cmake_find_package_* generators removed
    self.cpp_info.names["cmake_find_package"] = "MbedTLS"
    self.cpp_info.names["cmake_find_package_multi"] = "MbedTLS"
    self.cpp_info.components["libembedtls"].names["cmake_find_package"] = "mbedtls"
    self.cpp_info.components["libembedtls"].names["cmake_find_package_multi"] = "mbedtls"