|Applies To||RSA BSAFE MES|
|Issue||Adding items to R_ASN1_LIST to encode a SEQUENCE|
populate an R_ASN1_LIST
There are decode, encode, and get methods for R_ASN1_LIST, but no set methods.
As of MES 3.0, there is no way to add items to an R_ASN1_LIST to encode a SEQUENCE. R_ASN1_LIST is primarily for decoding (not encoding) a SEQUENCE.
If you have the contents of the SEQUENCE already encoded (e.g. you can encode each element of the SEQUENCE separately and then concatenate them), then you can use R_ASN1_new(), R_ASN1_set_constructed(), R_ASN1_set_class_tag(), R_ASN1_set_data() to set it.
|Legacy Article ID||a38233|