<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_matching_interfaces(object_class, exported_intfs):
 # type: (List[str], Optional[List[str]]) -> Optional[List[str]] """ Returns the list of interfaces matching the export property :param object_class: The specifications of the service :param exported_intfs: The declared exported interfaces :return: The list of declared exported interfaces """

    if object_class is None or exported_intfs is None:
        return None

    if isinstance(exported_intfs, str) and exported_intfs == "*":
        return object_class

    # after this exported_intfs will be list
    exported_intfs = get_string_plus_property_value(exported_intfs)
    if len(exported_intfs) == 1 and exported_intfs[0] == "*":
        return object_class

    return exported_intfs