DNA vaccination with plasmids encoding the intracellular (HBcAg) or secreted (HBeAg) form of the core protein of hepatitis B virus primes T cell responses to two overlapping Kb- and Kd-restricted epitopes.