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