Add some basic certificate parsing