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

📄 rfc2252.txt

📁 <VC++网络游戏建摸与实现>源代码
💻 TXT
📖 第 1 页 / 共 4 页
字号:
RFC 2252                   LADPv3 Attributes               December 1997   Example:        '0101111101'B6.4. Boolean   ( 1.3.6.1.4.1.1466.115.121.1.7 DESC 'Boolean' )   Values in this syntax 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.6.5. Certificate   ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )   Because of the changes from X.509(1988) and X.509(1993) and   additional changes to the ASN.1 definition to support certificate   extensions, no string representation is defined, and values in this   syntax MUST only be transferred using the binary encoding, by   requesting or returning the attributes with descriptions   "userCertificate;binary" or "caCertificate;binary".  The BNF notation   in RFC 1778 for "User Certificate" is not recommended to be used.6.6. Certificate List   ( 1.3.6.1.4.1.1466.115.121.1.9 DESC 'Certificate List' )   Because of the incompatibility of the X.509(1988) and X.509(1993)   definitions of revocation lists, values in this syntax MUST only be   transferred using a binary encoding, by requesting or returning the   attributes with descriptions "certificateRevocationList;binary" or   "authorityRevocationList;binary".  The BNF notation in RFC 1778 for   "Authority Revocation List" is not recommended to be used.6.7. Certificate Pair   ( 1.3.6.1.4.1.1466.115.121.1.10 DESC 'Certificate Pair' )   Because the Certificate is being carried in binary, values in this   syntax MUST only be transferred using a binary encoding, by   requesting or returning the attribute description   "crossCertificatePair;binary". The BNF notation in RFC 1778 for   "Certificate Pair" is not recommended to be used.Wahl, et. al.               Standards Track                    [Page 17]RFC 2252                   LADPv3 Attributes               December 19976.8. Country String   ( 1.3.6.1.4.1.1466.115.121.1.11 DESC 'Country String' )   A value in this syntax is encoded the same as a value of Directory   String syntax.  Note that this syntax is limited to values of exactly   two printable string characters, as listed in ISO 3166 [14].      CountryString  = p p   Example:      US6.9. DN   ( 1.3.6.1.4.1.1466.115.121.1.12 DESC 'DN' )   Values in the Distinguished Name syntax are encoded to have the   representation defined in [5].  Note that this representation is not   reversible to an ASN.1 encoding used in X.500 for Distinguished   Names, as the CHOICE of any DirectoryString element in an RDN is no   longer known.   Examples (from [5]):      CN=Steve Kille,O=Isode Limited,C=GB      OU=Sales+CN=J. Smith,O=Widget Inc.,C=US      CN=L. Eagle,O=Sue\, Grabbit and Runn,C=GB      CN=Before\0DAfter,O=Test,C=GB      1.3.6.1.4.1.1466.0=#04024869,O=Test,C=GB      SN=Lu\C4\8Di\C4\876.10. Directory String   ( 1.3.6.1.4.1.1466.115.121.1.15 DESC 'Directory String' )   A string in this syntax is encoded in the UTF-8 form of ISO 10646 (a   superset of Unicode).  Servers and clients MUST be prepared to   receive encodings of arbitrary Unicode characters, including   characters not presently assigned to any character set.   For characters in the PrintableString form, the value is encoded as   the string value itself.   If it is of the TeletexString form, then the characters are   transliterated to their equivalents in UniversalString, and encoded   in UTF-8 [9].Wahl, et. al.               Standards Track                    [Page 18]RFC 2252                   LADPv3 Attributes               December 1997   If it is of the UniversalString or BMPString forms [10], UTF-8 is   used to encode them.   Note: the form of DirectoryString is not indicated in protocol unless   the attribute value is carried in binary.  Servers which convert to   DAP MUST choose an appropriate form.  Servers MUST NOT reject values   merely because they contain legal Unicode characters outside of the   range of printable ASCII.   Example:      This is a string of DirectoryString containing #!%#@6.11. DIT Content Rule Description   ( 1.3.6.1.4.1.1466.115.121.1.16 DESC 'DIT Content Rule Description' )   Values in this syntax are encoded according to the following BNF.   Implementors should note that future versions of this document may   have expanded this BNF to include additional terms.      DITContentRuleDescription = "("          numericoid   ; Structural ObjectClass identifier          [ "NAME" qdescrs ]          [ "DESC" qdstring ]          [ "OBSOLETE" ]          [ "AUX" oids ]    ; Auxiliary ObjectClasses          [ "MUST" oids ]   ; AttributeType identifiers          [ "MAY" oids ]    ; AttributeType identifiers          [ "NOT" oids ]    ; AttributeType identifiers         ")"6.12. Facsimile Telephone Number   ( 1.3.6.1.4.1.1466.115.121.1.22 DESC 'Facsimile Telephone Number' )   Values in this syntax are encoded according to the following BNF:      fax-number    = printablestring [ "$" faxparameters ]      faxparameters = faxparm / ( faxparm "$" faxparameters )      faxparm = "twoDimensional" / "fineResolution" /                "unlimitedLength" /                "b4Length" / "a3Width" / "b4Width" / "uncompressed"Wahl, et. al.               Standards Track                    [Page 19]RFC 2252                   LADPv3 Attributes               December 1997   In the above, the first printablestring is the telephone number,   based on E.123 [15], and the faxparm tokens represent fax parameters.6.13. Fax   ( 1.3.6.1.4.1.1466.115.121.1.23 DESC 'Fax' )   Values in this syntax are encoded as if they were octet strings   containing Group 3 Fax images as defined in [7].6.14. Generalized Time   ( 1.3.6.1.4.1.1466.115.121.1.24 DESC 'Generalized Time' )   Values in this syntax are encoded as printable strings, represented   as specified in X.208.  Note that the time zone must be specified.   It is strongly recommended that GMT time be used.  For example,                199412161032Z6.15. IA5 String   ( 1.3.6.1.4.1.1466.115.121.1.26 DESC 'IA5 String' )   The encoding of a value in this syntax is the string value itself.6.16. INTEGER   ( 1.3.6.1.4.1.1466.115.121.1.27 DESC 'INTEGER' )   Values in this syntax are encoded as the decimal representation of   their values, with each decimal digit represented by the its   character equivalent. So the number 1321 is represented by the   character string "1321".6.17. JPEG   ( 1.3.6.1.4.1.1466.115.121.1.28 DESC 'JPEG' )   Values in this syntax are encoded as strings containing JPEG images   in the JPEG File Interchange Format (JFIF), as described in [8].6.18. Matching Rule Description   ( 1.3.6.1.4.1.1466.115.121.1.30 DESC 'Matching Rule Description' )   Values of type matchingRules are encoded as strings according to the   BNF given in section 4.5.Wahl, et. al.               Standards Track                    [Page 20]RFC 2252                   LADPv3 Attributes               December 19976.19. Matching Rule Use Description   ( 1.3.6.1.4.1.1466.115.121.1.31 DESC 'Matching Rule Use Description'   )   Values of type matchingRuleUse are encoded as strings according to   the BNF given in section 4.5.6.20. MHS OR Address   ( 1.3.6.1.4.1.1466.115.121.1.33 DESC 'MHS OR Address' )   Values in this syntax are encoded as strings, according to the format   defined in [11].6.21. Name And Optional UID   ( 1.3.6.1.4.1.1466.115.121.1.34 DESC 'Name And Optional UID' )   Values in this syntax are encoded according to the following BNF:      NameAndOptionalUID = DistinguishedName [ "#" bitstring ]   Although the '#' character may occur in a string representation of a   distinguished name, no additional special quoting is done.  This   syntax has been added subsequent to RFC 1778.   Example:      1.3.6.1.4.1.1466.0=#04024869,O=Test,C=GB#'0101'B6.22. Name Form Description   ( 1.3.6.1.4.1.1466.115.121.1.35 DESC 'Name Form Description' )   Values in this syntax are encoded according to the following BNF.   Implementors should note that future versions of this document may   have expanded this BNF to include additional terms.      NameFormDescription = "(" whsp          numericoid whsp  ; NameForm identifier          [ "NAME" qdescrs ]          [ "DESC" qdstring ]          [ "OBSOLETE" whsp ]          "OC" woid         ; Structural ObjectClass          "MUST" oids       ; AttributeTypes          [ "MAY" oids ]    ; AttributeTypes      whsp ")"Wahl, et. al.               Standards Track                    [Page 21]RFC 2252                   LADPv3 Attributes               December 19976.23. Numeric String   ( 1.3.6.1.4.1.1466.115.121.1.36 DESC 'Numeric String' )   The encoding of a string in this syntax is the string value itself.   Example:      19976.24. Object Class Description   ( 1.3.6.1.4.1.1466.115.121.1.37 DESC 'Object Class Description' )   Values in this syntax are encoded according to the BNF in section   4.4.6.25. OID   ( 1.3.6.1.4.1.1466.115.121.1.38 DESC 'OID' )   Values in the Object Identifier syntax are encoded according to   the BNF in section 4.1 for "oid".   Example:      1.2.3.4      cn6.26. Other Mailbox   ( 1.3.6.1.4.1.1466.115.121.1.39 DESC 'Other Mailbox' )   Values in this syntax are encoded according to the following BNF:      otherMailbox = mailbox-type "$" mailbox      mailbox-type = printablestring      mailbox = <an encoded IA5 String>   In the above, mailbox-type represents the type of mail system in   which the mailbox resides, for example "MCIMail"; and mailbox is the   actual mailbox in the mail system defined by mailbox-type.6.27. Postal Address   ( 1.3.6.1.4.1.1466.115.121.1.41 DESC 'Postal Address' )Wahl, et. al.               Standards Track                    [Page 22]RFC 2252                   LADPv3 Attributes               December 1997   Values in this syntax are encoded according to the following BNF:      postal-address = dstring *( "$" dstring )   In the above, each dstring component of a postal address value is   encoded as a value of type Directory String syntax.  Backslashes and   dollar characters, if they occur in the component, are quoted as   described in section 4.3.   Many servers limit the postal address to   six lines of up to thirty characters.   Example:      1234 Main St.$Anytown, CA 12345$USA      \241,000,000 Sweepstakes$PO Box 1000000$Anytown, CA 12345$USA6.28. Presentation Address   ( 1.3.6.1.4.1.1466.115.121.1.43 DESC 'Presentation Address' )   Values in this syntax are encoded with the representation described   in RFC 1278 [6].6.29. Printable String   ( 1.3.6.1.4.1.1466.115.121.1.44 DESC 'Printable String' )   The encoding of a value in this syntax is the string value itself.   PrintableString is limited to the characters in production p of   section 4.1.   Example:      This is a PrintableString6.30. Telephone Number   ( 1.3.6.1.4.1.1466.115.121.1.50 DESC 'Telephone Number' )   Values in this syntax are encoded as if they were Printable String   types.  Telephone numbers are recommended in X.520 to be in   international form, as described in E.123 [15].   Example:      +1 512 305 0280Wahl, et. al.               Standards Track                    [Page 23]RFC 2252                   LADPv3 Attributes               December 19976.31. UTC Time   ( 1.3.6.1.4.1.1466.115.121.1.53 DESC 'UTC Time' )   Values in this syntax are encoded as if they were printable strings   with the strings containing a UTCTime value.  This is historical; new   attribute definitions SHOULD use GeneralizedTime instead.6.32. LDAP Syntax Description   ( 1.3.6.1.4.1.1466.115.121.1.54 DESC 'LDAP Syntax Description' )   Values in this syntax are encoded according to the BNF in section   4.3.3.6.33. DIT Structure Rule Description   ( 1.3.6.1.4.1.1466.115.121.1.17 DESC 'DIT Structure Rule Description'   )   Values with this syntax are encoded according to the following BNF:      DITStructureRuleDescription = "(" whsp          ruleidentifier whsp            ; DITStructureRule identifier          [ "NAME" qdescrs ]          [ "DESC" qdstring ]          [ "OBSOLETE" whsp ]          "FORM" woid whsp               ; NameForm          [ "SUP" ruleidentifiers whsp ] ; superior DITStructureRules      ")"      ruleidentifier = integer      ruleidentifiers = ruleidentifier |          "(" whsp ruleidentifierlist whsp ")"      ruleidentifierlist = [ ruleidentifier *( ruleidentifier ) ]7. Object Classes   Servers SHOULD recognize all the names of standard classes from   section 7 of [12].7.1. Extensible Object Class   The extensibleObject object class, if present in an entry, permits   that entry to optionally hold any attribute.  The MAY attribute list   of this class is implicitly the set of all attributes.Wahl, et. al.               Standards Track                    [Page 24]

⌨️ 快捷键说明

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