code: public static Map<String, Object> getConfigForBranch(EntityType entityType, WorkUnitState workUnitState) {
      return getConfigForBranch(entityType, null, workUnitState);
    }
docs: Retrieve encryption configuration for the branch the WorKUnitState represents
  @param entityType Type of entity we are retrieving config for
  @param workUnitState State for the object querying config
  @return A list of encryption properties or null if encryption isn't configured