000019193 - Adding items to R_ASN1_LIST to encode a SEQUENCE

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000019193
Applies ToRSA BSAFE MES
IssueAdding 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.
Resolution

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 IDa38233

Attachments

    Outcomes