Building a DER sequence

Ken Goldman kgoldman at
Tue Jun 25 14:59:12 UTC 2019

I have to build a DER byte stream for a sequence containing:

	algorithm ID
	subject name

What is the general approach?

Is there openssl support for this?

Do I construct a sequence and add items to it - top down?

Or do I construct the items and then make a sequence from it - bottom up?
Or do I place the items in a custom structure and then write the i2d() 

Any advice, pointers, or sample code would be welcome.

More information about the openssl-users mailing list