Network Working Group                                         F. Dawson
Request for Comments: 2426                Lotus Development Corporation
Category: Standards Track                                      T. Howes
                                                Netscape Communications
                                                         September 1998
        
Network Working Group                                         F. Dawson
Request for Comments: 2426                Lotus Development Corporation
Category: Standards Track                                      T. Howes
                                                Netscape Communications
                                                         September 1998
        

vCard MIME Directory Profile

vCard MIME目录配置文件

Status of this Memo

本备忘录的状况

This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.

本文件规定了互联网社区的互联网标准跟踪协议,并要求进行讨论和提出改进建议。有关本协议的标准化状态和状态,请参考当前版本的“互联网官方协议标准”(STD 1)。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (C) The Internet Society (1998). All Rights Reserved.

版权所有(C)互联网协会(1998年)。版权所有。

Abstract

摘要

This memo defines the profile of the MIME Content-Type [MIME-DIR] for directory information for a white-pages person object, based on a vCard electronic business card. The profile definition is independent of any particular directory service or protocol. The profile is defined for representing and exchanging a variety of information about an individual (e.g., formatted and structured name and delivery addresses, email address, multiple telephone numbers, photograph, logo, audio clips, etc.). The directory information used by this profile is based on the attributes for the person object defined in the X.520 and X.521 directory services recommendations. The profile also provides the method for including a [VCARD] representation of a white-pages directory entry within the MIME Content-Type defined by the [MIME-DIR] document.

此备忘录定义了基于vCard电子名片的white pages person对象目录信息的MIME内容类型[MIME-DIR]的配置文件。配置文件定义独立于任何特定的目录服务或协议。配置文件用于表示和交换有关个人的各种信息(例如,格式化和结构化的姓名和递送地址、电子邮件地址、多个电话号码、照片、徽标、音频剪辑等)。此配置文件使用的目录信息基于X.520和X.521目录服务建议中定义的person对象的属性。配置文件还提供了在[MIME-DIR]文档定义的MIME内容类型中包含白页目录项的[VCARD]表示的方法。

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY" and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119].

本文件中的关键词“必须”、“不得”、“要求”、“应”、“不应”、“应”、“不应”、“建议”、“可”和“可选”应按照[RFC 2119]中所述进行解释。

Table of Contents

目录

   Overview.........................................................3
   1. THE VCARD MIME DIRECTORY PROFILE REGISTRATION.................4
   2. MIME DIRECTORY FEATURES.......................................5
    2.1 PREDEFINED TYPE USAGE ......................................5
     2.1.1 BEGIN and END Type ......................................5
     2.1.2 NAME Type ...............................................5
     2.1.3 PROFILE Type ............................................5
     2.1.4 SOURCE Type .............................................5
    2.2 PREDEFINED TYPE PARAMETER USAGE ............................6
    2.3 PREDEFINED VALUE TYPE USAGE ................................6
    2.4 EXTENSIONS TO THE PREDEFINED VALUE TYPES ...................6
     2.4.1 BINARY ..................................................6
     2.4.2 VCARD ...................................................6
     2.4.3 PHONE-NUMBER ............................................7
     2.4.4 UTC-OFFSET ..............................................7
    2.5 STRUCTURED TYPE VALUES .....................................7
    2.6 LINE DELIMITING AND FOLDING ................................8
   3. VCARD PROFILE FEATURES........................................8
    3.1 IDENTIFICATION TYPES .......................................8
     3.1.1 FN Type Definition ......................................8
     3.1.2 N Type Definition .......................................9
     3.1.3 NICKNAME Type Definition ................................9
     3.1.4 PHOTO Type Definition ..................................10
     3.1.5 BDAY Type Definition ...................................11
    3.2 DELIVERY ADDRESSING TYPES .................................11
     3.2.1 ADR Type Definition ....................................11
     3.2.2 LABEL Type Definition ..................................13
    3.3 TELECOMMUNICATIONS ADDRESSING TYPES .......................13
     3.3.1 TEL Type Definition ....................................14
     3.3.2 EMAIL Type Definition ..................................15
     3.3.3 MAILER Type Definition .................................15
    3.4 GEOGRAPHICAL TYPES ........................................16
     3.4.1 TZ Type Definition .....................................16
     3.4.2 GEO Type Definition ....................................16
    3.5 ORGANIZATIONAL TYPES ......................................17
     3.5.1 TITLE Type Definition ..................................17
     3.5.2 ROLE Type Definition ...................................18
     3.5.3 LOGO Type Definition ...................................18
     3.5.4 AGENT Type Definition ..................................19
     3.5.5 ORG Type Definition ....................................20
    3.6 EXPLANATORY TYPES .........................................20
     3.6.1 CATEGORIES Type Definition .............................20
     3.6.2 NOTE Type Definition ...................................21
     3.6.3 PRODID Type Definition .................................21
     3.6.4 REV Type Definition ....................................22
     3.6.5 SORT-STRING Type Definition ............................22
        
   Overview.........................................................3
   1. THE VCARD MIME DIRECTORY PROFILE REGISTRATION.................4
   2. MIME DIRECTORY FEATURES.......................................5
    2.1 PREDEFINED TYPE USAGE ......................................5
     2.1.1 BEGIN and END Type ......................................5
     2.1.2 NAME Type ...............................................5
     2.1.3 PROFILE Type ............................................5
     2.1.4 SOURCE Type .............................................5
    2.2 PREDEFINED TYPE PARAMETER USAGE ............................6
    2.3 PREDEFINED VALUE TYPE USAGE ................................6
    2.4 EXTENSIONS TO THE PREDEFINED VALUE TYPES ...................6
     2.4.1 BINARY ..................................................6
     2.4.2 VCARD ...................................................6
     2.4.3 PHONE-NUMBER ............................................7
     2.4.4 UTC-OFFSET ..............................................7
    2.5 STRUCTURED TYPE VALUES .....................................7
    2.6 LINE DELIMITING AND FOLDING ................................8
   3. VCARD PROFILE FEATURES........................................8
    3.1 IDENTIFICATION TYPES .......................................8
     3.1.1 FN Type Definition ......................................8
     3.1.2 N Type Definition .......................................9
     3.1.3 NICKNAME Type Definition ................................9
     3.1.4 PHOTO Type Definition ..................................10
     3.1.5 BDAY Type Definition ...................................11
    3.2 DELIVERY ADDRESSING TYPES .................................11
     3.2.1 ADR Type Definition ....................................11
     3.2.2 LABEL Type Definition ..................................13
    3.3 TELECOMMUNICATIONS ADDRESSING TYPES .......................13
     3.3.1 TEL Type Definition ....................................14
     3.3.2 EMAIL Type Definition ..................................15
     3.3.3 MAILER Type Definition .................................15
    3.4 GEOGRAPHICAL TYPES ........................................16
     3.4.1 TZ Type Definition .....................................16
     3.4.2 GEO Type Definition ....................................16
    3.5 ORGANIZATIONAL TYPES ......................................17
     3.5.1 TITLE Type Definition ..................................17
     3.5.2 ROLE Type Definition ...................................18
     3.5.3 LOGO Type Definition ...................................18
     3.5.4 AGENT Type Definition ..................................19
     3.5.5 ORG Type Definition ....................................20
    3.6 EXPLANATORY TYPES .........................................20
     3.6.1 CATEGORIES Type Definition .............................20
     3.6.2 NOTE Type Definition ...................................21
     3.6.3 PRODID Type Definition .................................21
     3.6.4 REV Type Definition ....................................22
     3.6.5 SORT-STRING Type Definition ............................22
        
     3.6.6 SOUND Type Definition ..................................23
     3.6.7 UID Type Definition ....................................24
     3.6.8 URL Type Definition ....................................25
     3.6.9 VERSION Type Definition ................................25
    3.7 SECURITY TYPES ............................................25
     3.7.1 CLASS Type Definition ..................................26
     3.7.2 KEY Type Definition ....................................26
    3.8 EXTENDED TYPES ............................................27
   4. FORMAL GRAMMAR...............................................27
   5. DIFFERENCES FROM VCARD V2.1..................................37
   6. ACKNOWLEDGEMENTS.............................................39
   7. AUTHORS' ADDRESSES...........................................39
   8. SECURITY CONSIDERATIONS......................................39
   9. REFERENCES...................................................40
   10. FULL COPYRIGHT STATEMENT....................................42
        
     3.6.6 SOUND Type Definition ..................................23
     3.6.7 UID Type Definition ....................................24
     3.6.8 URL Type Definition ....................................25
     3.6.9 VERSION Type Definition ................................25
    3.7 SECURITY TYPES ............................................25
     3.7.1 CLASS Type Definition ..................................26
     3.7.2 KEY Type Definition ....................................26
    3.8 EXTENDED TYPES ............................................27
   4. FORMAL GRAMMAR...............................................27
   5. DIFFERENCES FROM VCARD V2.1..................................37
   6. ACKNOWLEDGEMENTS.............................................39
   7. AUTHORS' ADDRESSES...........................................39
   8. SECURITY CONSIDERATIONS......................................39
   9. REFERENCES...................................................40
   10. FULL COPYRIGHT STATEMENT....................................42
        

Overview

概述

The [MIME-DIR] document defines a MIME Content-Type for holding different kinds of directory information. The directory information can be based on any of a number of directory schemas. This document defines a [MIME-DIR] usage profile for conveying directory information based on one such schema; that of the white-pages type of person object.

[MIME-DIR]文档定义了用于保存不同类型目录信息的MIME内容类型。目录信息可以基于多个目录模式中的任意一个。本文档定义了一个[MIME-DIR]使用配置文件,用于基于一个这样的模式传输目录信息;person对象的白页类型。

The schema is based on the attributes for the person object defined in the X.520 and X.521 directory services recommendations. The schema has augmented the basic attributes defined in the X.500 series recommendation in order to provide for an electronic representation of the information commonly found on a paper business card. This schema was first defined in the [VCARD] document. Hence, this [MIME-DIR] profile is referred to as the vCard MIME Directory Profile.

模式基于X.520和X.521目录服务建议中定义的person对象的属性。该模式扩展了X.500系列建议中定义的基本属性,以便提供纸质名片上常见信息的电子表示。此架构首先在[VCARD]文档中定义。因此,此[MIME-DIR]配置文件称为vCard MIME目录配置文件。

A directory entry based on this usage profile can include traditional directory, white-pages information such as the distinguished name used to uniquely identify the entry, a formatted representation of the name used for user-interface or presentation purposes, both the structured and presentation form of the delivery address, various telephone numbers and organizational information associated with the entry. In addition, traditional paper business card information such as an image of an organizational logo or identify photograph can be included in this person object.

基于此使用配置文件的目录条目可以包括传统目录、白页信息,例如用于唯一标识条目的可分辨名称、用于用户界面或演示目的的名称的格式化表示、递送地址的结构化和演示形式,与条目相关的各种电话号码和组织信息。此外,此person对象中还可以包含传统纸质名片信息,例如组织徽标的图像或识别照片。

The vCard MIME Directory Profile also provides support for representing other important information about the person associated with the directory entry. For instance, the date of birth of the person; an audio clip describing the pronunciation of the name associated with the directory entry, or some other application of the

vCard MIME目录配置文件还支持表示与目录项关联的人员的其他重要信息。例如,此人的出生日期;一种音频剪辑,描述与目录项或目录的某些其他应用程序相关联的名称的发音

digital sound; longitude and latitude geo-positioning information related to the person associated with the directory entry; date and time that the directory information was last updated; annotations often written on a business card; Uniform Resource Locators (URL) for a website; public key information. The profile also provides support for non-standard extensions to the schema. This provides the flexibility for implementations to augment the current capabilities of the profile in a standardized way. More information about this electronic business card format can be found in [VCARD].

数字声音;与目录条目关联的人员相关的经度和纬度地理定位信息;上次更新目录信息的日期和时间;通常写在名片上的注解;网站的统一资源定位器(URL);公开密钥信息。该概要文件还支持模式的非标准扩展。这为实现提供了灵活性,以标准化的方式增强概要文件的当前功能。有关此电子名片格式的更多信息,请参见[VCARD]。

1. The vCard Mime Directory Profile Registration
1. vCard Mime目录配置文件注册

This profile is identified by the following [MIME-DIR] registration template information. Subsequent sections define the profile definition.

此配置文件由以下[MIME-DIR]注册模板信息标识。后续部分定义了纵断面定义。

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME profile VCARD

主题:文本/目录MIME配置文件VCARD的注册

Profile name: VCARD

档案名称:VCARD

Profile purpose: To hold person object or white-pages type of directory information. The person schema captured in the directory entries is that commonly found in an electronic business card.

配置文件用途:保存个人对象或白页类型的目录信息。目录条目中捕获的个人模式通常在电子名片中找到。

Predefined MIME Directory value specifications used: uri, date, date-time, float

使用的预定义MIME目录值规范:uri、日期、日期时间、浮点

New value specifications: This profile places further constraints on the [MIME-DIR] text value specification. In addition, it adds a binary, phone-number, utc-offset and vcard value specifications.

新的值规范:此配置文件对[MIME-DIR]文本值规范施加了进一步的限制。此外,它还添加了二进制、电话号码、utc偏移量和vcard值规范。

Predefined MIME Directory types used: SOURCE, NAME, PROFILE, BEGIN, END.

