On Tue, Sep 20, 2016, Aleksandr Konstantinov wrote:
> Thanks a lot. One more question if possible. Is there any way to express
> single element of the ASN1 sequence which can be any
> of ASN1_OCTET_STRING or ASN1_UTF8STRING and potentially other types?
That depends what you mean. If the supported types are well defined then you
can use the CHOICE construction.
If just about anything could go in the element then you can use ASN1_ANY which
encodes and decodes ASN1_TYPE.
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users