ietf-smime
[Top] [All Lists]

RE: Comment on ESS and Privacy Marks

1998-02-18 12:10:50
...
  PKIFreeText ::= SEQUENCE { 
      languageTag  PrintableString OPTIONAL, --RFC 1766 language tag
      text         OCTET STRING              --carries a UTF-8 string
  } -- the languageTag field may be used to indicate the language 
    -- of the text contained in the "text" field
...
Therefore, I recommend that we leave ESS as is:

ESSPrivacyMark ::= CHOICE {
  pString      PrintableString (SIZE (1..ub-privacy-mark-length)),
  utf8String   OCTET STRING
  -- If utf8String is used, the contents must be in UTF-8 [UTF8]
}

Not to stir things up too far, but this begs the question: wouldn't the
following be better?

ESSPrivacyMark ::= CHOICE {
  pString      PrintableString (SIZE (1..ub-privacy-mark-length)),
  betterString   PKIFreeText
}

I *like* having a language tag associated with a UTF-8, and this gives
implementors the same option as before but allows them to include a language
tag.

--Paul Hoffman, Director
--Internet Mail Consortium

<Prev in Thread] Current Thread [Next in Thread>