added parser for key certificate documents