From OpenSSLWiki
Jump to: navigation, search

Privacy Enhanced Mail (PEM) is a format with goal to embed binary content into a content typed 7bits ASCII format.

it looks like a HEADER line a binary content encoded in Base64 cut by lines of max 64 characters and a TAIL line.

content itself is often DER encoded. Then PEM is an additionnal layer to easy cut and paste in mails/texts of binary content.