Section 4905. The Commissioner of Patents may establish rules for taking affidavits and depositions required in cases pending in the Patent-Office, and such affidavits and depositions may be taken before any officer authorized by law to take depositions to be used in the courts of the United States, or of the State where the officer resides.