Distinguished_name.Encoded_stringASN.1 string contents and encoding.
The polymorphic variant of different string tags.
The polymorphic variant of directory string tags.
of_string ~encoding s associates s with its encoding. s contains the string contents in that encoding, without an ASN.1 tag or length. The contents are not validated, transcoded or normalized.
val to_string : 'encoding t -> stringto_string t is the content of t in its declared encoding, not necessarily UTF-8. No transcoding is performed: a BMPString containing "A" is returned as "\x00A".
val encoding : 'encoding t -> 'encodingencoding t is the encoding of t.