upd: add file I/O util funcs.
add: a unit test for parsing X509-REQ and SPKAC