⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc1488.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Network Working Group                                         T. HowesRequest for Comments: 1488                      University of Michigan                                                              S. Kille                                                      ISODE Consortium                                                              W. Yeong                                     Performance Systems International                                                            C. Robbins                                                            NeXor Ltd.                                                             July 1993     The X.500 String Representation of Standard Attribute SyntaxesStatus of this Memo   This RFC specifies an IAB standards track protocol for the Internet   community, and requests discussion and suggestions for improvements.   Please refer to the current edition of the "IAB Official Protocol   Standards" for the standardization state and status of this protocol.   Distribution of this memo is unlimited.Abstract   The Lightweight Directory Access Protocol (LDAP) [9] requires that   the contents of AttributeValue fields in protocol elements be octet   strings.  This document defines the requirements that must be   satisfied by encoding rules used to render Directory attribute   syntaxes into a form suitable for use in the LDAP, then goes on to   define the encoding rules for the standard set of attribute syntaxes   defined in [1,2] and [3].1.  Attribute Syntax Encoding Requirements   This section defines general requirements for lightweight directory   protocol attribute syntax encodings. All documents defining attribute   syntax encodings for use by the lightweight directory protocols are   expected to conform to these requirements.   The encoding rules defined for a given attribute syntax must produce   octet strings.  To the greatest extent possible, encoded octet   strings should be usable in their native encoded form for display   purposes. In particular, encoding rules for attribute syntaxes   defining non-binary values should produce strings that can be   displayed with little or no translation by clients implementing the   lightweight directory protocols.Howes, Kille, Yeong & Robbins                                   [Page 1]RFC 1488                 X.500 Syntax Encoding                 July 19932.  Standard Attribute Syntax Encodings   For the purposes of defining the encoding rules for the standard   attribute syntaxes, the following auxiliary BNF definitions will be   used:     <a> ::= 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' |             'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' |             's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | 'A' |             'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' |             'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' |             'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z'     <d> ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'     <hex-digit> ::= <d> | 'a' | 'b' | 'c' | 'd' | 'e' | 'f' |                      'A' | 'B' | 'C' | 'D' | 'E' | 'F'     <k> ::= <a> | <d> | '-'     <p> ::= <a> | <d> | ''' | '(' | ')' | '+' | ',' | '-' | '.' |             '/' | ':' | '?' | ' '     <CRLF> ::= The ASCII newline character with hexadecimal value 0x0A     <letterstring> ::= <a> | <a> <letterstring>     <numericstring> ::= <d> | <d> <numericstring>     <keystring> ::= <a> | <a> <anhstring>     <anhstring> ::= <k> | <k> <anhstring>     <printablestring> ::= <p> | <p> <printablestring>     <space> ::= ' ' | ' ' <space>2.1.  Undefined   Values of type Undefined are encoded as if they were values of type   Octet String.2.2.  Case Ignore String   A string of type caseIgnoreStringSyntax is encoded as the string   value itself.Howes, Kille, Yeong & Robbins                                   [Page 2]RFC 1488                 X.500 Syntax Encoding                 July 19932.3.  Case Exact String   The encoding of a string of type caseExactStringSyntax is the string   value itself.2.4.  Printable String   The encoding of a string of type printableStringSyntax is the string   value itself.2.5.  Numeric String   The encoding of a string of type numericStringSyntax is the string   value itself.2.6.  Octet String   The encoding of a string of type octetStringSyntax is the string   value itself.2.7.  Case Ignore IA5 String   The encoding of a string of type caseIgnoreIA5String is the string   value itself.2.8.  IA5 String   The encoding of a string of type iA5StringSyntax is the string value   itself.2.9.  T61 String   The encoding of a string of type t61StringSyntax is the string value   itself.2.10.  Case Ignore List   Values of type caseIgnoreListSyntax are encoded according to the   following BNF:     <caseignorelist> ::= <caseignorestring> |                          <caseignorestring> '$' <caseignorelist>     <caseignorestring> ::= a string encoded according to the rules                             for Case Ignore String as above.Howes, Kille, Yeong & Robbins                                   [Page 3]RFC 1488                 X.500 Syntax Encoding                 July 19932.11.  Case Exact List   Values of type caseExactListSyntax are encoded according to the   following BNF:     <caseexactlist> ::= <caseexactstring> |                          <caseexactstring> '$' <caseexactlist>     <caseexactstring> ::= a string encoded according to the rules for                            Case Exact String as above.2.12.  Distinguished Name   Values of type distinguishedNameSyntax are encoded to have the   representation defined in [5].2.13.  Boolean   Values of type booleanSyntax are encoded according to the following   BNF:     <boolean> ::= "TRUE" | "FALSE"   Boolean values have an encoding of "TRUE" if they are logically true,   and have an encoding of "FALSE" otherwise.2.14.  Integer   Values of type integerSyntax are encoded as the decimal   representation of their values, with each decimal digit represented   by the its character equivalent. So the digit 1 is represented by the   character2.15.  Object Identifier   Values of type objectIdentifierSyntax are encoded according to the   following BNF:     <oid> ::= <descr> | <descr> '.' <numericoid> | <numericoid>     <descr> ::= <keystring>     <numericoid> ::= <numericstring> | <numericstring> '.' <numericoid>   In the above BNF, <descr> is the syntactic representation of an   object descriptor. When encoding values of type   objectIdentifierSyntax, the first encoding option should be used in   preference to the second, which should be used in preference to theHowes, Kille, Yeong & Robbins                                   [Page 4]RFC 1488                 X.500 Syntax Encoding                 July 1993   third wherever possible. That is, in encoding object identifiers,   object descriptors (where assigned and known by the implementation)   should be used in preference to numeric oids to the greatest extent   possible. For example, in encoding the object identifier representing   an organizationName, the descriptor "organizationName" is preferable   to "ds.4.10", which is in turn preferable to the string "2.5.4.10".2.16.  Telephone Number   Values of type telephoneNumberSyntax are encoded as if they were   Printable String types.2.17.  Telex Number   Values of type telexNumberSyntax are encoded according to the   following BNF:     <telex-number> ::= <actual-number> '$' <country> '$' <answerback>     <actual-number> ::= <printablestring>     <country> ::= <printablestring>     <answerback> ::= <printablestring>   In the above, <actual-number> is the syntactic representation of the   number portion of the TELEX number being encoded, <country> is the   TELEX country code, and <answerback> is the answerback code of a   TELEX terminal.2.18.  Teletex Terminal Identifier   Values of type teletexTerminalIdentifier are encoded according to the   following BNF:     <teletex-id> ::= <printablestring> 0*( '$' <printablestring>)   In the above, the first <printablestring> is the encoding of the   first portion of the teletex terminal identifier to be encoded, and   the subsequent 0 or more <printablestrings> are subsequent portions   of the teletex terminal identifier.2.19.  Facsimile Telephone Number   Values of type FacsimileTelephoneNumber are encoded according to the   following BNF: <fax-number> ::= <printablestring> [ '$' <faxparameters> ]Howes, Kille, Yeong & Robbins                                   [Page 5]RFC 1488                 X.500 Syntax Encoding                 July 1993 <faxparameters> ::= <faxparm> | <faxparm> '$' <faxparameters> <faxparm> ::= 'twoDimensional' | 'fineResolution' | 'unlimitedLength' |               'b4Length' | 'a3Width' | 'b4Width' | 'uncompressed'   In the above, the first <printablestring> is the actual fax number,   and the <faxparm> tokens represent fax parameters.2.20.  Presentation Address   Values of type PresentationAddress are encoded to have the   representation described in [6].2.21.  UTC Time   Values of type uTCTimeSyntax are encoded as if they were Printable   Strings with the strings containing a UTCTime value.2.22.  Guide (search guide)   Values of type Guide, such as values of the searchGuide attribute,   are encoded according to the following BNF:     <guide-value> ::= [ <object-class> '#' ] <criteria>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -