35 U.S. Code § 23 - Testimony in Patent and Trademark Office cases

The Director may establish rules for taking affidavits and depositions required in cases in the Patent and Trademark Office. Any officer authorized by law to take depositions to be used in the courts of the United States, or of the State where he resides, may take such affidavits and depositions.