I have to encode the parameters present inside a structure based on X.690 encoding.
Suppose, my structure is:

struct Data_Struct
{
parameter1
parameter2
parameter3
...