Network Working Group                                            S. Legg
Request for Comments: 3642                           Adacel Technologies
Category: Informational                                     October 2003
        

Common Elements of Generic String Encoding Rules (GSER) Encodings

一般的な文字列の符号化規則(GSER)エンコーディングの共通要素

Status of this Memo

このメモの位置付け

This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.

このメモはインターネットコミュニティのための情報を提供します。それはどんな種類のインターネット標準を指定しません。このメモの配布は無制限です。

Copyright Notice

著作権表示

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

著作権(C)インターネット協会(2003)。全著作権所有。

Abstract

抽象

The Generic String Encoding Rules (GSER) describe a human readable text encoding for an Abstract Syntax Notation One (ASN.1) value of any ASN.1 type. Specifications making use of GSER may wish to provide an equivalent Augmented Backus-Naur Form (ABNF) description of the GSER encoding for a particular ASN.1 type as a convenience for implementors. This document supports such specifications by providing equivalent ABNF for the GSER encodings for ASN.1 types that commonly occur in Lightweight Directory Access Protocol (LDAP) syntaxes.

一般的な文字列符号化規則(GSER)任意のASN.1タイプの抽象構文記法1(ASN.1)値に対する人間可読テキストエンコーディングを記述する。 GSERを利用する仕様は、実装者の利便性として特定のASN.1タイプのGSERエンコードの等価た拡張バッカス - ナウアフォーム(ABNF)記述を提供することを望むかもしれません。この文書では、一般的にLDAP(Lightweight Directory Access Protocol)の構文で発生するASN.1タイプのためのGSERエンコーディングのための同等のABNFを提供することにより、このような仕様をサポートしています。

Table of Contents

目次

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  2
   2.  Conventions. . . . . . . . . . . . . . . . . . . . . . . . . .  2
   3.  Separators . . . . . . . . . . . . . . . . . . . . . . . . . .  2
   4.  ASN.1 Built-in Types . . . . . . . . . . . . . . . . . . . . .  2
   5.  ASN.1 Restricted String Types. . . . . . . . . . . . . . . . .  7
   6.  Directory ASN.1 Types. . . . . . . . . . . . . . . . . . . . .  9
   7.  Security Considerations. . . . . . . . . . . . . . . . . . . . 10
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
       8.1.  Normative References . . . . . . . . . . . . . . . . . . 10
       8.2.  Informative References . . . . . . . . . . . . . . . . . 11
   9.  Intellectual Property Notice . . . . . . . . . . . . . . . . . 12
   10. Author's Address . . . . . . . . . . . . . . . . . . . . . . . 12
   11. Full Copyright Statement . . . . . . . . . . . . . . . . . . . 13
        
1. Introduction
1. はじめに

The Generic String Encoding Rules (GSER) [7] define a human readable text encoding, based on ASN.1 [8] value notation, for an ASN.1 value of any ASN.1 type. Specifications making use of GSER may wish to provide a non-normative equivalent ABNF [3] description of the GSER encoding for a particular ASN.1 type as a convenience for implementors unfamiliar with ASN.1. This document supports such specifications by providing equivalent ABNF for the GSER encodings for ASN.1 types that commonly occur in LDAP [10] or X.500 [11] attribute and assertion syntaxes, as well as equivalent ABNF for the GSER encodings for the ASN.1 built-in types.

一般的な文字列符号化規則(GSER)[7]のいずれかのASN.1タイプのASN.1値のASN.1 [8]の値表記に基づいて、人間が読み取り可能なテキストエンコーディングを定義します。 GSERを利用する仕様はASN.1に不慣れな実装の利便性のような特定のASN.1タイプのGSERコード化の非規範的等価ABNF [3]説明を提供することを望むかもしれません。この文書は、一般的にLDAP [10]またはX.500で発生ASN.1タイプのGSERエンコーディングの等価ABNFを提供することによって、そのような仕様をサポートするためのASN GSERエンコーディングのための[11]属性アサーション構文、並びに同等のABNF 0.1ビルトインタイプ。

The ABNF given in this document does not replace or alter GSER in any way. If there is a discrepancy between the ABNF specified here and the encoding defined by GSER [7], then GSER is to be taken as definitive.

この文書で与えられたABNFは、どのような方法でGSERを交換したり、変更されません。ここで指定されたABNFとGSER [7]で定義された符号化の間に不一致がある場合、GSERは決定的として解釈されるべきです。

2. Conventions
2.表記

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", and "MAY" in this document are to be interpreted as described in BCP 14, RFC 2119 [1]. The key word "OPTIONAL" is exclusively used with its ASN.1 meaning.

キーワード "MUST"、 "MUST NOT"、 "REQUIRED"、 "SHALL"、 "SHOULD"、 "ないもの"、 "推奨" "ない(SHOULD NOT)"、および本文書にように解釈されるべきであり、 "MAY" BCP 14、RFC 2119に記載された[1]。キーワード「OPTIONAL」は、もっぱらそのASN.1の意味で使用されています。

3. Separators
3.セパレータ

Certain separators are commonly used in constructing equivalent ABNF for SET and SEQUENCE types.

特定のセパレータは、一般的に、SETとSEQUENCEタイプに対して同等のABNFの構築に使用されています。

sp = *%x20 ; zero, one or more space characters msp = 1*%x20 ; one or more space characters

SP = *%のX20;ゼロ、一つ以上の空白文字MSP = 1 *%のX20;一つ以上の空白文字