使用的预定义MIME目录类型:源、名称、配置文件、开始、结束。

Predefined MIME Directory parameters used: ENCODING, VALUE, CHARSET, LANGUAGE, CONTEXT.

使用的预定义MIME目录参数:编码、值、字符集、语言、上下文。

New types: FN, N, NICKNAME, PHOTO, BDAY, ADR, LABEL, TEL, EMAIL, MAILER, TZ, GEO, TITLE, ROLE, LOGO, AGENT, ORG, CATEGORIES, NOTE, PRODID, REV, SORT-STRING, SOUND, URL, UID, VERSION, CLASS, KEY

新类型:FN、N、昵称、照片、BDAY、ADR、标签、电话、电子邮件、邮件、TZ、地理位置、标题、角色、徽标、代理、组织、类别、注释、PRODID、版本、排序字符串、声音、URL、UID、版本、类、键

New parameters: TYPE

新参数:类型

Profile special notes: The vCard object MUST contain the FN, N and VERSION types. The type-grouping feature of [MIME-DIR] is supported by this profile to group related vCard properties about a directory

配置文件特别说明:vCard对象必须包含FN、N和版本类型。此配置文件支持[MIME-DIR]的类型分组功能,以对目录的相关vCard属性进行分组

entry. For example, vCard properties describing WORK or HOME related characteristics can be grouped with a unique group label.

进入例如,描述工作或家庭相关特征的vCard属性可以使用唯一的组标签进行分组。

The profile permits the use of non-standard types (i.e., those identified with the prefix string "X-") as a flexible method for implementations to extend the functionality currently defined within this profile.

该概要文件允许使用非标准类型(即,使用前缀字符串“X-”)标识的类型)作为实现扩展当前在此概要文件中定义的功能的灵活方法。

2. MIME Directory Features
2. MIME目录功能

The vCard MIME Directory Profile makes use of many of the features defined by [MIME-DIR]. The following sections either clarify or extend the content-type definition of [MIME-DIR].

vCard MIME目录配置文件使用了[MIME-DIR]定义的许多功能。以下各节阐明或扩展[MIME-DIR]的内容类型定义。

2.1 Predefined Type Usage
2.1 预定义类型用法

The vCard MIME Directory Profile uses the following predefined types from [MIME-DIR].

vCard MIME目录配置文件使用[MIME-DIR]中的以下预定义类型。

2.1.1 BEGIN and END Type
2.1.1 开始和结束类型

The content entity MUST begin with the BEGIN type with a value of "VCARD". The content entity MUST end with the END type with a value of "VCARD".

内容实体必须以值为“VCARD”的begin类型开头。内容实体必须以值为“VCARD”的结束类型结尾。

2.1.2 NAME Type
2.1.2 名称类型

If the NAME type is present, then its value is the displayable, presentation text associated with the source for the vCard, as specified in the SOURCE type.

如果名称类型存在,则其值为与vCard源关联的可显示演示文本,如源类型中指定的。

2.1.3 PROFILE Type
2.1.3 剖面类型

If the PROFILE type is present, then its value MUST be "VCARD".

如果存在配置文件类型,则其值必须为“VCARD”。

2.1.4 SOURCE Type
2.1.4 源类型

If the SOURCE type is present, then its value provides information how to find the source for the vCard.

如果存在源类型,则其值提供如何查找vCard源的信息。

2.2 Predefined Type Parameter Usage
2.2 预定义的类型参数用法

The vCard MIME Directory Profile uses the following predefined type parameters as defined by [MIME-DIR].

vCard MIME目录配置文件使用[MIME-DIR]定义的以下预定义类型参数。

- LANGUAGE

- 语言

- ENCODING

- 编码

- VALUE

- 价值

2.3 Predefined VALUE Type Usage
2.3 预定义值类型用法

The predefined data type values specified in [MIME-DIR] MUST NOT be repeated in COMMA separated value lists except within the N, NICKNAME, ADR and CATEGORIES value types.

[MIME-DIR]中指定的预定义数据类型值不得在逗号分隔的值列表中重复,N、昵称、ADR和类别值类型除外。

The text value type defined in [MIME-DIR] is further restricted such that any SEMI-COLON character (ASCII decimal 59) in the value MUST be escaped with the BACKSLASH character (ASCII decimal 92).

[MIME-DIR]中定义的文本值类型受到进一步限制,因此值中的任何分号字符(ASCII十进制59)必须用反斜杠字符(ASCII十进制92)转义。

2.4 Extensions To The Predefined VALUE Types
2.4 预定义值类型的扩展

The predefined data type values specified in [MIME-DIR] have been extended by the vCard profile to include a number of value types that are specific to this profile.

vCard配置文件扩展了[MIME-DIR]中指定的预定义数据类型值,以包括特定于此配置文件的许多值类型。

2.4.1 BINARY
2.4.1 二进制的

The "binary" value type specifies that the type value is inline, encoded binary data. This value type can be specified in the PHOTO, LOGO, SOUND, and KEY types.

“二进制”值类型指定类型值为内联编码的二进制数据。可以在照片、徽标、声音和按键类型中指定此值类型。

If inline encoded binary data is specified, the ENCODING type parameter MUST be used to specify the encoding format. The binary data MUST be encoded using the "B" encoding format. Long lines of encoded binary data SHOULD BE folded to 75 characters using the folding method defined in [MIME-DIR].

如果指定了内联编码的二进制数据,则必须使用ENCODING type参数指定编码格式。二进制数据必须使用“B”编码格式进行编码。应使用[MIME-DIR]中定义的折叠方法将编码的二进制数据的长行折叠为75个字符。

The value type is defined by the following notation:

值类型由以下符号定义:

   binary = <A "B" binary encoded string as defined by [RFC 2047].>
        
   binary = <A "B" binary encoded string as defined by [RFC 2047].>
        
2.4.2 VCARD
2.4.2 VCARD

The "vcard" value type specifies that the type value is another vCard. This value type can be specified in the AGENT type. The value type is defined by this specification. Since each of the type

“vcard”值类型指定类型值是另一个vcard。可以在代理类型中指定此值类型。值类型由本规范定义。因为每种类型

declarations with in the vcard value type are being specified within a text value themselves, they MUST be terminated with the backslash escape sequence "\n" or "\N", instead of the normal newline character sequence CRLF. In addition, any COMMA character (ASCII decimal 44), SEMI-COLON character (ASCII decimal 59) and COLON character (ASCII decimal 58) MUST be escaped with the BACKSLASH character (ASCII decimal 92). For example, with the AGENT type a value would be specified as:

如果要在文本值本身中指定vcard值类型中包含的声明,则必须使用反斜杠转义序列“\n”或“\n”来终止声明,而不是使用正常的换行符序列CRLF。此外,任何逗号字符(ASCII十进制44)、分号字符(ASCII十进制59)和冒号字符(ASCII十进制58)必须用反斜杠字符(ASCII十进制92)转义。例如,对于代理类型,值将指定为:

        AGENT:BEGIN:VCARD\nFN:Joe Friday\nTEL:+1-919-555-7878\n
         TITLE:Area Administrator\, Assistant\n EMAIL\;TYPE=INTERN\n
         ET:jfriday@host.com\nEND:VCARD\n
        
        AGENT:BEGIN:VCARD\nFN:Joe Friday\nTEL:+1-919-555-7878\n
         TITLE:Area Administrator\, Assistant\n EMAIL\;TYPE=INTERN\n
         ET:jfriday@host.com\nEND:VCARD\n
        
2.4.3 PHONE-NUMBER
2.4.3 电话号码

The "phone-number" value type specifies that the type value is a telephone number. This value type can be specified in the TEL type. The value type is a text value that has the special semantics of a telephone number as defined in [CCITT E.163] and [CCITT X.121].

“电话号码”值类型指定类型值为电话号码。可以在TEL类型中指定此值类型。值类型是具有[CCITT E.163]和[CCITT X.121]中定义的电话号码特殊语义的文本值。

2.4.4 UTC-OFFSET
2.4.4 UTC偏移

The "utc-offset" value type specifies that the type value is a signed offset from UTC. This value type can be specified in the TZ type.

“utc偏移量”值类型指定类型值是utc的有符号偏移量。可以在TZ类型中指定此值类型。

The value type is an offset from Coordinated Universal Time (UTC). It is specified as a positive or negative difference in units of hours and minutes (e.g., +hh:mm). The time is specified as a 24-hour clock. Hour values are from 00 to 23, and minute values are from 00 to 59. Hour and minutes are 2-digits with high order zeroes required to maintain digit count. The extended format for ISO 8601 UTC offsets MUST be used. The extended format makes use of a colon character as a separator of the hour and minute text fields.

值类型是与协调世界时(UTC)的偏移量。它被指定为以小时和分钟为单位的正差或负差(例如,+hh:mm)。时间指定为24小时时钟。小时值从00到23,分钟值从00到59。小时和分钟为2位数字,需要高阶零来保持数字计数。必须使用ISO 8601 UTC偏移量的扩展格式。扩展格式使用冒号字符作为小时和分钟文本字段的分隔符。

The value is defined by the following notation:

该值由以下符号定义:

        time-hour       = 2DIGIT        ;00-23
        time-minute     = 2DIGIT        ;00-59
        utc-offset      = ("+" / "-") time-hour ":" time-minute
        
        time-hour       = 2DIGIT        ;00-23
        time-minute     = 2DIGIT        ;00-59
        utc-offset      = ("+" / "-") time-hour ":" time-minute
        
2.5 Structured Type Values
2.5 结构化类型值

Compound type values are delimited by a field delimiter, specified by the SEMI-COLON character (ASCII decimal 59). A SEMI-COLON in a component of a compound property value MUST be escaped with a BACKSLASH character (ASCII decimal 92).

复合类型值由分号字符(ASCII十进制59)指定的字段分隔符分隔。复合属性值组件中的分号必须使用反斜杠字符(ASCII十进制92)转义。

Lists of values are delimited by a list delimiter, specified by the COMMA character (ASCII decimal 44). A COMMA character in a value MUST be escaped with a BACKSLASH character (ASCII decimal 92).

值列表由逗号字符(ASCII十进制44)指定的列表分隔符分隔。值中的逗号字符必须用反斜杠字符(ASCII十进制92)转义。

This profile supports the type grouping mechanism defined in [MIME-DIR]. Grouping of related types is a useful technique to communicate common semantics concerning the properties of a vCard.

此配置文件支持[MIME-DIR]中定义的类型分组机制。对相关类型进行分组是一种有用的技术,用于传达有关vCard属性的通用语义。

2.6 Line Delimiting and Folding
2.6 分界线和折叠

This profile supports the same line delimiting and folding methods defined in [MIME-DIR]. Specifically, when parsing a content line, folded lines must first be unfolded according to the unfolding procedure described in [MIME-DIR]. After generating a content line, lines longer than 75 characters SHOULD be folded according to the folding procedure described in [MIME DIR].

此配置文件支持[MIME-DIR]中定义的相同的线分隔和折叠方法。具体来说,在解析内容行时,必须首先根据[MIME-DIR]中描述的展开过程展开折叠的行。生成内容行后,应根据[MIME DIR]中描述的折叠过程折叠长度超过75个字符的行。

Folding is done after any content encoding of a type value. Unfolding is done before any decoding of a type value in a content line.

折叠是在对类型值进行任何内容编码之后完成的。展开是在对内容行中的类型值进行任何解码之前完成的。

3. vCard Profile Features
3. vCard配置文件功能

The vCard MIME Directory Profile Type contains directory information, typically pertaining to a single directory entry. The information is described using an attribute schema that is tailored for capturing personal contact information. The vCard can include attributes that describe identification, delivery addressing, telecommunications addressing, geographical, organizational, general explanatory and security and access information about the particular object associated with the vCard.

vCard MIME目录配置文件类型包含目录信息,通常与单个目录条目有关。使用为捕获个人联系信息而定制的属性模式来描述信息。vCard可以包括描述与vCard相关联的特定对象的标识、交付寻址、电信寻址、地理、组织、一般解释和安全以及访问信息的属性。

3.1 Identification Types
3.1 识别类型

These types are used in the vCard profile to capture information associated with the identification and naming of the person or resource associated with the vCard.

这些类型在vCard配置文件中用于捕获与vCard关联的人员或资源的标识和命名相关的信息。

3.1.1 FN Type Definition
3.1.1 FN类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type FN

主题:文本/目录MIME类型FN的注册

Type name:FN

类型名称:FN

Type purpose: To specify the formatted text corresponding to the name of the object the vCard represents.

类型用途:指定与vCard表示的对象名称相对应的格式化文本。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: This type is based on the semantics of the X.520 Common Name attribute. The property MUST be present in the vCard object.

类型特殊注释:此类型基于X.520 Common Name属性的语义。该属性必须存在于vCard对象中。

Type example:

类型示例:

FN:Mr. John Q. Public\, Esq.

FN:John Q.Public先生,Esq。

3.1.2 N Type Definition
3.1.2 N型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type N

主题:注册文本/目录MIME类型N

Type name: N

类型名称:N

Type purpose: To specify the components of the name of the object the vCard represents.

类型用途:指定vCard表示的对象名称的组件。

Type encoding: 8bit

类型编码:8位

Type value: A single structured text value. Each component can have multiple values.

类型值:单个结构化文本值。每个组件可以有多个值。

