private X509Crl ReadCrl( string endMarker) { byte[] bytes = ReadBytes(endMarker); try { return new X509CrlParser().ReadCrl(bytes); } catch (Exception e) { throw new PemException("problem parsing cert: " + e.ToString()); } }