The U.S. paperwork detailing the extradition case against Hamilton's Karim Baratov, an alleged Yahoo hacker, is in a Canadian prosecutor's hands, and a date for 22-year-old's hearing will be set in June.

The delivery of the required documents was confirmed by a Crown prosecutor in court in Hamilton as Baratov made an appearance. His lawyer, Amedeo DiCarlo, also confirmed that, as expected, they have appealed the decision to deny Baratov bail.

Both will be back in court June 16 to set a date for his extradition hearing. The bail review will be in Toronto on June 5, DiCarlo said.

U.S. authorities allege Baratov, from suburban Ancaster, was a "hacker-for-hire" with suspected Russian ties. He faces charges related to a massive Yahoo email hacking scandal.

Baratov was one of four men indicted by the U.S. Department of Justice on charges related to computer hacking, economic espionage and other offences. Two of the others are Russian intelligence officers Dmitry Aleksandrovich Dokuchaev, 33, and Igor Anatolyevich Sushchin, 43. Russian national Alexsey Alexseyevich Belan, also known as Magg, 29, has also been indicted.

U.S. officials allege the four hacked into Yahoo's systems and stole information from more than 500 million user accounts.

An artist's sketch from an April bail hearing shows, from left to right, Baratov, assistant Crown attorney Heather Graham, Baratov's parents, Dinara Tokbergenova and Akhmet Tokbergenov, defence lawyers Deepak Paradkar and Amedeo DeCarlo, and Justice Alan Whitten. (Alexandra Newbould/The Canadian Press)

Baratov is in custody awaiting the extradition hearing, a process that could take 18 months to three years to unfold if there are appeals to the decision.

DiCarlo said he has met with officials from various U.S. agencies, including the FBI, and "they've been more than helpful."

President Donald Trump's firing of FBI director James Comey set back the case a few days, DiCarlo said, because it occupied senior officials needed to sign documents and deal with the matter. He's also waiting on disclosure from U.S. authorities.

The numerous delays illustrate why Baratov is so hopeful his appeal of the bail decision will be successful, DiCarlo said. His team is appealing it on the grounds of judicial error.

Time served doesn't transfer from Canada to the U.S., DiCarlo said, so "this is wasted time."

While in custody, DiCarlo said, Baratov has been reading a lot and frequently asks his lawyer for something to read.

"He's pretty much bored," he said. "He wants to be out."

His parents, meanwhile, are crying "tears on top of tears," DiCarlo said. "You can't explain the pain they're going through."