Type special note: The structured type value corresponds, in sequence, to the Family Name, Given Name, Additional Names, Honorific Prefixes, and Honorific Suffixes. The text components are separated by the SEMI-COLON character (ASCII decimal 59). Individual text components can include multiple text values (e.g., multiple Additional Names) separated by the COMMA character (ASCII decimal 44). This type is based on the semantics of the X.520 individual name attributes. The property MUST be present in the vCard object.

类型特别注意:结构化类型值依次对应于姓氏、给定名称、附加名称、尊称前缀和尊称后缀。文本组件由分号字符(ASCII十进制59)分隔。单个文本组件可以包括多个文本值(例如,多个附加名称),这些值由逗号字符(ASCII十进制44)分隔。此类型基于X.520单个名称属性的语义。该属性必须存在于vCard对象中。

Type example:

类型示例:

N:Public;John;Quinlan;Mr.;Esq.

N:公众;厕所;昆兰;先生Esq。

N:Stevenson;John;Philip,Paul;Dr.;Jr.,M.D.,A.C.P.

史蒂文森;厕所;腓力,保罗;博士Jr.,医学博士,A.C.P。

3.1.3 NICKNAME Type Definition
3.1.3 昵称类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type NICKNAME

主题:文本/目录MIME类型昵称的注册

Type name: NICKNAME

类型名称:昵称

Type purpose: To specify the text corresponding to the nickname of the object the vCard represents.

类型用途:指定与vCard表示的对象的昵称对应的文本。

Type encoding: 8bit

类型编码:8位

Type value: One or more text values separated by a COMMA character (ASCII decimal 44).

类型值:一个或多个由逗号字符分隔的文本值(ASCII十进制44)。

Type special note: The nickname is the descriptive name given instead of or in addition to the one belonging to a person, place, or thing. It can also be used to specify a familiar form of a proper name specified by the FN or N types.

类型特别说明:昵称是一个描述性的名称,而不是属于某人、某地或某物的名称,或者是属于某人、某地或某物的名称的附加名称。它还可以用于指定FN或N类型指定的专有名称的熟悉形式。

Type example:

类型示例:

NICKNAME:Robbie

绰号:罗比

NICKNAME:Jim,Jimmie

绰号:吉姆,吉米

3.1.4 PHOTO Type Definition
3.1.4 照片类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type PHOTO

主题:文本/目录MIME类型照片的注册

Type name: PHOTO

类型名称:照片

Type purpose: To specify an image or photograph information that annotates some aspect of the object the vCard represents.

类型用途:指定图像或照片信息,用于注释vCard所代表对象的某些方面。

Type encoding: The encoding MUST be reset to "b" using the ENCODING parameter in order to specify inline, encoded binary data. If the value is referenced by a URI value, then the default encoding of 8bit is used and no explicit ENCODING parameter is needed.

类型编码:必须使用编码参数将编码重置为“b”,以便指定内联编码的二进制数据。如果该值由URI值引用,则使用默认编码8bit,不需要显式编码参数。

Type value: A single value. The default is binary value. It can also be reset to uri value. The uri value can be used to specify a value outside of this MIME entity.

类型值:单个值。默认值为二进制值。也可以将其重置为uri值。uri值可用于指定此MIME实体之外的值。

Type special notes: The type can include the type parameter "TYPE" to specify the graphic image format type. The TYPE parameter values MUST be one of the IANA registered image formats or a non-standard image format.

类型特殊说明:该类型可以包括类型参数“Type”,以指定图形图像格式类型。类型参数值必须是IANA注册的图像格式之一或非标准图像格式。

Type example:

类型示例:

        PHOTO;VALUE=uri:http://www.abc.com/pub/photos
         /jqpublic.gif
        
        PHOTO;VALUE=uri:http://www.abc.com/pub/photos
         /jqpublic.gif
        
        PHOTO;ENCODING=b;TYPE=JPEG:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...remainder of "B" encoded binary data...>
        
        PHOTO;ENCODING=b;TYPE=JPEG:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...remainder of "B" encoded binary data...>
        
3.1.5 BDAY Type Definition
3.1.5 B日期类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type BDAY

主题:注册文本/目录MIME类型BDAY

Type name: BDAY

类型名称:BDAY

Type purpose: To specify the birth date of the object the vCard represents.

类型用途:指定vCard表示的对象的出生日期。

Type encoding: 8bit

类型编码:8位

Type value: The default is a single date value. It can also be reset to a single date-time value.

类型值:默认为单个日期值。也可以将其重置为单个日期时间值。

Type examples:

类型示例:

BDAY:1996-04-15

星期四:1996-04-15

        BDAY:1953-10-15T23:10:00Z
        
        BDAY:1953-10-15T23:10:00Z
        
        BDAY:1987-09-27T08:30:00-06:00
        
        BDAY:1987-09-27T08:30:00-06:00
        
3.2 Delivery Addressing Types
3.2 传递寻址类型

These types are concerned with information related to the delivery addressing or label for the vCard object.

这些类型涉及与vCard对象的传递地址或标签相关的信息。

3.2.1 ADR Type Definition
3.2.1 ADR类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type ADR

主题:文本/目录MIME类型ADR的注册

Type name: ADR

类型名称:ADR

Type purpose: To specify the components of the delivery address for the vCard object.

类型用途:指定vCard对象的传递地址的组件。

Type encoding: 8bit

类型编码:8位

Type value: A single structured text value, separated by the SEMI-COLON character (ASCII decimal 59).

类型值:单个结构化文本值,由分号字符(ASCII十进制59)分隔。

Type special notes: The structured type value consists of a sequence of address components. The component values MUST be specified in their corresponding position. The structured type value corresponds, in sequence, to the post office box; the extended address; the street address; the locality (e.g., city); the region (e.g., state or province); the postal code; the country name. When a component value is missing, the associated component separator MUST still be specified.

类型特殊说明:结构化类型值由一系列地址组件组成。必须在相应位置指定组件值。结构化类型值依次对应于邮政信箱;扩展地址;街道地址;地点(如城市);区域(如州或省);邮政编码;国名。缺少组件值时,仍必须指定关联的组件分隔符。

The text components are separated by the SEMI-COLON character (ASCII decimal 59). Where it makes semantic sense, individual text components can include multiple text values (e.g., a "street" component with multiple lines) separated by the COMMA character (ASCII decimal 44).

文本组件由分号字符(ASCII十进制59)分隔。在语义上有意义的地方,单个文本组件可以包括多个文本值(例如,具有多行的“street”组件),由逗号字符(ASCII十进制44)分隔。

The type can include the type parameter "TYPE" to specify the delivery address type. The TYPE parameter values can include "dom" to indicate a domestic delivery address; "intl" to indicate an international delivery address; "postal" to indicate a postal delivery address; "parcel" to indicate a parcel delivery address; "home" to indicate a delivery address for a residence; "work" to indicate delivery address for a place of work; and "pref" to indicate the preferred delivery address when more than one address is specified. These type parameter values can be specified as a parameter list (i.e., "TYPE=dom;TYPE=postal") or as a value list (i.e., "TYPE=dom,postal"). This type is based on semantics of the X.520 geographical and postal addressing attributes. The default is "TYPE=intl,postal,parcel,work". The default can be overridden to some other set of values by specifying one or more alternate values. For example, the default can be reset to "TYPE=dom,postal,work,home" to specify a domestic delivery address for postal delivery to a residence that is also used for work.

该类型可以包括类型参数“type”,以指定传递地址类型。类型参数值可以包括“dom”以指示国内递送地址;“intl”表示国际交货地址;“邮政”表示邮政递送地址;“包裹”表示包裹递送地址;“家”表示住所的送货地址;“工作”表示工作地点的交付地址;和“pref”表示指定多个地址时的首选送达地址。这些类型参数值可以指定为参数列表(即“type=dom;type=postal”)或值列表(即“type=dom,postal”)。此类型基于X.520地理和邮政地址属性的语义。默认值为“类型=国际、邮政、包裹、工作”。通过指定一个或多个备用值,可以将默认值覆盖为其他一些值集。例如,可以将默认设置重置为“TYPE=dom,postal,work,home”,以指定一个国内投递地址,以便将邮件投递到也用于工作的住所。

Type example: In this example the post office box and the extended address are absent.

类型示例:在此示例中,没有邮政信箱和扩展地址。

        ADR;TYPE=dom,home,postal,parcel:;;123 Main
          Street;Any Town;CA;91921-1234
        
        ADR;TYPE=dom,home,postal,parcel:;;123 Main
          Street;Any Town;CA;91921-1234
        
3.2.2 LABEL Type Definition
3.2.2 标签类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type LABEL

主题:文本/目录MIME类型标签的注册

Type name: LABEL

类型名称:标签

Type purpose: To specify the formatted text corresponding to delivery address of the object the vCard represents.

类型用途:指定与vCard所代表对象的交付地址相对应的格式化文本。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The type value is formatted text that can be used to present a delivery address label for the vCard object. The type can include the type parameter "TYPE" to specify delivery label type. The TYPE parameter values can include "dom" to indicate a domestic delivery label; "intl" to indicate an international delivery label; "postal" to indicate a postal delivery label; "parcel" to indicate a parcel delivery label; "home" to indicate a delivery label for a residence; "work" to indicate delivery label for a place of work; and "pref" to indicate the preferred delivery label when more than one label is specified. These type parameter values can be specified as a parameter list (i.e., "TYPE=dom;TYPE=postal") or as a value list (i.e., "TYPE=dom,postal"). This type is based on semantics of the X.520 geographical and postal addressing attributes. The default is "TYPE=intl,postal,parcel,work". The default can be overridden to some other set of values by specifying one or more alternate values. For example, the default can be reset to "TYPE=intl,post,parcel,home" to specify an international delivery label for both postal and parcel delivery to a residential location.

类型特殊说明:类型值是格式化文本,可用于显示vCard对象的传递地址标签。该类型可以包括类型参数“type”,以指定交货标签类型。类型参数值可包括“dom”以指示国内交货标签;“intl”表示国际交付标签;“邮政”表示邮政递送标签;“包裹”表示包裹交付标签;“家”表示住宅的送货标签;“工作”表示工作地点的交付标签;和“pref”表示指定多个标签时首选的交付标签。这些类型参数值可以指定为参数列表(即“type=dom;type=postal”)或值列表(即“type=dom,postal”)。此类型基于X.520地理和邮政地址属性的语义。默认值为“类型=国际、邮政、包裹、工作”。通过指定一个或多个备用值,可以将默认值覆盖为其他一些值集。例如,可以将默认设置重置为“TYPE=intl,post,parcel,home”,以便为邮寄和包裹递送到住宅位置指定国际递送标签。

Type example: A multi-line address label.

类型示例:多行地址标签。

LABEL;TYPE=dom,home,postal,parcel:Mr.John Q. Public\, Esq.\n Mail Drop: TNE QB\n123 Main Street\nAny Town\, CA 91921-1234 \nU.S.A.

标签类型=dom,住宅,邮政,包裹:John Q.Public先生\,Esq.\n投递邮件:加利福尼亚州南部,QB\n123 Main Street\Nay Town\,邮编:91921-1234\nU.S.A。

3.3 Telecommunications Addressing Types
3.3 电信寻址类型

These types are concerned with information associated with the telecommunications addressing of the object the vCard represents.

这些类型涉及与vCard所代表对象的电信寻址相关的信息。

3.3.1 TEL Type Definition
3.3.1 电话类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type TEL

主题:注册文本/目录MIME类型电话

Type name: TEL

类型名称:电话

Type purpose: To specify the telephone number for telephony communication with the object the vCard represents.

类型用途:指定与vCard表示的对象进行电话通信的电话号码。

Type encoding: 8bit

类型编码:8位

Type value: A single phone-number value.

类型值:单个电话号码值。

Type special notes: The value of this type is specified in a canonical form in order to specify an unambiguous representation of the globally unique telephone endpoint. This type is based on the X.500 Telephone Number attribute.

类型特殊说明:此类型的值以规范形式指定,以便指定全局唯一电话端点的明确表示形式。此类型基于X.500电话号码属性。

The type can include the type parameter "TYPE" to specify intended use for the telephone number. The TYPE parameter values can include: "home" to indicate a telephone number associated with a residence, "msg" to indicate the telephone number has voice messaging support, "work" to indicate a telephone number associated with a place of work, "pref" to indicate a preferred-use telephone number, "voice" to indicate a voice telephone number, "fax" to indicate a facsimile telephone number, "cell" to indicate a cellular telephone number, "video" to indicate a video conferencing telephone number, "pager" to indicate a paging device telephone number, "bbs" to indicate a bulletin board system telephone number, "modem" to indicate a MODEM connected telephone number, "car" to indicate a car-phone telephone number, "isdn" to indicate an ISDN service telephone number, "pcs" to indicate a personal communication services telephone number. The default type is "voice". These type parameter values can be specified as a parameter list (i.e., "TYPE=work;TYPE=voice") or as a value list (i.e., "TYPE=work,voice"). The default can be overridden to another set of values by specifying one or more alternate values. For example, the default TYPE of "voice" can be reset to a WORK and HOME, VOICE and FAX telephone number by the value list "TYPE=work,home,voice,fax".

