I have written a PEM-encoded PKCS10 certificate
request using PEMWriter, and get a class-cast exception when reading it back
with a PEMReader.
From looking at the source, this is because it checks
for "BEGIN CERTIFICATE" before it checks for "BEGIN
CERTIFICATE REQUEST", and will therefore never get to the request part.
Could someone fix this in CVS?