mbedded nulls. The actual format of the data will depend on the actual string type itself: for example for an IA5String the data will be ASCII, for a BMPString two bytes per character in big endian format, and for a UTF8String it will be in UTF8 format.</p>

<p>Similar care should be take to ensure the data is in the correct format when calling ASN1_STRING_set().</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>ASN1_STRING_length() returns the length of the content of <i>x</i>.</p>

<p>ASN1_STRING_get0_da