类型可以包括类型参数“type”,以指定电话号码的预期用途。类型参数值可以包括:“home”表示与住宅相关联的电话号码,“msg”表示电话号码具有语音消息传递支持,“work”表示与工作地点相关联的电话号码,“pref”表示首选电话号码,“voice”表示语音电话号码,“fax”表示传真电话号码,“cell”表示蜂窝电话号码,“video”表示视频会议电话号码,“pager”表示寻呼设备电话号码,“bbs”表示公告板系统电话号码,“modem”表示调制解调器连接的电话号码,“car”表示汽车电话号码,“isdn”表示isdn服务电话号码,“pcs”表示个人通信服务电话号码。默认类型为“语音”。这些类型参数值可以指定为参数列表(即“类型=工作;类型=语音”)或值列表(即“类型=工作,语音”)。通过指定一个或多个备用值,可以将默认值替换为另一组值。例如,“语音”的默认类型可以通过值列表“TYPE=WORK,HOME,voice,FAX”重置为工作和家庭、语音和传真电话号码。

Type example:

类型示例:

        TEL;TYPE=work,voice,pref,msg:+1-213-555-1234
        
        TEL;TYPE=work,voice,pref,msg:+1-213-555-1234
        
3.3.2 EMAIL Type Definition
3.3.2 电子邮件类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type EMAIL

主题:注册文本/目录MIME类型电子邮件

Type name: EMAIL

类型名称:电子邮件

Type purpose: To specify the electronic mail address for communication with the object the vCard represents.

类型用途:指定与vCard表示的对象通信的电子邮件地址。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The type can include the type parameter "TYPE" to specify the format or preference of the electronic mail address. The TYPE parameter values can include: "internet" to indicate an Internet addressing type, "x400" to indicate a X.400 addressing type or "pref" to indicate a preferred-use email address when more than one is specified. Another IANA registered address type can also be specified. The default email type is "internet". A non-standard value can also be specified.

类型特殊说明:该类型可以包括类型参数“Type”,以指定电子邮件地址的格式或首选项。类型参数值可以包括:“internet”表示internet寻址类型,“x400”表示X.400寻址类型,或“pref”表示指定多个电子邮件地址时的首选使用电子邮件地址。还可以指定另一个IANA注册地址类型。默认电子邮件类型为“internet”。也可以指定非标准值。

Type example:

类型示例:

        EMAIL;TYPE=internet:jqpublic@xyz.dom1.com
        
        EMAIL;TYPE=internet:jqpublic@xyz.dom1.com
        
        EMAIL;TYPE=internet:jdoe@isp.net
        
        EMAIL;TYPE=internet:jdoe@isp.net
        
        EMAIL;TYPE=internet,pref:jane_doe@abc.com
        
        EMAIL;TYPE=internet,pref:jane_doe@abc.com
        
3.3.3 MAILER Type Definition
3.3.3 邮件类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type MAILER

主题:文本/目录MIME类型邮件的注册

Type name: MAILER

类型名称:MAILER

Type purpose: To specify the type of electronic mail software that is used by the individual associated with the vCard.

类型用途:指定与vCard关联的个人使用的电子邮件软件的类型。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: This information can provide assistance to a correspondent regarding the type of data representation which can be used, and how they can be packaged. This property is based on the private MIME type X-Mailer that is generally implemented by MIME user agent products.

类型特别说明:此信息可为通讯员提供有关可使用的数据表示类型以及如何打包的帮助。此属性基于私有MIME类型X-Mailer,该类型通常由MIME用户代理产品实现。

Type example:

类型示例:

MAILER:PigeonMail 2.1

邮递员:鸽子邮递2.1

3.4 Geographical Types
3.4 地理类型

These types are concerned with information associated with geographical positions or regions associated with the object the vCard represents.

这些类型涉及与vCard表示的对象相关的地理位置或区域相关的信息。

3.4.1 TZ Type Definition
3.4.1 TZ类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type TZ

主题:文本/目录MIME类型TZ的注册

Type name: TZ

类型名称:TZ

Type purpose: To specify information related to the time zone of the object the vCard represents.

类型用途:指定与vCard所代表对象的时区相关的信息。

Type encoding: 8bit

类型编码:8位

Type value: The default is a single utc-offset value. It can also be reset to a single text value.

类型值:默认为单个utc偏移值。也可以将其重置为单个文本值。

Type special notes: The type value consists of a single value.

类型特殊说明:类型值由单个值组成。

Type examples:

类型示例:

TZ:-05:00

TZ:-05:00

TZ;VALUE=text:-05:00; EST; Raleigh/North America ;This example has a single value, not a structure text value.

TZ;值=文本:-05:00;美国东部时间;罗利/北美洲;此示例只有一个值,而不是结构文本值。

3.4.2 GEO Type Definition
3.4.2 地理类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type GEO

主题:注册文本/目录MIME类型GEO

Type name: GEO

类型名称:GEO

Type purpose: To specify information related to the global positioning of the object the vCard represents.

类型用途:指定与vCard所代表对象的全球定位相关的信息。

Type encoding: 8bit

类型编码:8位

Type value: A single structured value consisting of two float values separated by the SEMI-COLON character (ASCII decimal 59).

类型值:由两个由分号字符(ASCII十进制59)分隔的浮点值组成的单个结构化值。

Type special notes: This type specifies information related to the global position of the object associated with the vCard. The value specifies latitude and longitude, in that order (i.e., "LAT LON" ordering). The longitude represents the location east and west of the prime meridian as a positive or negative real number, respectively. The latitude represents the location north and south of the equator as a positive or negative real number, respectively. The longitude and latitude values MUST be specified as decimal degrees and should be specified to six decimal places. This will allow for granularity within a meter of the geographical position. The text components are separated by the SEMI-COLON character (ASCII decimal 59). The simple formula for converting degrees-minutes-seconds into decimal degrees is:

类型特殊注释:此类型指定与vCard关联的对象的全局位置相关的信息。该值按该顺序(即“纬度-经度”顺序)指定纬度和经度。经度分别以正数或负数表示本初子午线以东和以西的位置。纬度分别以正实数和负实数表示赤道以北和以南的位置。经度和纬度值必须指定为十进制度数,并应指定为小数点后六位。这将允许粒度在距离地理位置一米的范围内。文本组件由分号字符(ASCII十进制59)分隔。将度数分秒转换为十进制度数的简单公式为:

decimal = degrees + minutes/60 + seconds/3600.

十进制=度+分/60+秒/3600。

Type example:

类型示例:

GEO:37.386013;-122.082932

地理:37.386013-122.082932

3.5 Organizational Types
3.5 组织类型

These types are concerned with information associated with characteristics of the organization or organizational units of the object the vCard represents.

这些类型涉及与vCard所代表对象的组织或组织单位的特征相关的信息。

3.5.1 TITLE Type Definition
3.5.1 标题类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type TITLE

主题:文本/目录MIME类型标题的注册

Type name: TITLE

类型名称:标题

Type purpose: To specify the job title, functional position or function of the object the vCard represents.

类型用途:指定vCard所代表对象的职务、功能位置或功能。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: This type is based on the X.520 Title attribute.

类型特殊注释:此类型基于X.520标题属性。

Type example:

类型示例:

TITLE:Director\, Research and Development

职务:研发总监

3.5.2 ROLE Type Definition
3.5.2 角色类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type ROLE

主题:文本/目录MIME类型角色的注册

Type name: ROLE

类型名称:角色

Type purpose: To specify information concerning the role, occupation, or business category of the object the vCard represents.

类型用途:指定有关vCard所代表对象的角色、职业或业务类别的信息。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: This type is based on the X.520 Business Category explanatory attribute. This property is included as an organizational type to avoid confusion with the semantics of the TITLE type and incorrect usage of that type when the semantics of this type is intended.

类型特殊注释:此类型基于X.520业务类别解释属性。此属性作为组织类型包含,以避免与TITLE类型的语义混淆,以及在使用此类型的语义时不正确地使用该类型。

Type example:

类型示例:

ROLE:Programmer

角色:程序员

3.5.3 LOGO Type Definition
3.5.3 标识类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type LOGO

主题:文本/目录MIME类型徽标的注册

Type name: LOGO

类型名称:LOGO

Type purpose: To specify a graphic image of a logo associated with the object the vCard represents.

类型用途:指定与vCard表示的对象关联的徽标的图形图像。

Type encoding: The encoding MUST be reset to "b" using the ENCODING parameter in order to specify inline, encoded binary data. If the value is referenced by a URI value, then the default encoding of 8bit is used and no explicit ENCODING parameter is needed.

类型编码:必须使用编码参数将编码重置为“b”,以便指定内联编码的二进制数据。如果该值由URI值引用,则使用默认编码8bit,不需要显式编码参数。

Type value: A single value. The default is binary value. It can also be reset to uri value. The uri value can be used to specify a value outside of this MIME entity.

类型值:单个值。默认值为二进制值。也可以将其重置为uri值。uri值可用于指定此MIME实体之外的值。

Type special notes: The type can include the type parameter "TYPE" to specify the graphic image format type. The TYPE parameter values MUST be one of the IANA registered image formats or a non-standard image format.

类型特殊说明:该类型可以包括类型参数“Type”,以指定图形图像格式类型。类型参数值必须是IANA注册的图像格式之一或非标准图像格式。

Type example:

类型示例:

        LOGO;VALUE=uri:http://www.abc.com/pub/logos/abccorp.jpg
        
        LOGO;VALUE=uri:http://www.abc.com/pub/logos/abccorp.jpg
        
        LOGO;ENCODING=b;TYPE=JPEG:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...the remainder of "B" encoded binary data...>
        
        LOGO;ENCODING=b;TYPE=JPEG:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...the remainder of "B" encoded binary data...>
        
3.5.4 AGENT Type Definition
3.5.4 代理类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type AGENT

主题:文本/目录MIME类型代理的注册

Type name: AGENT

类型名称:代理

Type purpose: To specify information about another person who will act on behalf of the individual or resource associated with the vCard.

类型用途:指定代表与vCard关联的个人或资源的其他人员的信息。

Type encoding: 8-bit

类型编码:8位

Type value: The default is a single vcard value. It can also be reset to either a single text or uri value. The text value can be used to specify textual information. The uri value can be used to specify information outside of this MIME entity.

类型值:默认为单个vcard值。也可以将其重置为单个文本或uri值。文本值可用于指定文本信息。uri值可用于指定此MIME实体之外的信息。

Type special notes: This type typically is used to specify an area administrator, assistant, or secretary for the individual associated with the vCard. A key characteristic of the Agent type is that it represents somebody or something that is separately addressable.

类型特殊注释:此类型通常用于为与vCard关联的个人指定区域管理员、助理或秘书。代理类型的一个关键特征是,它表示可单独寻址的某人或某物。

Type example:

类型示例:

        AGENT;VALUE=uri:
         CID:JQPUBLIC.part3.960129T083020.xyzMail@host3.com
        
        AGENT;VALUE=uri:
         CID:JQPUBLIC.part3.960129T083020.xyzMail@host3.com
        
        AGENT:BEGIN:VCARD\nFN:Susan Thomas\nTEL:+1-919-555-
         1234\nEMAIL\;INTERNET:sthomas@host.com\nEND:VCARD\n
        
        AGENT:BEGIN:VCARD\nFN:Susan Thomas\nTEL:+1-919-555-
         1234\nEMAIL\;INTERNET:sthomas@host.com\nEND:VCARD\n
        
3.5.5 ORG Type Definition
3.5.5 组织类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type ORG

主题:文本/目录MIME类型组织的注册

Type name: ORG

类型名称:ORG

Type purpose: To specify the organizational name and units associated with the vCard.

类型用途:指定与vCard关联的组织名称和单位。

Type encoding: 8bit

类型编码:8位

Type value: A single structured text value consisting of components separated the SEMI-COLON character (ASCII decimal 59).

类型值:由分号字符(ASCII十进制59)分隔的组件组成的单一结构化文本值。

Type special notes: The type is based on the X.520 Organization Name and Organization Unit attributes. The type value is a structured type consisting of the organization name, followed by one or more levels of organizational unit names.

类型特殊说明:基于X.520组织名称和组织单元属性。类型值是一种结构化类型,包括组织名称,后跟一个或多个级别的组织单位名称。

Type example: A type value consisting of an organizational name, organizational unit #1 name and organizational unit #2 name.

类型示例:由组织名称、组织单位#1名称和组织单位#2名称组成的类型值。

        ORG:ABC\, Inc.;North American Division;Marketing
        
        ORG:ABC\, Inc.;North American Division;Marketing
        
3.6 Explanatory Types
3.6 解释类型

These types are concerned with additional explanations, such as that related to informational notes or revisions specific to the vCard.

这些类型涉及额外的解释,例如与vCard特定的信息注释或修订相关的解释。

3.6.1 CATEGORIES Type Definition
3.6.1 类别类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type CATEGORIES

主题:文本/目录MIME类型类别的注册

Type name: CATEGORIES

类型名称:类别

Type purpose: To specify application category information about the vCard.

类型用途:指定有关vCard的应用程序类别信息。

Type encoding: 8bit

类型编码:8位

Type value: One or more text values separated by a COMMA character (ASCII decimal 44).

类型值:一个或多个由逗号字符分隔的文本值(ASCII十进制44)。

Type example:

类型示例:

CATEGORIES:TRAVEL AGENT

类别:旅行社

CATEGORIES:INTERNET,IETF,INDUSTRY,INFORMATION TECHNOLOGY

