<div dir="ltr">Hi Tonay,<div><br></div><div>in <a href="https://github.com/KarlScheibelhofer/jdk/tree/pem-keystore-2-pem-api">https://github.com/KarlScheibelhofer/jdk/tree/pem-keystore-2-pem-api</a> you can find a PEM keystore implementation with tests. It is based on the latest <a href="https://github.com/ascarpino/jdk/tree/pem">https://github.com/ascarpino/jdk/tree/pem</a> branch.</div><div><br></div><div>I made these two modifications (<a href="https://github.com/KarlScheibelhofer/jdk/commit/4d8f3948f54c7f88791b448e047445c92e32c3d3">https://github.com/KarlScheibelhofer/jdk/commit/4d8f3948f54c7f88791b448e047445c92e32c3d3</a>) in PEMEncoder.java</div><div><ul><li>Remove the trailing line break when encoding keys. To be consistent with certificates and CRLs.</li><li>Set the line length to 64 for certificates and CRLs. For consistency with keys.</li></ul><div>I did not, however include any of the feedback of <a href="https://github.com/KarlScheibelhofer/jdk/commit/3551994c02ff417d8b5f0e1840d316b2514fcf4a">https://github.com/KarlScheibelhofer/jdk/commit/3551994c02ff417d8b5f0e1840d316b2514fcf4a</a> for the PEM API. It could improve the code. What do you think. </div><div><br></div><div>Regards, Karl</div></div></div>