[openssl-users] Escaped Issuer/Subject
    Wouter Verhelst 
    wouter.verhelst at fedict.be
       
    Tue Apr 11 12:47:46 UTC 2017
    
    
  
On 11-04-17 10:56, c.holper at ades.at wrote:
> Hi!
> 
> Is it possible to get the distinguished name of issuer or subject in a
> escaped form out of the box?
Escaped for what? XML? SQL? HTML? Shell scripts? Maybe something else?
"Escaped form" isn't something that exists as a generic term. If you
want a string escaped, you're going to have to use some string escape
function of whatever it is you're trying to escape for; e.g., the
database or XML library you're using (you *are* using a library to
generate a structured format, are you?). Otherwise you're going down the
PHP "addslashes" pitfall, which won't help you nor anyone else.
Regards,
-- 
Wouter Verhelst
    
    
More information about the openssl-users
mailing list