类别:互联网、IETF、工业、信息技术

3.6.2 NOTE Type Definition
3.6.2 注释类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type NOTE

主题:文本/目录MIME类型的注册说明

Type name: NOTE

类型名称:备注

Type purpose: To specify supplemental information or a comment that is associated with the vCard.

键入用途:指定与vCard关联的补充信息或注释。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The type is based on the X.520 Description attribute.

类型特殊说明:类型基于X.520描述属性。

Type example:

类型示例:

NOTE:This fax number is operational 0800 to 1715 EST\, Mon-Fri.

注:此传真号码为美国东部时间周一至周五0800至1715。

3.6.3 PRODID Type Definition
3.6.3 PRODID类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type PRODID

主题:文本/目录MIME类型PRODID的注册

Type name: PRODID

类型名称:PRODID

Type purpose: To specify the identifier for the product that created the vCard object.

类型用途:为创建vCard对象的产品指定标识符。

Type encoding: 8-bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: Implementations SHOULD use a method such as that specified for Formal Public Identifiers in ISO 9070 to assure that the text value is unique.

类型特殊注释:实现应使用ISO 9070中为正式公共标识符指定的方法,以确保文本值是唯一的。

Type example:

类型示例:

        PRODID:-//ONLINE DIRECTORY//NONSGML Version 1//EN
        
        PRODID:-//ONLINE DIRECTORY//NONSGML Version 1//EN
        
3.6.4 REV Type Definition
3.6.4 版本类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type REV

主题:文本/目录MIME类型的注册版本

Type name: REV

类型名称:修订版

Type purpose: To specify revision information about the current vCard.

类型用途:指定有关当前vCard的修订信息。

Type encoding: 8-bit

类型编码:8位

Type value: The default is a single date-time value. Can also be reset to a single date value.

类型值:默认为单个日期时间值。也可以重置为单个日期值。

Type special notes: The value distinguishes the current revision of the information in this vCard for other renditions of the information.

键入特殊注释:该值用于区分此vCard中信息的当前版本与其他版本的信息。

Type example:

类型示例:

        REV:1995-10-31T22:27:10Z
        
        REV:1995-10-31T22:27:10Z
        

REV:1997-11-15

修订:1997-11-15

3.6.5 SORT-STRING Type Definition
3.6.5 排序字符串类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type SORT-STRING

主题:文本/目录MIME类型排序字符串的注册

Type Name: SORT-STRING

类型名称:排序字符串

Type purpose: To specify the family name or given name text to be used for national-language-specific sorting of the FN and N types.

类型用途:指定用于FN和N类型的国家语言特定排序的族名称或给定名称文本。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The sort string is used to provide family name or given name text that is to be used in locale- or national-language-specific sorting of the formatted name and structured name types. Without this information, sorting algorithms could incorrectly sort this vCard within a sequence of sorted vCards. When this type is present in a vCard, then this family name or given name value is used for sorting the vCard.

类型特殊注释:排序字符串用于提供在格式化名称和结构化名称类型的区域设置或国家语言特定排序中使用的族名称或给定名称文本。如果没有这些信息,排序算法可能会在已排序的vCard序列中错误地排序此vCard。当vCard中存在此类型时,将使用此族名称或给定名称值对vCard进行排序。

Type examples: For the case of family name sorting, the following examples define common sort string usage with the FN and N types.

类型示例:对于姓氏排序,以下示例定义了FN和N类型的常用排序字符串用法。

        FN:Rene van der Harten
        N:van der Harten;Rene;J.;Sir;R.D.O.N.
        SORT-STRING:Harten
        
        FN:Rene van der Harten
        N:van der Harten;Rene;J.;Sir;R.D.O.N.
        SORT-STRING:Harten
        
        FN:Robert Pau Shou Chang
        N:Pau;Shou Chang;Robert
        SORT-STRING:Pau
        
        FN:Robert Pau Shou Chang
        N:Pau;Shou Chang;Robert
        SORT-STRING:Pau
        

FN:Osamu Koura N:Koura;Osamu SORT-STRING:Koura

FN:Osamu Koura N:Koura;Osamu排序字符串:Koura

FN:Oscar del Pozo N:del Pozo Triscon;Oscar SORT-STRING:Pozo

FN:Oscar del Pozo N:del Pozo Triscon;奥斯卡排序字符串:波佐

FN:Chistine d'Aboville N:d'Aboville;Christine SORT-STRING:Aboville

FN:Chistine d'Aboville N:d'Aboville;克里斯汀排序字符串:阿博维尔

3.6.6 SOUND Type Definition
3.6.6 声音类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type SOUND

主题:文本/目录MIME类型声音的注册

Type name: SOUND

类型名称:声音

Type purpose: To specify a digital sound content information that annotates some aspect of the vCard. By default this type is used to specify the proper pronunciation of the name type value of the vCard.

类型用途:指定对vCard的某些方面进行注释的数字声音内容信息。默认情况下,此类型用于指定vCard的名称类型值的正确发音。

Type encoding: The encoding MUST be reset to "b" using the ENCODING parameter in order to specify inline, encoded binary data. If the value is referenced by a URI value, then the default encoding of 8bit is used and no explicit ENCODING parameter is needed.

类型编码:必须使用编码参数将编码重置为“b”,以便指定内联编码的二进制数据。如果该值由URI值引用,则使用默认编码8bit,不需要显式编码参数。

Type value: A single value. The default is binary value. It can also be reset to uri value. The uri value can be used to specify a value outside of this MIME entity.

类型值:单个值。默认值为二进制值。也可以将其重置为uri值。uri值可用于指定此MIME实体之外的值。

Type special notes: The type can include the type parameter "TYPE" to specify the audio format type. The TYPE parameter values MUST be one of the IANA registered audio formats or a non-standard audio format.

类型特殊说明:该类型可以包括类型参数“Type”来指定音频格式类型。类型参数值必须是IANA注册的音频格式之一或非标准音频格式。

Type example:

类型示例:

        SOUND;TYPE=BASIC;VALUE=uri:CID:JOHNQPUBLIC.part8.
         19960229T080000.xyzMail@host1.com
        
        SOUND;TYPE=BASIC;VALUE=uri:CID:JOHNQPUBLIC.part8.
         19960229T080000.xyzMail@host1.com
        
        SOUND;TYPE=BASIC;ENCODING=b:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...the remainder of "B" encoded binary data...>
        
        SOUND;TYPE=BASIC;ENCODING=b:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcN
         AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm
         ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0
         <...the remainder of "B" encoded binary data...>
        
3.6.7 UID Type Definition
3.6.7 UID类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type UID

主题:文本/目录MIME类型UID的注册

Type name: UID

类型名称:UID

Type purpose: To specify a value that represents a globally unique identifier corresponding to the individual or resource associated with the vCard.

类型用途:指定一个值,该值表示与vCard关联的个人或资源相对应的全局唯一标识符。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The type is used to uniquely identify the object that the vCard represents.

类型特殊说明:该类型用于唯一标识vCard表示的对象。

The type can include the type parameter "TYPE" to specify the format of the identifier. The TYPE parameter value should be an IANA registered identifier format. The value can also be a non-standard format.

类型可以包括类型参数“type”,以指定标识符的格式。类型参数值应为IANA注册标识符格式。该值也可以是非标准格式。

Type example:

类型示例:

UID:19950401-080045-40000F192713-0052

UID:19950401-080045-40000F192713-0052

3.6.8 URL Type Definition
3.6.8 URL类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type URL

主题:文本/目录MIME类型URL的注册

Type name: URL

类型名称:URL

Type purpose: To specify a uniform resource locator associated with the object that the vCard refers to.

类型用途:指定与vCard引用的对象关联的统一资源定位器。

Type encoding: 8bit

类型编码:8位

Type value: A single uri value.

类型值:单个uri值。

Type example:

类型示例:

        URL:http://www.swbyps.restaurant.french/~chezchic.html
        
        URL:http://www.swbyps.restaurant.french/~chezchic.html
        
3.6.9 VERSION Type Definition
3.6.9 版本类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type VERSION

主题:文本/目录MIME类型版本的注册

Type name: VERSION

类型名称:版本

Type purpose: To specify the version of the vCard specification used to format this vCard.

类型用途:指定用于格式化此vCard的vCard规范版本。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: The property MUST be present in the vCard object. The value MUST be "3.0" if the vCard corresponds to this specification.

键入特殊注意事项:该属性必须存在于vCard对象中。如果vCard符合本规范,则该值必须为“3.0”。

Type example:

类型示例:

VERSION:3.0

版本:3.0

3.7 Security Types
3.7 安全类型

These types are concerned with the security of communication pathways or access to the vCard.

这些类型涉及通信路径或vCard访问的安全性。

3.7.1 CLASS Type Definition
3.7.1 类类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type CLASS

主题:文本/目录MIME类型类的注册

Type name: CLASS

类型名称:类

Type purpose: To specify the access classification for a vCard object.

类型用途:指定vCard对象的访问分类。

Type encoding: 8bit

类型编码:8位

Type value: A single text value.

类型值:单个文本值。

Type special notes: An access classification is only one component of the general security model for a directory service. The classification attribute provides a method of capturing the intent of the owner for general access to information described by the vCard object.

类型特殊说明:访问分类只是目录服务的通用安全模型的一个组件。“分类”属性提供了一种方法,用于捕获所有者对vCard对象所描述信息的一般访问意图。

Type examples:

类型示例:

CLASS:PUBLIC

类别:公共

CLASS:PRIVATE

类别:私人

CLASS:CONFIDENTIAL

类别:机密

3.7.2 KEY Type Definition
3.7.2 键类型定义

To: ietf-mime-directory@imc.org

致:ietf mime-directory@imc.org

Subject: Registration of text/directory MIME type KEY

主题:注册文本/目录MIME类型密钥

Type name: KEY

类型名称:KEY

Type purpose: To specify a public key or authentication certificate associated with the object that the vCard represents.

类型用途:指定与vCard表示的对象关联的公钥或身份验证证书。

Type encoding: The encoding MUST be reset to "b" using the ENCODING parameter in order to specify inline, encoded binary data. If the value is a text value, then the default encoding of 8bit is used and no explicit ENCODING parameter is needed.

类型编码:必须使用编码参数将编码重置为“b”,以便指定内联编码的二进制数据。如果该值是文本值,则使用默认编码8bit,不需要显式编码参数。

Type value: A single value. The default is binary. It can also be reset to text value. The text value can be used to specify a text key.

类型值:单个值。默认值为二进制。也可以将其重置为文本值。文本值可用于指定文本键。

Type special notes: The type can also include the type parameter TYPE to specify the public key or authentication certificate format. The parameter type should specify an IANA registered public key or authentication certificate format. The parameter type can also specify a non-standard format.

类型特殊说明:该类型还可以包括类型参数类型,以指定公钥或身份验证证书格式。参数类型应指定IANA注册公钥或身份验证证书格式。参数类型还可以指定非标准格式。

Type example:

类型示例:

KEY;ENCODING=b:MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhvcNAQEEBQA wdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENbW11bmljYX Rpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0 ZW1zMRwwGgYDVQQDExNyb290Y2EubmV0c2NhcGUuY29tMB4XDTk3MDYwNj E5NDc1OVoXDTk3MTIwMzE5NDc1OVowgYkxCzAJBgNVBAYTAlVTMSYwJAYD VQQKEx1OZXRzY2FwZSBDb21tdW5pY2F0aW9ucyBDb3JwLjEYMBYGA1UEAx MPVGltb3RoeSBBIEhvd2VzMSEwHwYJKoZIhvcNAQkBFhJob3dlc0BuZXRz Y2FwZS5jb20xFTATBgoJkiaJk/IsZAEBEwVob3dlczBcMA0GCSqGSIb3DQ EBAQUAA0sAMEgCQQC0JZf6wkg8pLMXHHCUvMfL5H6zjSk4vTTXZpYyrdN2 dXcoX49LKiOmgeJSzoiFKHtLOIboyludF90CgqcxtwKnAgMBAAGjNjA0MB EGCWCGSAGG+EIBAQQEAwIAoDAfBgNVHSMEGDAWgBT84FToB/GV3jr3mcau +hUMbsQukjANBgkqhkiG9w0BAQQFAAOBgQBexv7o7mi3PLXadkmNP9LcIP mx93HGp0Kgyx1jIVMyNgsemeAwBM+MSlhMfcpbTrONwNjZYW8vJDSoi//y rZlVt9bJbs7MNYZVsyF1unsqaln4/vy6Uawfg8VUMk1U7jt8LYpo4YULU7 UZHPYVUaSgVttImOHZIKi4hlPXBOhcUQ==

