Endocarp: The inner layer of the pericarp of a fruit.*
For example, the hard, stony shell at the centre of a peach which contains the peach seed.
*Harris, J.G., Harris, M.W. (2001). Plant identification terminology: An illustrated glossary (2nd ed.). Spring Lake: Spring Lake Publishing.