That is not Mr. Gupta’s approach. He is aggressively unrepentant. He maintains he is innocent despite the jury verdict against him on three counts of securities fraud and one charge of conspiracy. (He was found not guilty on two other counts.)

Mr. Gupta’s book, “Mind Without Fear,” to be published next week, tells the story of how his career unraveled. It is a propulsive narrative filled with boldfaced names from business and politics. At times, it is a dishy score settler.

Mr. Gupta never testified at his trial, a decision he said he regretted. While he gives a full-throated self-defense in the book that is fuller than the one the jury heard, much of the outlines were already heard — and rejected — in court. The book requires the reader to suspend disbelief in the judicial system. Some readers may sympathize with him while others may find his arguments unconvincing.

Mr. Gupta recounts virtually every scene in the past decade of his life, from the moment he learned that he was under investigation (he got a phone call from the general counsel of Goldman Sachs while he was in line at airport security) to when he was released from prison.

The closest Mr. Gupta comes in the book, or in his interview with me, to acknowledging any error on his part is when he notes that he shouldn’t have trusted Mr. Rajaratnam and that he spoke a little too loosely when he discussed Goldman’s corporate secrets on a phone call that the F.B.I. secretly recorded.

Mr. Gupta, it seems, spent his time in prison trying to make the best of his circumstances — and occasionally hanging out with Mr. Rajaratnam.

“We played Scrabble in prison together. We played chess. We had breakfast together,” he told me. Most of their conversations were about “prison stuff, you know?”