钥匙ENCODING=b:Miicajccadogawigibecuwdqyjkozihvcnaqeebqa Wdzelmakga1ebhmcvvmxldaqbgnbaoti05ldhjxblienbw11bmljyx rpb25zienvcnbvcmf0aw9umrwggydqlexnjbmzvg1hdglvbibtexn0 zwwzmwgwgy2ny290y2eubmv0c2nhcgUy29tmb4d3mdy5ndovoxdTk3mzzzzzzzzzy5ndc1nzzzzzzzzzzzzzzy2wg2wg2f9jzzzzzzyzzzyzyzzy2wg2f3wzzyzyzzzzyzzzy2wzyzy2wMPVGLTB3ROESBBIEHVD2VZMSEWHWYJKOZHIVCNAQKBFHJOB3DLC0BUZXRZ Y2FWZS5JB20XFTATBOJKIAJK/IsZAEBEwVob3dlczBcMA0GCSqGSIb3DQ Ebaquaa0SamegCQQC0JZF6WKG8PLMXHHCUCUVMFL5H6ZJSK4VTTZYRDN2 DXCOX49LKIOMGEZOIF90CGQCWKstWKNAGMBAGGAGJA0MB EGCWSAGG+EigbaqQQEighawG8F8FTG8F8FTG8FTG8MJJR3M+HUMBSQUKKQHKIG9W0BAQQFAOBGQBEXV7O7MI3PLXADKMNP9LCIP mx93HGp0Kgyx1jIVMyNgsemeAwBM+MSlhMfcpbTrONwNjZYW8vJDSoi//y RZLVT9BJBS7MNYZSYF1UNSQALN4/VY6UAWFG8VUMK1U8J8LYPO4YLU7 UZPHYVUASGTTIMOHZI4LPXBOHCUQ==

3.8 Extended Types
3.8 扩展类型

The types defined by this document can be extended with private types using the non-standard, private values mechanism defined in [RFC 2045]. Non-standard, private types with a name starting with "X-" may be defined bilaterally between two cooperating agents without outside registration or standardization.

本文档定义的类型可以使用[RFC 2045]中定义的非标准私有值机制扩展为私有类型。名称以“X-”开头的非标准私有类型可以在两个合作代理之间双边定义,无需外部注册或标准化。

4. Formal Grammar
4. 形式语法

The following formal grammar is provided to assist developers in building parsers for the vCard.

提供以下形式语法以帮助开发人员为vCard构建解析器。

This syntax is written according to the form described in RFC 2234, but it references just this small subset of RFC 2234 literals:

此语法是根据RFC 2234中描述的形式编写的,但它仅引用RFC 2234文本的一小部分:

   ;*******************************************
   ; Commonly Used Literal Definition
   ;*******************************************
        
   ;*******************************************
   ; Commonly Used Literal Definition
   ;*******************************************
        
   ALPHA        = %x41-5A / %x61-7A
        ; Latin Capital Letter A-Latin Capital Letter Z /
        ; Latin Small Letter a-Latin Small Letter z
        
   ALPHA        = %x41-5A / %x61-7A
        ; Latin Capital Letter A-Latin Capital Letter Z /
        ; Latin Small Letter a-Latin Small Letter z
        
   CHAR         = %x01-7F
        ; Any C0 Controls and Basic Latin, excluding NULL from
        ; Code Charts, pages 7-6 through 7-9 in [UNICODE]
        
   CHAR         = %x01-7F
        ; Any C0 Controls and Basic Latin, excluding NULL from
        ; Code Charts, pages 7-6 through 7-9 in [UNICODE]
        
   CR           = %x0D
        ; Carriage Return
        
   CR           = %x0D
        ; Carriage Return
        
   LF           = %0A
        ; Line Feed
        
   LF           = %0A
        ; Line Feed
        

CRLF = CR LF ; Internet standard newline

CRLF=CRLF;互联网标准新线

   ;CTL         = %x00-1F / %x7F
        ; Controls. Not used, but referenced in comments.
        
   ;CTL         = %x00-1F / %x7F
        ; Controls. Not used, but referenced in comments.
        
   DIGIT        = %x30-39
        ; Digit Zero-Digit Nine
        
   DIGIT        = %x30-39
        ; Digit Zero-Digit Nine
        
   DQUOTE       = %x22
        ; Quotation Mark
        
   DQUOTE       = %x22
        ; Quotation Mark
        
   HTAB         = %x09
        ; Horizontal Tabulation
        
   HTAB         = %x09
        ; Horizontal Tabulation
        
   SP           = %x20
        ; space
        
   SP           = %x20
        ; space
        
   VCHAR        = %x21-7E
        ; Visible (printing) characters
        
   VCHAR        = %x21-7E
        ; Visible (printing) characters
        

WSP = SP / HTAB ; White Space

WSP=SP/HTAB;空白

   ;*******************************************
   ; Basic vCard Definition
   ;*******************************************
        
   ;*******************************************
   ; Basic vCard Definition
   ;*******************************************
        
   vcard_entity = 1*(vcard)
        
   vcard_entity = 1*(vcard)
        
   vcard        = [group "."] "BEGIN" ":" "VCARD" 1*CRLF
                  1*(contentline)
        ;A vCard object MUST include the VERSION, FN and N types.
                  [group "."] "END" ":" "VCARD" 1*CRLF
        
   vcard        = [group "."] "BEGIN" ":" "VCARD" 1*CRLF
                  1*(contentline)
        ;A vCard object MUST include the VERSION, FN and N types.
                  [group "."] "END" ":" "VCARD" 1*CRLF
        
   contentline  = [group "."] name *(";" param ) ":" value CRLF
        ; When parsing a content line, folded lines must first
        ; be unfolded according to the unfolding procedure
        
   contentline  = [group "."] name *(";" param ) ":" value CRLF
        ; When parsing a content line, folded lines must first
        ; be unfolded according to the unfolding procedure
        
        ; described above. When generating a content line, lines
        ; longer than 75 characters SHOULD be folded according to
        ; the folding procedure described in [MIME DIR].
        
        ; described above. When generating a content line, lines
        ; longer than 75 characters SHOULD be folded according to
        ; the folding procedure described in [MIME DIR].
        
   group        = 1*(ALPHA / DIGIT / "-")
        
   group        = 1*(ALPHA / DIGIT / "-")
        
   name         = iana-token / x-name
        ; Parsing of the param and value is
        ; based on the "name" or type identifier
        ; as defined in ABNF sections below
        
   name         = iana-token / x-name
        ; Parsing of the param and value is
        ; based on the "name" or type identifier
        ; as defined in ABNF sections below
        
   iana-token   = 1*(ALPHA / DIGIT / "-")
        ; vCard type or parameter identifier registered with IANA
        
   iana-token   = 1*(ALPHA / DIGIT / "-")
        ; vCard type or parameter identifier registered with IANA
        
   x-name       = "X-" 1*(ALPHA / DIGIT / "-")
        ; Reserved for non-standard use
        
   x-name       = "X-" 1*(ALPHA / DIGIT / "-")
        ; Reserved for non-standard use
        
   param        = param-name "=" param-value *("," param-value)
        
   param        = param-name "=" param-value *("," param-value)
        
   param-name   = iana-token / x-name
        
   param-name   = iana-token / x-name
        
   param-value  = ptext / quoted-string
        
   param-value  = ptext / quoted-string
        
   ptext        = *SAFE-CHAR
        
   ptext        = *SAFE-CHAR
        
   value        = *VALUE-CHAR
        
   value        = *VALUE-CHAR
        
   quoted-string = DQUOTE QSAFE-CHAR DQUOTE
        
   quoted-string = DQUOTE QSAFE-CHAR DQUOTE
        
   NON-ASCII    = %x80-FF
        ; Use is restricted by CHARSET parameter
        ; on outer MIME object (UTF-8 preferred)
        
   NON-ASCII    = %x80-FF
        ; Use is restricted by CHARSET parameter
        ; on outer MIME object (UTF-8 preferred)
        
   QSAFE-CHAR   = WSP / %x21 / %x23-7E / NON-ASCII
        ; Any character except CTLs, DQUOTE
        
   QSAFE-CHAR   = WSP / %x21 / %x23-7E / NON-ASCII
        ; Any character except CTLs, DQUOTE
        
   SAFE-CHAR    = WSP / %x21 / %x23-2B / %x2D-39 / %x3C-7E / NON-ASCII
        ; Any character except CTLs, DQUOTE, ";", ":", ","
        
   SAFE-CHAR    = WSP / %x21 / %x23-2B / %x2D-39 / %x3C-7E / NON-ASCII
        ; Any character except CTLs, DQUOTE, ";", ":", ","
        
   VALUE-CHAR   = WSP / VCHAR / NON-ASCII
        ; Any textual character
        
   VALUE-CHAR   = WSP / VCHAR / NON-ASCII
        ; Any textual character
        
   ;*******************************************
   ; vCard Type Definition
   ;
   ; Provides type-specific definitions for how the
   ; "value" and "param" are defined.
   ;*******************************************
        
   ;*******************************************
   ; vCard Type Definition
   ;
   ; Provides type-specific definitions for how the
   ; "value" and "param" are defined.
   ;*******************************************
        

;For name="NAME" param = "" ; No parameters allowed

;对于name=“name”param=”“;不允许使用任何参数

   value        = text-value
        
   value        = text-value
        

;For name="PROFILE" param = "" ; No parameters allowed

;对于name=“PROFILE”param=”“;不允许使用任何参数

value = text-value ; Value MUST be the case insensitive value "VCARD

值=文本值;值必须是不区分大小写的值“VCARD”

;For name="SOURCE" param = source-param ; No parameters allowed

;For name=“SOURCE”param=源参数;不允许使用任何参数

   value        = uri
        
   value        = uri
        
   source-param = ("VALUE" "=" "uri")
                / ("CONTEXT" "=" "word")
        ; Parameter value specifies the protocol context
        ; for the uri value.
                / (x-name "=" *SAFE-CHAR)
        
   source-param = ("VALUE" "=" "uri")
                / ("CONTEXT" "=" "word")
        ; Parameter value specifies the protocol context
        ; for the uri value.
                / (x-name "=" *SAFE-CHAR)
        
   ;For name="FN"
   ;This type MUST be included in a vCard object.
   param        = text-param
        ; Text parameters allowed
        
   ;For name="FN"
   ;This type MUST be included in a vCard object.
   param        = text-param
        ; Text parameters allowed
        
   value        = text-value
        
   value        = text-value
        

;For name="N" ;This type MUST be included in a vCard object.

;对于name=“N”;此类型必须包含在vCard对象中。

param = text-param ; Text parameters allowed

参数=文本参数;允许的文本参数

   value        = n-value
        
   value        = n-value
        
   n-value      = 0*4(text-value *("," text-value) ";")
                  text-value *("," text-value)
        ; Family; Given; Middle; Prefix; Suffix.
        ; Example: Public;John;Quincy,Adams;Reverend Dr. III
        
   n-value      = 0*4(text-value *("," text-value) ";")
                  text-value *("," text-value)
        ; Family; Given; Middle; Prefix; Suffix.
        ; Example: Public;John;Quincy,Adams;Reverend Dr. III
        

;For name="NICKNAME" param = text-param ; Text parameters allowed

;对于name=“昵称”参数=文本参数;允许的文本参数

   value        = text-list
        
   value        = text-list
        

;For name="PHOTO" param = img-inline-param ; Only image parameters allowed

;对于name=“PHOTO”param=img inline param;仅允许使用图像参数

param =/ img-refer-param ; Only image parameters allowed

参数=/img参考参数;仅允许使用图像参数

value = img-inline-value ; Value and parameter MUST match

值=img内联值;值和参数必须匹配

value =/ img-refer-value ; Value and parameter MUST match

值=/img参考值;值和参数必须匹配

   ;For name="BDAY"
   param        = ("VALUE" "=" "date")
        ; Only value parameter allowed
        
   ;For name="BDAY"
   param        = ("VALUE" "=" "date")
        ; Only value parameter allowed
        
   param        =/ ("VALUE" "=" "date-time")
        ; Only value parameter allowed
        
   param        =/ ("VALUE" "=" "date-time")
        ; Only value parameter allowed
        

value = date-value ; Value MUST match value type

值=日期值;值必须与值类型匹配

value =/ date-time-value ; Value MUST match value type

值=/日期时间值;值必须与值类型匹配

   ;For name="ADR"
   param        = adr-param / text-param
        ; Only adr and text parameters allowed
        
   ;For name="ADR"
   param        = adr-param / text-param
        ; Only adr and text parameters allowed
        
   value        = adr-value
        
   value        = adr-value
        
   ;For name="LABEL"
   param        = adr-param / text-param
        ; Only adr and text parameters allowed
        
   ;For name="LABEL"
   param        = adr-param / text-param
        ; Only adr and text parameters allowed
        
   value        = text-value
        
   value        = text-value
        

;For name="TEL" param = tel-param ; Only tel parameters allowed

;对于name=“TEL”param=TEL param;只允许使用tel参数

   value        = phone-number-value
        
   value        = phone-number-value
        
   tel-param    = "TYPE" "=" tel-type *("," tel-type)
        
   tel-param    = "TYPE" "=" tel-type *("," tel-type)
        
   tel-type     = "HOME" / "WORK" / "PREF" / "VOICE" / "FAX" / "MSG"
                / "CELL" / "PAGER" / "BBS" / "MODEM" / "CAR" / "ISDN"
                / "VIDEO" / "PCS" / iana-token / x-name
        ; Values are case insensitive
        
   tel-type     = "HOME" / "WORK" / "PREF" / "VOICE" / "FAX" / "MSG"
                / "CELL" / "PAGER" / "BBS" / "MODEM" / "CAR" / "ISDN"
                / "VIDEO" / "PCS" / iana-token / x-name
        ; Values are case insensitive
        

;For name="EMAIL" param = email-param ; Only email parameters allowed

;For name=“EMAIL”param=电子邮件参数;只允许使用电子邮件参数

   value        = text-value
        
   value        = text-value
        

