Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertyiRDNSequence.PreferPrintableStringEncoding

property PreferPrintableStringEncoding: Boolean read GetPreferPrintableStringEncoding write SetPreferPrintableStringEncoding;
When True, string attributes that fit the PrintableString character set are encoded as ASN.1 PrintableString instead of the default Utf8String when written through the named properties below (CommonName, OrganizationName, etc.) or through UniqueValues/set_Value. Certificate generators (see StreamSec.DSI.PkixCertGenerator.pas) expose this so an application can match a CA policy or older relying party that expects PrintableString rather than UTF8String.