W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2002

Re: Are there DName encoding samples?

From: Tom Gindin <tgindin@us.ibm.com>
Date: Tue, 5 Mar 2002 07:45:34 -0500
To: "Harada" <harada@prs.cs.fujitsu.co.jp>
Cc: <w3c-ietf-xmldsig@w3.org>
Message-ID: <OFEA35CAC1.15D0F7A0-ON85256B73.0045281E@pok.ibm.com>

      Harada-san:

      May I ask whether your difficulty with the examples is the absence of
non-ASCII characters in the example DN's in 4.4.4, the absence of the
escapable characters from those examples, or the fact that the example
certificates are truncated to very short lengths?  RFC 2253 says that the
encoding of DN's is UTF-8 (of which ASCII is a subset), and the heuristic
given is fairly clear, although you're supposed to encode DN's in XML by
using the same character set as the rest of the document.
      An ASCII example with escapable characters would be:
<X509IssuerName>CN=J. Random Nerd,  O=Dewey\, Cheatham\, \+ Howe,
             L=Nowhere, ST=AK, C=US</X509IssuerName>

      I can't easily give you non-ASCII UTF-8 characters in this medium.

            Tom Gindin

"Harada" <harada@prs.cs.fujitsu.co.jp>@w3.org on 03/05/2002 03:13:46 AM

Sent by:    w3c-ietf-xmldsig-request@w3.org


To:    <w3c-ietf-xmldsig@w3.org>
cc:
Subject:    Are there DName encoding samples?


Hi,

 I implemented the DNames encoding in 4.4.4 The X509Data Element.
But I feel uneasy because there are no DNames encoding examples in the
recommendation.
 Does anyone know documents of encoded DName?
Received on Tuesday, 5 March 2002 07:46:19 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:14 GMT