email-param = "TYPE" "=" email-type ["," "PREF"] ; Value is case insensitive

电子邮件参数=“TYPE”“=”电子邮件类型[”,“PREF”];值不区分大小写

   email-type   = "INTERNET" / "X400" / iana-token / "X-" word
        ; Values are case insensitive
        
   email-type   = "INTERNET" / "X400" / iana-token / "X-" word
        ; Values are case insensitive
        

;For name="MAILER" param = text-param ; Only text parameters allowed

;For name=“MAILER”param=文本参数;只允许使用文本参数

   value        = text-value
        
   value        = text-value
        

;For name="TZ" param = "" ; No parameters allowed

;对于name=“TZ”param=”“;不允许使用任何参数

   value        = utc-offset-value
        
   value        = utc-offset-value
        

;For name="GEO" param = "" ; No parameters allowed

;对于name=“GEO”param=”“;不允许使用任何参数

value = float-value ";" float-value

值=浮动值“;”浮动值

;For name="TITLE" param = text-param ; Only text parameters allowed

;For name=“TITLE”参数=文本参数;只允许使用文本参数

   value        = text-value
        
   value        = text-value
        

;For name="ROLE" param = text-param ; Only text parameters allowed

;For name=“ROLE”参数=文本参数;只允许使用文本参数

   value        = text-value
        
   value        = text-value
        

;For name="LOGO"

;对于name=“LOGO”

param = img-inline-param / img-refer-param ; Only image parameters allowed

参数=img内联参数/img参考参数;仅允许使用图像参数

value = img-inline-value / img-refer-value ; Value and parameter MUST match

值=img内联值/img参考值;值和参数必须匹配

;For name="AGENT" param = agent-inline-param

;For name=“AGENT”param=代理内联参数

param =/ agent-refer-param

param=/agent refereparam

value = agent-inline-value ; Value and parameter MUST match

值=代理内联值;值和参数必须匹配

value =/ agent-refer-value ; Value and parameter MUST match

值=/代理引用值;值和参数必须匹配

agent-inline-param = "" ; No parameters allowed

代理内联参数=”;不允许使用任何参数

agent-refer-param = "VALUE" "=" "uri" ; Only value parameter allowed

代理引用param=“VALUE”“=”uri”;仅允许值参数

agent-inline-value = text-value ; Value MUST be a valid vCard object

代理内联值=文本值;值必须是有效的vCard对象

agent-refer-value = uri ; URI MUST refer to image content of given type

代理引用值=uri;URI必须引用给定类型的图像内容

;For name="ORG"

;For name=“ORG”

param = text-param ; Only text parameters allowed

参数=文本参数;只允许使用文本参数

   value        = org-value
        
   value        = org-value
        
   org-value    = *(text-value ";") text-value
        ; First is Organization Name, remainder are Organization Units.
        
   org-value    = *(text-value ";") text-value
        ; First is Organization Name, remainder are Organization Units.
        

;For name="CATEGORIES" param = text-param ; Only text parameters allowed

;对于name=“CATEGORIES”参数=文本参数;只允许使用文本参数

   value        = text-list
        
   value        = text-list
        

;For name="NOTE" param = text-param ; Only text parameters allowed

;For name=“NOTE”param=文本参数;只允许使用文本参数

   value        = text-value
        
   value        = text-value
        

;For name="PRODID" param = "" ; No parameters allowed

;对于name=“PRODID”param=”“;不允许使用任何参数

   value        = text-value
        
   value        = text-value
        
   ;For name="REV"
   param        = ["VALUE" =" "date-time"]
        ; Only value parameters allowed. Values are case insensitive.
        
   ;For name="REV"
   param        = ["VALUE" =" "date-time"]
        ; Only value parameters allowed. Values are case insensitive.
        

param =/ "VALUE" =" "date" ; Only value parameters allowed. Values are case insensitive.

param=/“VALUE”=“date”;只允许值参数。值不区分大小写。

   value        = date-time-value
        
   value        = date-time-value
        

value =/ date-value

值=/日期值

;For name="SORT-STRING" param = text-param ; Only text parameters allowed

;For name=“SORT-STRING”参数=文本参数;只允许使用文本参数

   value        = text-value
        
   value        = text-value
        

;For name="SOUND" param = snd-inline-param ; Only sound parameters allowed

;对于name=“SOUND”param=snd inline param;只允许声音参数

param =/ snd-refer-param ; Only sound parameters allowed

参数=/snd参考参数;只允许声音参数

value = snd-line-value ; Value MUST match value type

值=snd线值;值必须与值类型匹配

value =/ snd-refer-value ; Value MUST match value type

值=/snd参考值;值必须与值类型匹配

snd-inline-value = binary-value CRLF ; Value MUST be "b" encoded audio content

snd内联值=二进制值CRLF;值必须是“b”编码的音频内容

   snd-inline-param     = ("VALUE" "=" "binary"])
                        / ("ENCODING" "=" "b")
                        / ("TYPE" "=" *SAFE-CHAR)
        ; Value MUST be an IANA registered audio type
        
   snd-inline-param     = ("VALUE" "=" "binary"])
                        / ("ENCODING" "=" "b")
                        / ("TYPE" "=" *SAFE-CHAR)
        ; Value MUST be an IANA registered audio type
        

snd-refer-value = uri ; URI MUST refer to audio content of given type

snd refere value=uri;URI必须引用给定类型的音频内容

   snd-refer-param      = ("VALUE" "=" "uri")
                        / ("TYPE" "=" word)
        ; Value MUST be an IANA registered audio type
        
   snd-refer-param      = ("VALUE" "=" "uri")
                        / ("TYPE" "=" word)
        ; Value MUST be an IANA registered audio type
        

;For name="UID" param = "" ; No parameters allowed

;对于name=“UID”param=”“;不允许使用任何参数

   value        = text-value
        
   value        = text-value
        

;For name="URL" param = "" ; No parameters allowed

;对于name=“URL”param=”“;不允许使用任何参数

   value        = uri
        
   value        = uri
        
   ;For name="VERSION"
   ;This type MUST be included in a vCard object.
   param        = ""
        ; No parameters allowed
        
   ;For name="VERSION"
   ;This type MUST be included in a vCard object.
   param        = ""
        ; No parameters allowed
        

value = text-value ; Value MUST be "3.0"

值=文本值;值必须为“3.0”

;For name="CLASS" param = "" ; No parameters allowed

;对于name=“CLASS”param=”“;不允许使用任何参数

   value        = "PUBLIC" / "PRIVATE" / "CONFIDENTIAL"
                / iana-token / x-name
        ; Value are case insensitive
        
   value        = "PUBLIC" / "PRIVATE" / "CONFIDENTIAL"
                / iana-token / x-name
        ; Value are case insensitive
        

;For name="KEY" param = key-txt-param ; Only value and type parameters allowed

;对于name=“KEY”param=KEY txt param;仅允许值和类型参数

param =/ key-bin-param ; Only value and type parameters allowed

param=/key-bin-param;仅允许值和类型参数

   value        = text-value
        
   value        = text-value
        

value =/ binary-value

值=/二进制值

key-txt-param = "TYPE" "=" keytype

key txt param=“TYPE”“=”键类型

   key-bin-param = ("TYPE" "=" keytype)
                 / ("ENCODING" "=" "b")
        ; Value MUST be a "b" encoded key or certificate
        
   key-bin-param = ("TYPE" "=" keytype)
                 / ("ENCODING" "=" "b")
        ; Value MUST be a "b" encoded key or certificate
        
   keytype      = "X509" / "PGP" / iana-token / x-name
        ; Values are case insensitive
        
   keytype      = "X509" / "PGP" / iana-token / x-name
        ; Values are case insensitive
        
   ;For name="X-" non-standard type
   param        = text-param / (x-name "=" param-value)
        ; Only text or non-standard parameters allowed
        
   ;For name="X-" non-standard type
   param        = text-param / (x-name "=" param-value)
        ; Only text or non-standard parameters allowed
        
   value        = text-value
        
   value        = text-value
        
   ;*******************************************
   ; vCard Commonly Used Parameter Definition
   ;*******************************************
        
   ;*******************************************
   ; vCard Commonly Used Parameter Definition
   ;*******************************************
        
   text-param   = ("VALUE" "=" "ptext")
                / ("LANGUAGE" "=" langval)
                / (x-name "=" param-value)
        
   text-param   = ("VALUE" "=" "ptext")
                / ("LANGUAGE" "=" langval)
                / (x-name "=" param-value)
        
   langval      = <a language string as defined in RFC 1766>
        
   langval      = <a language string as defined in RFC 1766>
        

img-inline-value = binary-value ;Value MUST be "b" encoded image content

img内联值=二进制值;值必须是“b”编码的图像内容

img-inline-param

img内联参数

   img-inline-param     = ("VALUE" "=" "binary")
                        / ("ENCODING" "=" "b")
                        / ("TYPE" "=" param-value
        ;TYPE value MUST be an IANA registered image type
        
   img-inline-param     = ("VALUE" "=" "binary")
                        / ("ENCODING" "=" "b")
                        / ("TYPE" "=" param-value
        ;TYPE value MUST be an IANA registered image type
        

img-refer-value = uri ;URI MUST refer to image content of given type

img refere value=uri;URI必须引用给定类型的图像内容

   img-refer-param      = ("VALUE" "=" "uri")
                        / ("TYPE" "=" param-value)
        ;TYPE value MUST be an IANA registered image type
        
   img-refer-param      = ("VALUE" "=" "uri")
                        / ("TYPE" "=" param-value)
        ;TYPE value MUST be an IANA registered image type
        
   adr-param    = ("TYPE" "=" adr-type *("," adr-type))
                / (text-param)
        
   adr-param    = ("TYPE" "=" adr-type *("," adr-type))
                / (text-param)
        
   adr-type     = "dom" / "intl" / "postal" / "parcel" / "home"
                / "work" / "pref" / iana-type / x-name
        
   adr-type     = "dom" / "intl" / "postal" / "parcel" / "home"
                / "work" / "pref" / iana-type / x-name
        
   adr-value    = 0*6(text-value ";") text-value
        ; PO Box, Extended Address, Street, Locality, Region, Postal
        ; Code, Country Name
        
   adr-value    = 0*6(text-value ";") text-value
        ; PO Box, Extended Address, Street, Locality, Region, Postal
        ; Code, Country Name
        
   ;*******************************************
   ; vCard Type Value Definition
   ;*******************************************
        
   ;*******************************************
   ; vCard Type Value Definition
   ;*******************************************
        
   text-value-list      = 1*text-value *("," 1*text-value)
        
   text-value-list      = 1*text-value *("," 1*text-value)
        
   text-value   = *(SAFE-CHAR / ":" / DQUOTE / ESCAPED-CHAR)
        
   text-value   = *(SAFE-CHAR / ":" / DQUOTE / ESCAPED-CHAR)
        
   ESCAPED-CHAR = "\\" / "\;" / "\," / "\n" / "\N")
        ; \\ encodes \, \n or \N encodes newline
        ; \; encodes ;, \, encodes ,
        
   ESCAPED-CHAR = "\\" / "\;" / "\," / "\n" / "\N")
        ; \\ encodes \, \n or \N encodes newline
        ; \; encodes ;, \, encodes ,
        
   binary-value = <A "b" encoded text value as defined in [RFC 2047]>
        
   binary-value = <A "b" encoded text value as defined in [RFC 2047]>
        
   date-value   = <A single date value as defined in [MIME-DIR]>
        
   date-value   = <A single date value as defined in [MIME-DIR]>
        
   time-value   = <A single time value as defined in [MIME-DIR]>
        
   time-value   = <A single time value as defined in [MIME-DIR]>
        
   date-time-value = <A single date-time value as defined in [MIME-DIR]
        
   date-time-value = <A single date-time value as defined in [MIME-DIR]
        
   float-value  = <A single float value as defined in [MIME-DIR]>
        
   float-value  = <A single float value as defined in [MIME-DIR]>
        
   phone-number-value = <A single text  value as defined in [CCITT
                         E.163] and [CCITT X.121]>
        
   phone-number-value = <A single text  value as defined in [CCITT
                         E.163] and [CCITT X.121]>
        
   uri-value    = <A uri value as defined in [MIME-DIR]>
        
   uri-value    = <A uri value as defined in [MIME-DIR]>
        
   utc-offset-value = ("+" / "-") time-hour ":" time-minute
   time-hour    = 2DIGIT                ;00-23
   time-minute  = 2DIGIT                ;00-59
        
   utc-offset-value = ("+" / "-") time-hour ":" time-minute
   time-hour    = 2DIGIT                ;00-23
   time-minute  = 2DIGIT                ;00-59
        
5. Differences From vCard v2.1
5. 与vCard v2.1的区别

This specification has been reviewed by the IETF community. The review process introduced a number of differences from the [VCARD] version 2.1. These differences require that vCard objects conforming to this specification have a different version number than a vCard conforming to [VCARD]. The differences include the following:

本规范已由IETF社区审查。审查过程引入了与[VCARD]2.1版的一些差异。这些差异要求符合本规范的vCard对象与符合[vCard]的vCard具有不同的版本号。这些差异包括:

. The QUOTED-PRINTABLE inline encoding has been eliminated. Only the "B" encoding of [RFC 2047] is an allowed value for the ENCODING parameter.

