Hess was the secretary who wrote down Mein Kampf for Hitler while he was in prison during the 20s.
Correct. Also, as Hitler's most trusted confidante, he was given the legal right to kill at his own discretion. The Gestapo also had this right, theoretically in order to execute criminals who would otherwise be let off by too-lenient courts but Hess was the only individual specifically named in law as having this right, as well.