Yes, the DER format is a stream of bytes that can be written to the
network, stored on a file, etc.
The i2d_XXX functions convert the internal C structure to a DER buffer.
The "trick" to using i2d is you first give a NULL pointer, that tells
you how much memory you'll need to allocate; then y
Well the what I'm trying to do is send as part of an application msg the senders
certificate in the most efficient from a network perspective (i.e. DER right?) I
can load from PEM a X509 structure. How would I then but that in a memory buffer
to send via a socket? As I would like to read that ba
Frank wrote:
Ok, I got a few pieces meal answers (and no answers) here so I wanted to
recap to make sure I have it all straight.
Certificates - Even though you may wish to send the cert DER encoded
over the network, it is advisable to create and work with it while PEM
encoded, correct? Now all the
Ok, I got a few pieces meal answers (and no answers) here so I wanted to
recap to make sure I have it all straight.
Certificates - Even though you may wish to send the cert DER encoded
over the network, it is advisable to create and work with it while PEM
encoded, correct? Now all the examples I