PRECIS Framework: Preparation and Comparison of Internationalized Strings in Application Protocols
draft-ietf-precis-framework-13
PRECIS P. Saint-Andre
Internet-Draft Cisco Systems, Inc.
Obsoletes: 3454 (if approved) M. Blanchet
Intended status: Standards Track Viagenie
Expires: June 8, 2014 December 5, 2013
PRECIS Framework: Preparation and Comparison of Internationalized
Strings in Application Protocols
draft-ietf-precis-framework-13
Abstract
Application protocols using Unicode characters in protocol strings
need to properly prepare such strings in order to perform valid
comparison operations (e.g., for purposes of authentication or
authorization). This document defines a framework enabling
application protocols to perform the preparation and comparison of
internationalized strings ("PRECIS") in a way that depends on the
properties of Unicode characters and thus is agile with respect to
versions of Unicode. As a result, this framework provides a more
sustainable approach to the handling of internationalized strings
than the previous framework, known as Stringprep (RFC 3454). This
document obsoletes RFC 3454.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on June 8, 2014.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Saint-Andre & Blanchet Expires June 8, 2014 [Page 1]
Internet-Draft PRECIS Framework December 2013
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 5
3. String Classes . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2. IdentifierClass . . . . . . . . . . . . . . . . . . . . . 7
3.3. FreeformClass . . . . . . . . . . . . . . . . . . . . . . 9
4. Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1. Principles . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2. Building Application-Layer Constructs . . . . . . . . . . 12
4.3. A Note about Spaces . . . . . . . . . . . . . . . . . . . 13
5. Order of Operations . . . . . . . . . . . . . . . . . . . . . 14
6. Code Point Properties . . . . . . . . . . . . . . . . . . . . 14
7. Category Definitions Used to Calculate Derived Property . . . 16
7.1. LetterDigits (A) . . . . . . . . . . . . . . . . . . . . . 16
7.2. Unstable (B) . . . . . . . . . . . . . . . . . . . . . . . 17
7.3. IgnorableProperties (C) . . . . . . . . . . . . . . . . . 17
7.4. IgnorableBlocks (D) . . . . . . . . . . . . . . . . . . . 17
7.5. LDH (E) . . . . . . . . . . . . . . . . . . . . . . . . . 17
7.6. Exceptions (F) . . . . . . . . . . . . . . . . . . . . . . 17
7.7. BackwardCompatible (G) . . . . . . . . . . . . . . . . . . 19
7.8. JoinControl (H) . . . . . . . . . . . . . . . . . . . . . 19
7.9. OldHangulJamo (I) . . . . . . . . . . . . . . . . . . . . 19
7.10. Unassigned (J) . . . . . . . . . . . . . . . . . . . . . . 20
7.11. ASCII7 (K) . . . . . . . . . . . . . . . . . . . . . . . . 20
7.12. Controls (L) . . . . . . . . . . . . . . . . . . . . . . . 20
7.13. PrecisIgnorableProperties (M) . . . . . . . . . . . . . . 20
7.14. Spaces (N) . . . . . . . . . . . . . . . . . . . . . . . . 21
7.15. Symbols (O) . . . . . . . . . . . . . . . . . . . . . . . 21
7.16. Punctuation (P) . . . . . . . . . . . . . . . . . . . . . 21
7.17. HasCompat (Q) . . . . . . . . . . . . . . . . . . . . . . 21
Show full document text