On Wed, 17 Sep 2003, Frank wrote:

> Encoding - Now from some testing I did with PKCS7 structures before if
> you DER encode instead of PEM encode the data it appears to be much
> smaller.  Is that correct?

>From what I have understood PEM is simply BASE64 encoded DER plus headers
which clearly indicates what kind of data is encoded, at least as long as 
you are talking unencrypted entries.

So yes DER is more compact than PEM, however PEM is far more suitable for 
exchange over different mediums such as email etc and generally easier to 
work with as a quick human inspection immediately tells what kind of data 
it is about.

Regards
Henrik

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to