sep = [ "," ]

9月= [ ""]

The <sep> rule is used in the ABNF description of the encoding for ASN.1 SET or SEQUENCE types where all the components are either OPTIONAL or DEFAULT. It encodes to an empty string if and only if the immediately preceding character in the encoding is "{", i.e., it is only empty for the first optional component actually present in the SET or SEQUENCE value being encoded.

<9月>ルールは、すべてのコンポーネントがOPTIONALまたはDEFAULTのいずれかであるASN.1セットまたはシーケンスのタイプの符号化のABNF記述に使用されます。符号化における直前の文字である場合にのみ、「{」、すなわち、それは符号化されているSETまたはシーケンス値に実際に存在する最初のオプションのコンポーネントのための唯一の空の場合には、空の文字列に符号化します。

4. ASN.1 Built-in Types
4. ASN.1は、組み込み型

This section describes the GSER encoding of values of the ASN.1 built-in types, except for the restricted character string types.

このセクションでは、制限された文字列型を除き、ビルトインタイプのASN.1の値のGSERコード化について説明します。

The <BIT-STRING> rule describes the GSER encoding of values of the BIT STRING type without a named bit list.

<ビット列>ルールは、指定されたビットリストなしでビット列タイプの値のGSERコード化を記載しています。

BIT-STRING = bstring / hstring

BIT-STRING = bstring / hstring

If the number of bits in a BIT STRING value is a multiple of four the <hstring> form of <BIT-STRING> MAY be used. Otherwise, the <bstring> form of <BIT-STRING> is used. The <bstring> rule encodes each bit as the character "0" or "1" in order from the first bit to the last bit. The <hstring> rule encodes each group of four bits as a hexadecimal number where the first bit is the most significant. An odd number of hexadecimal digits is permitted.

ビット列の値のビットの数が4 <ビット列>の<hstring>フォームの倍数である場合に使用されるかもしれません。それ以外の場合は、<BIT-STRING>の<bstring>フォームが使用されています。 <bstring>ルールは、最後のビットの最初のビットから順に文字「0」または「1」として各ビットを符号化します。 <hstring>ルールは、最初のビットが最上位である16進数で4ビットの各グループを符号化します。 16進数の奇数が許可されます。

hstring = squote *hexadecimal-digit squote %x48 ; '...'H hexadecimal-digit = %x30-39 / ; "0" to "9" %x41-46 ; "A" to "F"

hstring = squote * 16進数字squoteの%のX48。 '...' H進数桁=%x30-39 /。 "0" 〜 "9" %x41-46。 "A" から "F"

bstring = squote *binary-digit squote %x42 ; '...'B binary-digit = "0" / "1"

bstring = squote *バイナリ桁squoteの%のX42。 '...' Bバイナリ桁= "0" / "1"

squote = %x27 ; ' (single quote)

squote =%X27。 '(シングルクオート)

The <BOOLEAN> rule describes the GSER encoding of values of the BOOLEAN type.

<BOOLEAN>ルールは、ブール型の値のGSERコード化を記載しています。

BOOLEAN = %x54.52.55.45 / ; "TRUE" %x46.41.4C.53.45 ; "FALSE"

BOOLEAN =%x54.52.55.45 /。 "TRUE" %のx46.41.4C.53.45。 "FALSE"

The <CHARACTER-STRING> rule describes the GSER encoding of values of the associated type for the unrestricted CHARACTER STRING type.

<文字列>ルールは、無制限の文字列型のための関連するタイプの値のGSERコード化を記載しています。

CHARACTER-STRING = "{" sp id-identification msp Identification "," sp id-data-value msp OCTET-STRING sp "}"

文字列= "{" SP ID識別MSP識別 "" SP IDデータ値MSP OCTET STRING-SPの "}"

id-identification = %x69.64.65.6E.74.69.66.69.63.61.74.69.6F.6E ; "identification" id-data-value = %x64.61.74.61.2D.76.61.6C.75.65 ; "data-value"

ID識別=%のx69.64.65.6E.74.69.66.69.63.61.74.69.6F.6E。 「識別」IDデータ値=%x64.61.74.61.2D.76.61.6C.75.65。 「データ値」

Identification = ( id-syntaxes ":" Syntaxes ) / ( id-syntax ":" OBJECT-IDENTIFIER ) / ( id-presentation-context-id ":" INTEGER ) / ( id-context-negotiation ":" ContextNegotiation ) / ( id-transfer-syntax ":" OBJECT-IDENTIFIER ) / ( id-fixed ":" NULL )

識別=(ID-構文 ":" 構文)/(ID-構文 ":" OBJECT-IDENTIFIER)/(ID-プレゼンテーションコンテキストID ":" INTEGER)/(ID-コンテキスト交渉 ":" ContextNegotiation)/ (ID-転送構文 ":" OBJECT識別子)/(ID-固定 ":" NULL)

id-syntaxes = %x73.79.6E.74.61.78.65.73 ; "syntaxes" id-syntax = %x73.79.6E.74.61.78 ; "syntax" id-presentation-context-id = %x70.72.65.73.65.6E.74.61.74.69.6F.6E %x2D.63.6F.6E.74.65.78.74.2D.69.64 ; "presentation-context-id" id-context-negotiation = %x63.6F.6E.74.65.78.74.2D.6E.65.67.6F %x74.69.61.74.69.6F.6E ; "context-negotiation" id-transfer-syntax = %x74.72.61.6E.73.66.65.72.2D.73.79.6E %x74.61.78 ; "transfer-syntax" id-fixed = %x66.69.78.65.64 ; "fixed"

ID-構文=%x73.79.6E.74.61.78.65.73。 「シンタックス」ID構文=%x73.79.6E.74.61.78。 "構文" ID-プレゼンテーションコンテキスト-ID =%x70.72.65.73.65.6E.74.61.74.69.6F.6E%x2D.63.6F.6E.74.65.78.74.2D.69.64。 "プレゼンテーションコンテキストID" ID-コンテキストネゴシエーション=%x63.6F.6E.74.65.78.74.2D.6E.65.67.6F%x74.69.61.74.69.6F.6E。 "コンテキスト・ネゴシエーション" ID-転送構文=%x74.72.61.6E.73.66.65.72.2D.73.79.6E%x74.61.78。 「転送構文」ID固定=%のx66.69.78.65.64。 "一定"

Syntaxes = "{" sp id-abstract msp OBJECT-IDENTIFIER "," sp id-transfer msp OBJECT-IDENTIFIER sp "}" id-abstract = %x61.62.73.74.72.61.63.74 ; "abstract" id-transfer = %x74.72.61.6E.73.66.65.72 ; "transfer"

構文= "{" のSP ID-抽象MSPのオブジェクト識別子 "" SP ID転写MSPオブジェクト識別子SP "}" ID-抽象=%のx61.62.73.74.72.61.63.74。 「抽象的」ID転写=%x74.72.61.6E.73.66.65.72。 "転送"

ContextNegotiation = "{" sp id-presentation-context-id msp INTEGER "," sp id-transfer-syntax msp OBJECT-IDENTIFIER sp "}"

ContextNegotiation = "{" SP ID-プレゼンテーションコンテキストIDのMSPのINTEGER "" SP ID、転送構文MSPオブジェクト識別子SP "}"

The <INTEGER> rule describes the GSER encoding of values of the INTEGER type without a named number list. The <INTEGER-0-MAX> rule describes the GSER encoding of values of the constrained type INTEGER (0..MAX). The <INTEGER-1-MAX> rule describes the GSER encoding of values of the constrained type INTEGER (1..MAX).

<INTEGER>ルールは、指定された番号リストなしINTEGER型の値のGSERコード化について説明します。 <整数0-MAX>ルールは、拘束型INTEGER(0..MAX)の値のGSERコード化を記載しています。 <INTEGER-1-MAX>ルールは、拘束型INTEGER(1..MAX)の値のGSERコード化を記載しています。

INTEGER = "0" / positive-number / ("-" positive-number) INTEGER-0-MAX = "0" / positive-number INTEGER-1-MAX = positive-number positive-number = non-zero-digit *decimal-digit decimal-digit = %x30-39 ; "0" to "9" non-zero-digit = %x31-39 ; "1" to "9"

INTEGER = "0" /正の数/( " - " 正の数)INTEGER-0-MAX = "0" /正の数INTEGER-1-MAX =正の数正の数=非ゼロ桁*小数桁の10進ディジット=%x30-39。 「0」〜「9」の非ゼロ桁=%x31-39。 "1" 〜 "9"

The <EMBEDDED-PDV> rule describes the GSER encoding of values of the associated type for the EMBEDDED PDV type.

<組み込みPDV>ルールは、埋め込まれたPDVのタイプに関連付けられたタイプの値のGSERコード化を記載しています。

EMBEDDED-PDV = "{" sp id-identification msp Identification "," sp id-data-value msp OCTET-STRING sp "}"

組み込みPDV = "{" SP ID識別MSP識別 "" SP IDデータ値MSP OCTET STRING-SPの "}"

The <EXTERNAL> rule describes the GSER encoding of values of the associated type for the EXTERNAL type.

<EXTERNAL>ルールは、外部のタイプに関連付けられたタイプの値のGSERコード化を記載しています。

EXTERNAL = "{" [ sp id-direct-reference msp OBJECT-IDENTIFIER "," ] [ sp id-indirect-reference msp INTEGER "," ] [ sp id-data-value-descriptor msp ObjectDescriptor "," ] sp id-encoding msp Encoding sp "}"

EXTERNAL = "{" [SP ID-直接参照MSPのオブジェクト識別子 ""] [SP IDを、間接参照のMSP INTEGER ""] [SP IDのデータ値記述子MSPのObjectDescriptor ""]のSP ID -encoding MSPエンコーディングSP "}"

id-direct-reference = %x64.69.72.65.63.74.2D.72.65.66.65.72 %x65.6E.63.65 ; "direct-reference" id-indirect-reference = %x69.6E.64.69.72.65.63.74.2D.72.65.66 %x65.72.65.6E.63.65 ; "indirect-reference" id-data-value-descriptor = %x64.61.74.61.2D.76.61.6C.75.65.2D.64 %x65.73.63.72.69.70.74.6F.72 ; "data-value-descriptor" id-encoding = %x65.6E.63.6F.64.69.6E.67 ; "encoding"

ID-直接参照=%x64.69.72.65.63.74.2D.72.65.66.65.72%x65.6E.63.65。 "直接参照" ID-間接参照=%x69.6E.64.69.72.65.63.74.2D.72.65.66%x65.72.65.6E.63.65。 「間接参照」IDデータ値ディスクリプタ=%x64.61.74.61.2D.76.61.6C.75.65.2D.64%x65.73.63.72.69.70.74.6F.72。 "データ値記述子" ID-エンコーディング=%x65.6E.63.6F.64.69.6E.67。 "エンコーディング"

Encoding = ( id-single-ASN1-type ":" Value ) / ( id-octet-aligned ":" OCTET-STRING ) / ( id-arbitrary ":" BIT-STRING )

エンコーディング=(ID単ASN1型 ":" 値)/(ID-オクテット整列 ":" OCTET-STRING)/(ID-任意 ":" ビット列)

id-single-ASN1-type = %x73.69.6E.67.6C.65.2D.41.53.4E.31.2D.74.79 %x70.65 ; "single-ASN1-type" id-octet-aligned = %x6F.63.74.65.74.2D.61.6C.69.67.6E.65.64 ; "octet-aligned"

ID単ASN1型=%x73.69.6E.67.6C.65.2D.41.53.4E.31.2D.74.79%x70.65。 "単ASN1型" ID-オクテット整列=%x6F.63.74.65.74.2D.61.6C.69.67.6E.65.64。 「オクテット整列」

id-arbitrary = %x61.72.62.69.74.72.61.72.79 ; "arbitrary"

ID-任意=%x61.72.62.69.74.72.61.72.79。 "任意"

The <Value> rule is defined by GSER [7]. It represents the GSER encoding of a single value of the ASN.1 type identified by the direct-reference and/or indirect-reference components.

<値>ルールはGSERによって定義される[7]。それは、直接参照及び/又は間接参照コンポーネントによって識別ASN.1タイプの単一の値のGSER符号化を表します。

The <NULL> rule describes the GSER encoding of values of the NULL type.

<NULL>ルールは、NULL型の値のGSERコード化を記載しています。

NULL = %x4E.55.4C.4C ; "NULL"

NULL =%x4E.55.4C.4C。 "ヌル"

The <OBJECT-IDENTIFIER> rule describes the GSER encoding of values of the OBJECT IDENTIFIER type.

<OBJECT識別子>ルールは、オブジェクト識別子タイプの値のGSERコード化を記載しています。

OBJECT-IDENTIFIER = numeric-oid / descr numeric-oid = oid-component 1*( "." oid-component ) oid-component = "0" / positive-number

OBJECT-IDENTIFIER =数値OID / DESCR数値OID = OID成分1 *( "" OID成分)OID成分= "0" /正の数

An OBJECT IDENTIFIER value is encoded using either the dotted decimal representation or an object descriptor name, i.e., <descr>. The <descr> rule is described in RFC 2252 [4]. An object descriptor name is potentially ambiguous and should be used with care.

オブジェクト識別子の値はすなわち、<DESCR>ドット付き10進表記又はオブジェクト記述子名のいずれかを使用して符号化されます。 <DESCR>ルールは、RFC 2252に記載されている[4]。オブジェクト記述子の名前は、潜在的にあいまいで、注意して使用する必要があります。

The <OCTET-STRING> rule describes the GSER encoding of values of the OCTET STRING type.

<OCTET STRING->ルールは、OCTET STRINGのタイプの値のGSERコード化を記載しています。

OCTET-STRING = hstring

OCTET-STRING = hstring

The octets are encoded in order from the first octet to the last octet. Each octet is encoded as a pair of hexadecimal digits where the first digit corresponds to the four most significant bits of the octet. If the hexadecimal string does not have an even number of digits, the four least significant bits in the last octet are assumed to be zero.

オクテットは最後のオクテットの最初のオクテットから順に符号化されています。各オクテットは、最初の数字はオクテットの4つの最上位ビットに対応する16進数の対として符号化されます。 16進数の文字列が数字の偶数を持っていない場合は、最後のオクテット内の4つの最下位ビットがゼロであると仮定されます。

The <REAL> rule describes the GSER encoding of values of the REAL type.

<REAL>ルールは、REALタイプの値のGSERコード化を記載しています。

REAL = "0" ; zero / PLUS-INFINITY ; positive infinity / MINUS-INFINITY ; negative infinity / realnumber ; positive base 10 REAL value / ( "-" realnumber ) ; negative base 10 REAL value / real-sequence-value ; non-zero base 2 or 10 REAL value

REAL = "0";ゼロ/ PLUS-INFINITY。正の無限大/ MINUS-INFINITY;負の無限大/実数。正ベース10 REAL値/( " - " 実数)。負基部10 REAL値/実配列値。非ゼロベース2又は10の実数値

PLUS-INFINITY = %x50.4C.55.53.2D.49.4E.46.49.4E.49.54.59 ; "PLUS-INFINITY"

PLUS-INFINITY =%x50.4C.55.53.2D.49.4E.46.49.4E.49.54.59。 "PLUS-INFINITY"

MINUS-INFINITY = %x4D.49.4E.55.53.2D.49.4E.46.49.4E.49.54.59 ; "MINUS-INFINITY"

マイナスINFINITY =%hchd.chya.ChE.55.53.2D.chya.ChE.chsh.chya.ChE.chya.54.59。 「マイナスインフィニティ」

realnumber = mantissa exponent mantissa = (positive-number [ "." *decimal-digit ]) / ( "0." *("0") positive-number ) exponent = "E" ( "0" / ([ "-" ] positive-number))

実数=仮数指数仮数=(正の数[*小数桁の ""])/( "0" *( "0")正の数)指数= "E"( "0" /([「 - "]正の数))

real-sequence-value = "{" sp id-mantissa msp INTEGER "," sp id-base msp ( "2" / "10" ) "," sp id-exponent msp INTEGER sp "}" id-mantissa = %x6D.61.6E.74.69.73.73.61 ; "mantissa" id-base = %x62.61.73.65 ; "base" id-exponent = %x65.78.70.6F.6E.65.6E.74 ; "exponent"

実配列値= "{" のSP ID-仮数MSPのINTEGER "" SP IDベースのMSP( "2" / "10") "" SP ID-指数MSP整数SP "}" ID-仮数=% x6D.61.6E.74.69.73.73.61; 「仮数」IDベース=%のx62.61.73.65。 "塩基" ID-指数=%x65.78.70.6F.6E.65.6E.74。 "指数"

A value of the REAL type MUST be encoded as "0" if it is zero.

それがゼロである場合REALタイプの値を「0」として符号化されなければなりません。

The <RELATIVE-OID> rule describes the GSER encoding of values of the RELATIVE-OID type.

<相対OID>ルールは相対OID型の値のGSERコード化を記載しています。

RELATIVE-OID = oid-component *( "." oid-component )

相対OID = OID-成分*( "" OID成分)

5. ASN.1 Restricted String Types
5. ASN.1制限文字列タイプ

This section describes the GSER encoding of values of the ASN.1 restricted character string types. The characters of a value of a restricted character string type are always encoded as a UTF-8 character string between double quotes. For some of the ASN.1 string types, this requires a translation to or from the UTF-8 encoding. Some of the ASN.1 string types permit only a subset of the characters representable in UTF-8. Any double quote characters in the character string, where allowed by the character set, are escaped by being repeated.

このセクションでは、ASN.1制限文字列型の値のGSERコード化について説明します。制限された文字列型の値の文字は、必ず二重引用符の間でUTF-8文字列としてエンコードされています。 ASN.1文字列タイプのいくつかのために、これは、UTF-8エンコーディングへまたはからの翻訳が必要です。 ASN.1文字列タイプのいくつかは、UTF-8で表現文字のサブセットのみを許可します。文字セットによって許可された文字列内の任意の二重引用符文字は、繰り返されることによってエスケープされます。

The <UTF8String> rule describes the GSER encoding of values of the UTF8String type. The characters of this string type do not require any translation before being encoded.

<UTF8Stringを>ルールはUTF8Stringを型の値のGSERコード化を記載しています。この文字列型の文字がエンコードされる前に、任意の翻訳を必要としません。

UTF8String = StringValue StringValue = dquote *SafeUTF8Character dquote

UTF8Stringを= STRINGVALUE STRINGVALUE = DQUOTE * SafeUTF8Character DQUOTE

dquote = %x22 ; " (double quote)

DQUOTE =%X22。 "(二重引用符)

SafeUTF8Character = %x00-21 / %x23-7F / ; ASCII minus dquote dquote dquote / ; escaped double quote %xC0-DF %x80-BF / ; 2 byte UTF-8 character %xE0-EF 2(%x80-BF) / ; 3 byte UTF-8 character %xF0-F7 3(%x80-BF) ; 4 byte UTF-8 character

SafeUTF8Character =%x00-21 /%x23-7F /。 ASCIIマイナスDQUOTE DQUOTE DQUOTE /。エスケープされた二重引用符%XC0-DFの%のX80-BF /; 2バイトのUTF-8文字%xE0-EF 2(%のX80-BF)/。 3バイトのUTF-8文字%XF0-F7 3(%のX80-BF)。 4バイトUTF-8文字

The <NumericString>, <PrintableString>, <VisibleString>, <ISO646String>, <IA5String>, <GeneralizedTime> and <UTCTime> rules describe the GSER encoding of values of the correspondingly named ASN.1 types. The characters of these string types are compatible with UTF-8 and do not require any translation before being encoded. The GeneralizedTime and UTCTime types use the VisibleString character set, but have a strictly defined format.

<NumericString>、<はPrintableString>、<VisibleString>、<ISO646String>、<IA5String>、<GeneralizedTimeの>と<UTC時刻>ルールは、対応名前ASN.1タイプの値のGSERコード化を記載しています。これらの文字列型の文字がUTF-8と互換性があり、エンコードされる前に、任意の変換を必要としません。 GeneralizedTimeのとUTC時刻のタイプはVisibleString文字セットを使用しますが、厳密に定義された形式を持っています。

NumericString = dquote *(decimal-digit / space) dquote space = %x20

NumericString = DQUOTE *(小数点以下桁/スペース)DQUOTEスペース=%X20

PrintableString = dquote *PrintableCharacter dquote PrintableCharacter = decimal-digit / space / %x41-5A ; A to Z / %x61-7A ; a to z / %x27-29 ; ' ( ) / %x2B-2F ; + , - . / / %x3A ; : / %x3D ; = / %x3F ; ?

PrintableStringタイプ= DQUOTE * PrintableCharacter DQUOTE PrintableCharacter =小数点以下桁/スペース/%のx41-5A。 Z /%のx61-7Aに、 Zへ/%x27-29。 '()/%X2B-2F。 +、 - 。 / /%X3A。 :/%X3D。 = /%からx3F。 ?

ISO646String = VisibleString VisibleString = dquote *SafeVisibleCharacter dquote SafeVisibleCharacter = %x20-21 / %x23-7E ; printable ASCII minus dquote / dquote dquote ; escaped double quote

ISO646String = VisibleString VisibleString = DQUOTE * SafeVisibleCharacter DQUOTE SafeVisibleCharacter =%x20-21 /%x23-7E。印刷可能なASCIIマイナスDQUOTE / DQUOTE DQUOTE。二重引用符をエスケープ

IA5String = dquote *SafeIA5Character dquote SafeIA5Character = %x00-21 / %x23-7F ; ASCII minus dquote / dquote dquote ; escaped double quote

IA5String = DQUOTE * SafeIA5Character DQUOTE SafeIA5Character =%x00-21 /%x23-7F。 ASCIIマイナスDQUOTE / DQUOTE DQUOTE。二重引用符をエスケープ

century = 2(%x30-39) ; "00" to "99" year = 2(%x30-39) ; "00" to "99" month = ( %x30 %x31-39 ) ; "01" (January) to "09" / ( %x31 %x30-32 ) ; "10" to "12" day = ( %x30 %x31-39 ) ; "01" to "09" / ( %x31-32 %x30-39 ) ; "10" to "29" / ( %x32 %x30-31 ) ; "30" to "31" hour = ( %x30-31 %x30-39 ) / ( %x32 %x30-33 ) ; "00" to "23" minute = %x30-35 %x30-39 ; "00" to "59" second = ( %x30-35 %x30-39 ) ; "00" to "59" / ( %x36 %x30 ) ; "60" (a leap second)

世紀= 2(%x30-39)。 "00" 〜 "99" 年= 2(%のx30-39)。 "99" 月=(%X30%x31-39)に "00"。 "01"(1月)に "09" /(%X31%x30-32)。 "12" 日=(%X30%x31-39)に "10"。 "09" から "01" /(%x31-32%x30-39)。 "10" から "29" /(%X32%x30-31)。 "30" から "31" 時間=(%x30-31%x30-39)/(%X32%x30-33)。 "00" 〜 "23" 分=%x30-35%x30-39。 "59" から "00" 秒=(%x30-35%x30-39)。 "00" 〜 "59" /(%のX36の%のX30)。 「60」(うるう秒)

UTCTime = dquote year month day hour minute [ second ] [ %x5A / u-differential ] dquote u-differential = ( "-" / "+" ) hour minute

UTC時刻= DQUOTE年月日時分[秒] [%X5A / U-差動] DQUOTE U-差=( " - " / "+")時間の分

GeneralizedTime = dquote century year month day hour [ minute [ second ] ] [ fraction ] [ %x5A / g-differential ] dquote fraction = ( "." / "," ) 1*(%x30-39) g-differential = ( "-" / "+" ) hour [ minute ]

GeneralizedTimeの= DQUOTE世紀の年月日時[分[秒]] [分数] [%X5A / G-差動] DQUOTE割合=( "" / "")1 *(%x30-39)G-差=( " - " / "+")時間[分]

The <BMPString> and <UniversalString> rules describe the GSER encoding of values of the BMPString and UniversalString types respectively. BMPString (UCS-2) and UniversalString (UCS-4) values are translated into UTF-8 [6] character strings before being encoded according to <StringValue>.

<BMPString>と<UniversalString>ルールは、それぞれBMPStringとUniversalStringタイプの値のGSERコード化を記載しています。 BMPString(UCS-2)及びUniversalString(UCS-4)の値は、<STRINGVALUE>に従って符号化される前に、UTF-8 [6]の文字列に変換され。

BMPString = StringValue UniversalString = StringValue

BMPString = STRINGVALUE UniversalString = STRINGVALUE

The <TeletexString>, <T61String>, <VideotexString>, <GraphicString>, <GeneralString> and <ObjectDescriptor> rules describe the GSER encoding of values of the correspondingly named ASN.1 types. Values of these string types are translated into UTF-8 character strings before being encoded according to <StringValue>. The ObjectDescriptor type uses the GraphicString character set.

<TeletexString>、<T61String>、<VideotexString>、<GraphicString>、<GeneralString>と<のObjectDescriptor>ルールは、対応名前ASN.1タイプの値のGSERコード化を記載しています。これらの文字列型の値は、<STRINGVALUE>に従って符号化される前に、UTF-8文字列に変換されます。 ObjectDescriptorタイプはGraphicString文字セットを使用しています。

TeletexString = StringValue T61String = StringValue VideotexString = StringValue GraphicString = StringValue GeneralString = StringValue ObjectDescriptor = GraphicString

TeletexString = STRINGVALUE T61String = STRINGVALUE VideotexString = STRINGVALUE GraphicString = STRINGVALUE GeneralString = STRINGVALUEのObjectDescriptor = GraphicString

6. Directory ASN.1 Types
6.ディレクトリASN.1タイプ

This section describes the GSER encoding of values of selected ASN.1 types defined for LDAP and X.500. The ABNF rule names beginning with uppercase letters describe the GSER encoding of values of the ASN.1 type with the same name.

このセクションでは、LDAPおよびX.500用に定義された選択されたASN.1タイプの値のGSERコード化を記載しています。大文字で始まるABNF規則の名前は、同じ名前のASN.1タイプの値のGSERコード化について説明します。

AttributeType = OBJECT-IDENTIFIER

AttributeTypeで= OBJECT-IDENTIFIER

The characters of a DirectoryString are translated into UTF-8 characters as required before being encoded between double quotes with any embedded double quotes escaped by being repeated.

繰り返されることでエスケープ埋め込まれ、二重引用符で二重引用符の間でエンコードされる前に、必要に応じて、DirectoryStringの文字はUTF-8文字に変換されます。

DirectoryString = StringValue / ( id-teletexString ":" TeletexString ) / ( id-printableString ":" PrintableString ) / ( id-bmpString ":" BMPString ) / ( id-universalString ":" UniversalString ) / ( id-uTF8String ":" UTF8String )

DirectoryString = STRINGVALUE /(ID-teletexString ":" TeletexString)/(ID-のprintablestring ":" はPrintableString)/(ID-bmpString ":" BMPString)/(ID-universalString ":" UniversalString)/(ID-UTF8STRING「: "UTF8Stringを)

id-teletexString = %x74.65.6C.65.74.65.78.53.74.72.69.6E.67 ; "teletexString" id-printableString = %x70.72.69.6E.74.61.62.6C.65 %x53.74.72.69.6E.67 ; "printableString" id-bmpString = %x62.6D.70.53.74.72.69.6E.67 ; "bmpString" id-universalString = %x75.6E.69.76.65.72.73.61.6C %x53.74.72.69.6E.67 ; "universalString" id-uTF8String = %x75.54.46.38.53.74.72.69.6E.67 ; "uTF8String"

ID-teletexString =%x74.65.6C.65.74.65.78.53.74.72.69.6E.67。 "TeletexString" ID-のprintablestring =%x70.72.69.6E.74.61.62.6C.65%x53.74.72.69.6E.67。 "はPrintableString" ID-bmpString =%x62.6D.70.53.74.72.69.6E.67。 "BmpString" ID-universalString =%x75.6E.69.76.65.72.73.61.6C%x53.74.72.69.6E.67。 "UniversalString" ID-UTF8STRING =%x75.54.46.38.53.74.72.69.6E.67。 "UTF8Stringを"

The <RDNSequence> rule describes the GSER encoding of values of the RDNSequence type, which is syntactically equivalent to the DistinguishedName and LocalName types. The <RDNSequence> rule encodes a name as an LDAPDN character string between double quotes. The character string is first derived according to the <distinguishedName> rule in Section 3 of RFC 2253 [5], and then it is encoded between double quotes with any embedded double quotes escaped by being repeated.

<RDNSequence>ルールは、識別名としたLocalName種類に構文的に等価であるRDNSequenceタイプの値のGSERコード化を記載しています。 <RDNSequence>ルールは、二重引用符の間LDAPDN文字列として名をエンコードします。文字列は、最初の[5] RFC 2253のセクション3における<distinguishedNameの>ルールに従って導出され、それが繰り返されることによってエスケープ任意埋め込み二重引用符で二重引用符の間に符号化されます。

DistinguishedName = RDNSequence LocalName = RDNSequence RDNSequence = dquote *SafeUTF8Character dquote

識別名= RDNSequenceたLocalName = RDNSequence RDNSequence = DQUOTE * SafeUTF8Character DQUOTE

The <RelativeDistinguishedName> rule describes the GSER encoding of values of the RelativeDistinguishedName type that are not part of an RDNSequence value. The <RelativeDistinguishedName> rule encodes an RDN as a double quoted string containing the RDN as it would appear in an LDAPDN character string. The character string is first derived according to the <name-component> rule in Section 3 of RFC 2253 [5], and then any embedded double quote characters are escaped by being repeated. This resulting string is output between double quotes.

<RelativeDistinguishedName>ルールはRDNSequence値の一部ではないRelativeDistinguishedNameタイプの値のGSERコード化を記載しています。 <RelativeDistinguishedName>ルールは、それがLDAPDN文字列に表示されるようRDNを含む二重引用符で囲まれた文字列としてRDNをエンコードします。文字列は、最初の[5] RFC 2253のセクション3で<名前成分>ルールに従って導出され、その後、任意の埋め込み二重引用符が繰り返されることによってエスケープされています。この結果の文字列は二重引用符の間に出力されます。

RelativeDistinguishedName = dquote *SafeUTF8Character dquote

RelativeDistinguishedName = DQUOTE * SafeUTF8Character DQUOTE

The <ORAddress> rule encodes an X.400 address as an IA5 character string between double quotes. The character string is first derived according to Section 4.1 of RFC 2156 [2], and then any embedded double quotes are escaped by being repeated. This resulting string is output between double quotes.

<ORAddress>ルールは、二重引用符の間IA5文字列としてX.400アドレスを符号化します。文字列は、最初の[2] RFC 2156のセクション4.1に従って導出され、その後、任意の埋め込み二重引用符が繰り返されることによってエスケープされます。この結果の文字列は二重引用符の間に出力されます。

ORAddress = dquote *SafeIA5Character dquote

ORAddress = DQUOTE * SafeIA5Character DQUOTE

7. Security Considerations
7.セキュリティの考慮事項

This document contains an alternative description of parts of the Generic String Encoding Rules, but does not replace or alter GSER in any way. For the full security implications of using GSER, see the Security Considerations section for GSER [7].

この文書では、一般的な文字列の符号化規則の部品の代替説明が含まれていますが、どのような方法でGSERを交換したり、変更されません。 GSERを使用しての完全なセキュリティへの影響については、[7] GSERのためのセキュリティの考慮事項のセクションを参照してください。

8. References
8.参照文献
8.1. Normative References
8.1. 引用規格

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

[1]ブラドナーのは、S.は、BCP 14、RFC 2119、1997年3月の "RFCsにおける使用のためのレベルを示すために"。

[2] Kille, S., "MIXER (Mime Internet X.400 Enhanced Relay): Mapping between X.400 and RFC 822/MIME", RFC 2156, January 1998.

[2] Kille、S.、 "MIXER(MIMEインターネットX.400拡張リレー):X.400およびRFC 822 / MIMEの間のマッピング"、RFC 2156、1998年1月。

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

[3]クロッカー、D.、およびP. Overell、 "構文仕様のための増大しているBNF:ABNF"、RFC 2234、1997年11月。

[4] Wahl, M., Coulbeck, A., Howes, T. and S. Kille, "Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions", RFC 2252, December 1997.

[4]ワール、M.、Coulbeck、A.、ハウズ、T.およびS. Kille、 "軽量のディレクトリアクセスプロトコル(V3):属性の構文定義"、RFC 2252、1997年12月。

[5] Wahl, M., Kille, S. and T. Howes, "Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names", RFC 2253, December 1997.

[5]ワール、M.、Kille、S.とT.ハウズ、 "ライトウェイトディレクトリアクセスプロトコル(v3の):識別名のUTF-8文字列表現"、RFC 2253、1997年12月。

[6] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC 2279, January 1998.

[6] Yergeau、F.、 "UTF-8、ISO 10646の変換フォーマット"、RFC 2279、1998年1月。

[7] Legg, S., "Generic String Encoding Rules (GSER) for ASN.1 Types", RFC 3641, October 2003.

[7]レッグ、S.​​、 "ASN.1タイプのための一般的な文字列の符号化規則(GSER)"、RFC 3641、2003年10月。

[8] ITU-T Recommendation X.680 (07/02) | ISO/IEC 8824-1:2002 Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation

[8] ITU-T勧告X.680(7月2日)| ISO / IEC 8824から1:2002情報技術 - 抽象構文記法1(ASN.1):基本的な表記法の仕様

8.2. Informative References
8.2. 参考文献

[9] Hovey, R. and S. Bradner, "The Organizations Involved in the IETF Standards Process", BCP 11, RFC 2028, October 1996.

[9] Hovey、R.およびS.ブラドナー、BCP 11、RFC 2028、1996年10月 "IETF標準化プロセスに関与する組織"。

[10] Hodges, J. and R. Morgan, "Lightweight Directory Access Protocol (v3): Technical Specification", RFC 3377, September 2002.

[10]ホッジス、J.とR.モルガン、 "ライトウェイトディレクトリアクセスプロトコル(v3の):技術仕様"、RFC 3377、2002年9月。

[11] ITU-T Recommendation X.500 (1993) | ISO/IEC 9594-1:1994, Information Technology - Open Systems Interconnection - The Directory: Overview of concepts, models and services

[11] ITU-T勧告X.500(1993)| ISO / IEC 9594から1:1994、情報技術 - 開放型システム間相互接続 - ディレクトリ:概念、モデルとサービスの概要

9. Intellectual Property Notice
9.知的財産権に関するお知らせ

The IETF takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights in standards-track and standards-related documentation can be found in BCP-11. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification can be obtained from the IETF Secretariat.

IETFは、そのような権限下で、ライセンスがたりないかもしれない可能性があるためにどの本書または程度に記載されている技術の実装や使用に関係すると主張される可能性があります任意の知的財産やその他の権利の有効性または範囲に関していかなる位置を取りません利用可能。また、そうした権利を特定するために取り組んできたことを表していないん。スタンダードトラックおよび標準関連文書における権利に関するIETFの手続きの情報は、BCP-11に記載されています。権利の主張のコピーは、出版のために利用可能とライセンスの保証が利用できるようにする、または本仕様の実装者または利用者が、そのような所有権の使用のための一般的なライセンスまたは許可を取得するために作られた試みの結果を得ることができますIETF事務局から。

The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to practice this standard. Please address the information to the IETF Executive Director.

IETFは、その注意にこの標準を実践するために必要な場合があり技術をカバーすることができる任意の著作権、特許または特許出願、またはその他の所有権を持ってすべての利害関係者を招待します。 IETF専務に情​​報を扱ってください。

10. Author's Address
10.著者のアドレス

Steven Legg Adacel Technologies Ltd. 250 Bay Street Brighton, Victoria 3186 AUSTRALIA

スティーブン・レッグ・Adacelテクノロジーズ株式会社250ベイストリートブライトン、ビクトリア3186オーストラリア

Phone: +61 3 8530 7710 Fax: +61 3 8530 7888 EMail: steven.legg@adacel.com.au

電話:+61 3 8530 7710ファックス:+61 3 8530 7888 Eメール:steven.legg@adacel.com.au

11. Full Copyright Statement
11.完全な著作権声明

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

著作権(C)インターネット協会(2003)。全著作権所有。

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 assignees.

上記の制限は永続的なものであり、インターネットソサエティもしくはその継承者や譲渡者によって取り消されることはありません。

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.

この文書とここに含まれている情報は、基礎とインターネットソサエティおよびインターネットエンジニアリングタスクフォースはすべての保証を否認し、明示または黙示、その情報の利用がない任意の保証を含むがこれらに限定されない「として、」上に設けられています特定の目的への権利または商品性または適合性の黙示の保証を侵害します。

Acknowledgement

謝辞

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。