. 已消除引用的可打印内联编码。编码参数只允许使用[RFC 2047]的“B”编码。

. The method for specifying CRLF character sequences in text type values has been changed. The CRLF character sequence in a text type value is specified with the backslash character sequence "\n" or "\N".

. 在文本类型值中指定CRLF字符序列的方法已更改。文本类型值中的CRLF字符序列用反斜杠字符序列“\n”或“\n”指定。

. Any COMMA or SEMICOLON in a text type value must be backslash escaped.

. 文本类型值中的任何逗号或分号都必须反斜杠转义。

. VERSION value corresponding to this specification MUST be "3.0".

. 与本规范对应的版本值必须为“3.0”。

. The [MIME-DIR] predefined types of SOURCE, NAME and PROFILE are allowed.

. 允许[MIME-DIR]预定义的源、名称和配置文件类型。

. The [MIME-DIR] VALUE type parameter for value data typing is allowed. In addition, there are extensions made to these type values for additional value types used in this specification.

. 允许使用[MIME-DIR]值类型参数来键入值数据。此外,对于本规范中使用的附加值类型,还对这些类型值进行了扩展。

. The [VCARD] CHARSET type parameter has been eliminated. Character set can only be specified on the CHARSET parameter on the Content-Type MIME header field.

. [VCARD]字符集类型参数已被删除。只能在内容类型MIME标头字段的CHARSET参数上指定字符集。

. The [VCARD] support for non-significant WSP character has been eliminated.

. 已取消对非重要WSP字符的[VCARD]支持。

. The "TYPE=" prefix to parameter values is required. In [VCARD] this was optional.

. 参数值的“TYPE=”前缀是必需的。在[VCARD]中,这是可选的。

. LOGO, PHOTO and SOUND multimedia formats MUST be either IANA registered types or non-standard types.

. 徽标、照片和声音多媒体格式必须是IANA注册类型或非标准类型。

. Inline binary content must be "B" encoded and folded. A blank line after the encoded binary content is no longer required.

. 内联二进制内容必须进行“B”编码和折叠。编码的二进制内容后不再需要一个空行。

. TEL values can be identified as personal communication services telephone numbers with the PCS type parameter value.

. TEL值可以通过PCS type参数值标识为个人通信服务电话号码。

. The CATEGORIES, CLASS, NICKNAME, PRODID and SORT-STRING types have been added.

. 添加了类别、类、昵称、PRODID和排序字符串类型。

. The VERSION, N and FN types MUST be specified in a vCard. This identifies the version of the specification that the object was formatted to. It also assures that every vCard will include both a structured and formatted name that can be used to identify the object.

. 必须在vCard中指定版本、N和FN类型。这标识对象格式化为的规范版本。它还确保每个vCard都包含可用于标识对象的结构化和格式化名称。

6. Acknowledgements
6. 致谢

The many valuable comments contributed by members of the IETF ASID working group are gratefully acknowledged, as are the contributions by Roland Alden, Stephen Bartlett, Alec Dun, Patrik Faltstrom, Daniel Gurney, Bruce Johnston, Daniel Klaussen, Pete Miller, Keith Moore, Vinod Seraphin, Michelle Watkins. Chris Newman was especially helpful in navigating the intricacies of ABNF lore.

感谢IETF ASID工作组成员提出的许多宝贵意见,感谢罗兰·奥尔登、斯蒂芬·巴特利特、亚历克·邓、帕特里克·法茨特罗姆、丹尼尔·格尼、布鲁斯·约翰斯顿、丹尼尔·克劳森、皮特·米勒、基思·摩尔、维诺德·瑟拉芬、米歇尔·沃特金斯的贡献。克里斯·纽曼特别有助于了解阿布尼复杂的故事。

7. Authors' Addresses
7. 作者地址
   BEGIN:vCard
   VERSION:3.0
   FN:Frank Dawson
   ORG:Lotus Development Corporation
   ADR;TYPE=WORK,POSTAL,PARCEL:;;6544 Battleford Drive
    ;Raleigh;NC;27613-3502;U.S.A.
   TEL;TYPE=VOICE,MSG,WORK:+1-919-676-9515
   TEL;TYPE=FAX,WORK:+1-919-676-9564
   EMAIL;TYPE=INTERNET,PREF:Frank_Dawson@Lotus.com
   EMAIL;TYPE=INTERNET:fdawson@earthlink.net
   URL:http://home.earthlink.net/~fdawson
   END:vCard
        
   BEGIN:vCard
   VERSION:3.0
   FN:Frank Dawson
   ORG:Lotus Development Corporation
   ADR;TYPE=WORK,POSTAL,PARCEL:;;6544 Battleford Drive
    ;Raleigh;NC;27613-3502;U.S.A.
   TEL;TYPE=VOICE,MSG,WORK:+1-919-676-9515
   TEL;TYPE=FAX,WORK:+1-919-676-9564
   EMAIL;TYPE=INTERNET,PREF:Frank_Dawson@Lotus.com
   EMAIL;TYPE=INTERNET:fdawson@earthlink.net
   URL:http://home.earthlink.net/~fdawson
   END:vCard
        
   BEGIN:vCard
   VERSION:3.0
   FN:Tim Howes
   ORG:Netscape Communications Corp.
   ADR;TYPE=WORK:;;501 E. Middlefield Rd.;Mountain View;
    CA; 94043;U.S.A.
   TEL;TYPE=VOICE,MSG,WORK:+1-415-937-3419
   TEL;TYPE=FAX,WORK:+1-415-528-4164
   EMAIL;TYPE=INTERNET:howes@netscape.com
   END:vCard
        
   BEGIN:vCard
   VERSION:3.0
   FN:Tim Howes
   ORG:Netscape Communications Corp.
   ADR;TYPE=WORK:;;501 E. Middlefield Rd.;Mountain View;
    CA; 94043;U.S.A.
   TEL;TYPE=VOICE,MSG,WORK:+1-415-937-3419
   TEL;TYPE=FAX,WORK:+1-415-528-4164
   EMAIL;TYPE=INTERNET:howes@netscape.com
   END:vCard
        
8. Security Considerations
8. 安全考虑

vCards can carry cryptographic keys or certificates, as described in Section 3.7.2.

vCard可以携带加密密钥或证书,如第3.7.2节所述。

Section 3.7.1 specifies a desired security classification policy for a particular vCard. That policy is not enforced in any way.

第3.7.1节规定了特定vCard所需的安全分类策略。这项政策没有以任何方式得到执行。

The vCard objects have no inherent authentication or privacy, but can easily be carried by any security mechanism that transfers MIME objects with authentication or privacy. In cases where threats of "spoofed" vCard information is a concern, the vCard SHOULD BE

vCard对象没有固有的身份验证或隐私,但可以通过传输具有身份验证或隐私的MIME对象的任何安全机制轻松携带。如果担心受到“伪造”vCard信息的威胁,则应更换vCard

transported using one of these secure mechanisms.

使用这些安全机制之一进行传输。

The information in a vCard may become out of date. In cases where the vitality of data is important to an originator of a vCard, the "URL" type described in section 3.6.8 SHOULD BE specified. In addition, the "REV" type described in section 3.6.4 can be specified to indicate the last time that the vCard data was updated.

vCard中的信息可能会过时。如果数据的生命力对vCard的发起人很重要,则应指定第3.6.8节中描述的“URL”类型。此外,可以指定第3.6.4节中所述的“版本”类型,以指示vCard数据上次更新的时间。

9. References
9. 工具书类

[ISO 8601] ISO 8601:1988 - Data elements and interchange formats - Information interchange - Representation of dates and times - The International Organization for Standardization, June, 1988.

[ISO 8601]ISO 8601:1988-数据元素和交换格式-信息交换-日期和时间的表示-国际标准化组织,1988年6月。

[ISO 8601 TC] ISO 8601, Technical Corrigendum 1 - Data elements and interchange formats - Information interchange - Representation of dates and times - The International Organization for Standardization, May, 1991.

[ISO 8601 TC]ISO 8601,技术勘误1-数据元素和交换格式-信息交换-日期和时间的表示-国际标准化组织,1991年5月。

[ISO 9070] ISO 9070, Information Processing - SGML support facilities - Registration Procedures for Public Text Owner Identifiers, April, 1991.

[ISO 9070]ISO 9070,信息处理-SGML支持设施-公共文本所有者标识符的注册程序,1991年4月。

[CCITT E.163] Recommendation E.163 - Numbering Plan for The International Telephone Service, CCITT Blue Book, Fascicle II.2, pp. 128-134, November, 1988.

[CCITT E.163]建议E.163——国际电话服务的编号计划,CCITT蓝皮书,第二卷2,第128-134页,1988年11月。

[CCITT X.121] Recommendation X.121 - International Numbering Plan for Public Data Networks, CCITT Blue Book, Fascicle VIII.3, pp. 317-332, November, 1988.

[CCITT X.121]建议X.121——公共数据网络国际编号计划,CCITT蓝皮书,第八卷第3节,第317-332页,1988年11月。

[CCITT X.520] Recommendation X.520 - The Directory - Selected Attribute Types, November 1988.

[CCITT X.520]建议X.520——目录——选定的属性类型,1988年11月。

[CCITT X.521] Recommendation X.521 - The Directory - Selected Object Classes, November 1988.

[CCITT X.521]建议X.521——目录——选定对象类,1988年11月。

[MIME-DIR] Howes, T., Smith, M., and F. Dawson, "A MIME Content-Type for Directory Information", RFC 2425, September 1998.

[MIME-DIR]Howes,T.,Smith,M.,和F.Dawson,“目录信息的MIME内容类型”,RFC 24251998年9月。

[RFC 1738] Berners-Lee, T., Masinter, L., and M. McCahill, "Uniform Resource Locators (URL)", RFC 1738, December 1994.

[RFC 1738]Berners Lee,T.,Masinter,L.,和M.McCahill,“统一资源定位器(URL)”,RFC 17381994年12月。

[RFC 1766] Alvestrand, H., "Tags for the Identification of Languages", RFC 1766, March 1995.

[RFC 1766]Alvestrand,H.,“语言识别标签”,RFC 1766,1995年3月。

[RFC 1872] Levinson, E., "The MIME Multipart/Related Content-type", RFC 1872, December 1995.

[RFC 1872]Levinson,E.“MIME多部分/相关内容类型”,RFC 1872,1995年12月。

[RFC 2045] Freed, N., and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) - Part One: Format of Internet Message Bodies", RFC 2045, November 1996.

[RFC 2045]Freed,N.和N.Borenstein,“多用途Internet邮件扩展(MIME)-第一部分:Internet邮件正文格式”,RFC 20451996年11月。

[RFC 2046] Freed, N., and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) - Part Two: Media Types", RFC 2046, November 1996.

[RFC 2046]Freed,N.和N.Borenstein,“多用途互联网邮件扩展(MIME)-第二部分:媒体类型”,RFC 2046,1996年11月。

[RFC 2047] Moore, K., "Multipurpose Internet Mail Extensions (MIME) - Part Three: Message Header Extensions for Non-ASCII Text", RFC 2047, November 1996.

[RFC 2047]Moore,K.,“多用途互联网邮件扩展(MIME)-第三部分:非ASCII文本的消息头扩展”,RFC 2047,1996年11月。

[RFC 2048] Freed, N., Klensin, J., and J. Postel, "Multipurpose Internet Mail Extensions (MIME) - Part Four: Registration Procedures", RFC 2048, January 1997.

[RFC 2048]Freed,N.,Klensin,J.,和J.Postel,“多用途互联网邮件扩展(MIME)-第四部分:注册程序”,RFC 2048,1997年1月。

[RFC 2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC 2119]Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[RFC 2234] Crocker, D., and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", RFC 2234, November 1997.

[RFC 2234]Crocker,D.和P.Overell,“语法规范的扩充BNF:ABNF”,RFC 2234,1997年11月。

[UNICODE] "The Unicode Standard - Version 2.0", The Unicode Consortium, July 1996.

[UNICODE]“UNICODE标准-2.0版”,UNICODE联盟,1996年7月。

[VCARD] Internet Mail Consortium, "vCard - The Electronic Business Card Version 2.1", http://www.imc.org/pdi/vcard-21.txt, September 18, 1996.

[VCARD]互联网邮件联盟,“VCARD-电子名片2.1版”,http://www.imc.org/pdi/vcard-21.txt,1996年9月18日。

10. Full Copyright Statement
10. 完整版权声明

Copyright (C) The Internet Society (1998). All Rights Reserved.

版权所有(C)互联网协会(1998年)。版权所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

本文件及其译本可复制并提供给他人,对其进行评论或解释或协助其实施的衍生作品可全部或部分编制、复制、出版和分发,不受任何限制,前提是上述版权声明和本段包含在所有此类副本和衍生作品中。但是,不得以任何方式修改本文件本身,例如删除版权通知或对互联网协会或其他互联网组织的引用,除非出于制定互联网标准的需要,在这种情况下,必须遵循互联网标准过程中定义的版权程序,或根据需要将其翻译成英语以外的其他语言。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上述授予的有限许可是永久性的,互联网协会或其继承人或受让人不会撤销。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

本文件和其中包含的信息是按“原样”提供的,互联网协会和互联网工程任务组否认所有明示或暗示的保证,包括但不限于任何保证,即使用本文中的信息不会侵犯任何权利,或对适销性或特定用途适用性的任何默示保证。