2. 標準属性構文符号化
標準属性構文の符号化規則を定義する目的で、以下の補助 BNF 定義を使用する。
<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 型の値は、Octet String 型の値であるかのように符号化される。
2.2. 大文字・小文字を区別しない文字列
caseIgnoreStringSyntax 型の文字列は、その文字列値自体として符号化される。
2.3. 大文字・小文字を区別する文字列
caseExactStringSyntax 型の文字列の符号化は、その文字列値自体である。
2.4. 印刷可能文字列
printableStringSyntax 型の文字列の符号化は、その文字列値自体である。
2.5. 数値文字列
numericStringSyntax 型の文字列の符号化は、その文字列値自体である。
2.6. オクテット文字列
octetStringSyntax 型の文字列の符号化は、その文字列値自体である。
2.7. 大文字・小文字を区別しない IA5 文字列
caseIgnoreIA5String 型の文字列の符号化は、その文字列値自体である。
2.8. IA5 文字列
iA5StringSyntax 型の文字列の符号化は、その文字列値自体である。
2.9. T61 文字列
t61StringSyntax 型の文字列の符号化は、その文字列値自体である。
2.10. 大文字・小文字を区別しないリスト
caseIgnoreListSyntax 型の値は、以下の BNF に従って符号化される。
<caseignorelist> ::= <caseignorestring> |
<caseignorestring> '$' <caseignorelist>
<caseignorestring> ::= a string encoded according to the rules
for Case Ignore String as above.
2.11. 大文字・小文字を区別するリスト
caseExactListSyntax 型の値は、以下の BNF に従って符号化される。
<caseexactlist> ::= <caseexactstring> |
<caseexactstring> '$' <caseexactlist>
<caseexactstring> ::= a string encoded according to the rules for
Case Exact String as above.
2.12. 識別名
distinguishedNameSyntax 型の値は、[5] で定義されている表現を持つように符号化される。
2.13. ブール値
booleanSyntax 型の値は、以下の BNF に従って符号化される。
<boolean> ::= "TRUE" | "FALSE"
ブール値は、論理的に真であれば "TRUE" の符号化を持ち、そうでなければ "FALSE" の符号化を持つ。
2.14. 整数
integerSyntax 型の値は、その値の 10 進表記として符号化され、各 10 進数字は対応する文字で表される。したがって数字 1 は文字
2.15. オブジェクト識別子
objectIdentifierSyntax 型の値は、以下の BNF に従って符号化される。
<oid> ::= <descr> | <descr> '.' <numericoid> | <numericoid>
<descr> ::= <keystring>
<numericoid> ::= <numericstring> | <numericstring> '.' <numericoid>
上記の BNF において、
2.16. 電話番号
telephoneNumberSyntax 型の値は、Printable String 型であるかのように符号化される。
2.17. テレックス番号
telexNumberSyntax 型の値は、以下の BNF に従って符号化される。
<telex-number> ::= <actual-number> '$' <country> '$' <answerback>
<actual-number> ::= <printablestring>
<country> ::= <printablestring>
<answerback> ::= <printablestring>
上記において、
2.18. テレテックス端末識別子
teletexTerminalIdentifier 型の値は、以下の BNF に従って符号化される。
<teletex-id> ::= <printablestring> 0*( '$' <printablestring>)
上記において、最初の
2.19. ファクシミリ電話番号
FacsimileTelephoneNumber 型の値は、以下の BNF に従って符号化される。
<fax-number> ::= <printablestring> [ '$' <faxparameters> ]
<faxparameters> ::= <faxparm> | <faxparm> '$' <faxparameters>
<faxparm> ::= 'twoDimensional' | 'fineResolution' | 'unlimitedLength' |
'b4Length' | 'a3Width' | 'b4Width' | 'uncompressed'
上記において、最初の
2.20. プレゼンテーションアドレス
PresentationAddress 型の値は、[6] で記述されている表現を持つように符号化される。
2.21. UTC 時刻
uTCTimeSyntax 型の値は、UTCTime 値を含む文字列を保持する Printable String であるかのように符号化される。
2.22. ガイド (検索ガイド)
Guide 型の値 (searchGuide 属性の値など) は、以下の BNF に従って符号化される。
<guide-value> ::= [ <object-class> '#' ] <criteria>
<object-class> ::= an encoded value of type objectIdentifierSyntax
<criteria> ::= <criteria-item> | <criteria-set> | '!' <criteria>
<criteria-set> ::= [ '(' ] <criteria> '&' <criteria-set> [ ')' ] |
[ '(' ] <criteria> '|' <criteria-set> [ ')' ]
<criteria-item> ::= [ '(' ] <attributetype> '$' <match-type> [ ')' ]
<match-type> ::= "EQ" | "SUBSTR" | "GE" | "LE" | "APPROX"
2.23. 郵便住所
PostalAddress 型の値は、以下の BNF に従って符号化される。
<postal-address> ::= <t61string> | <t61string> '$' <postal-address>
上記において、郵便住所値の各
2.24. ユーザーパスワード
userPasswordSyntax 型の値は、octetStringSyntax 型であるかのように符号化される。
2.25. ユーザー証明書
userCertificate 型の値は、以下の BNF に従って符号化される。
<certificate> ::= <signature> '#' <issuer> '#' <validity> '#' <subject>
'#' <public-key-info>
<signature> ::= <algorithm-id>
<issuer> ::= an encoded Distinguished Name
<validity> ::= <not-before-time> '#' <not-after-time>
<not-before-time> ::= <utc-time>
<not-after-time> ::= <utc-time>
<algorithm-parameters> ::= <null> | <integervalue> |
'{ASN}' <hex-string>
<subject> ::= an encoded Distinguished Name
<public-key-info> ::= <algorithm-id> '#' <encrypted-value>
<encrypted-value> ::= <hex-string> | <hex-string> '-' <d>
<algorithm-id> ::= <oid> '#' <algorithm-parameters>
<utc-time> ::= an encoded UTCTime value
<hex-string> ::= <hex-digit> | <hex-digit> <hex-string>
2.26. CA 証明書
cACertificate 型の値は、値が userCertificate 型であるかのように符号化される。
2.27. 認証局失効リスト
authorityRevocationList 型の値は、以下の BNF に従って符号化される。
<certificate-list> ::= <signature> '#' <issuer> '#'
<utc-time> [ '#' <revoked-certificates> ]
<revoked-certificates> ::= <algorithm> '#' <encrypted-value>
[ '#' 0*(<revoked-certificate>) '#']
<revoked-certificates> ::= <subject> '#' <algorithm> '#'
<serial> '#' <utc-time>
構文構成要素
2.28. 証明書失効リスト
certificateRevocationList 型の値は、値が authorityRevocationList 型であるかのように符号化される。
2.29. 相互証明書ペア
crossCertificatePair 型の値は、以下の BNF に従って符号化される。
<certificate-pair> ::= <certificate> '|' <certificate>
構文構成要素
2.30. 配送方法
deliveryMethod 型の値は、以下の BNF に従って符号化される。
<delivery-value> ::= <pdm> | <pdm> '$' <delivery-value>
<pdm> ::= 'any' | 'mhs' | 'physical' | 'telex' | 'teletex' |
'g3fax' | 'g4fax' | 'ia5' | 'videotex' | 'telephone'
2.31. その他のメールボックス
otherMailboxSyntax 型の値は、以下の BNF に従って符号化される。
<otherMailbox> ::= <mailbox-type> '$' <mailbox>
<mailbox-type> ::= an encoded Printable String
<mailbox> ::= an encoded IA5 String
上記において、
2.32. メール設定
mailPreferenceOption 型の値は、以下の BNF に従って符号化される。
<mail-preference> ::= "NO-LISTS" | "ANY-LIST" | "PROFESSIONAL-LISTS"
2.33. MHS OR アドレス
MHS OR Address 型の値は、[10] で定義された形式に従って文字列として符号化される。
2.34. 写真
Photo 型の値は、[8] で記述されているように、JPEG File Interchange Format (JFIF) の JPEG 画像を含むオクテット列であるかのように符号化される。
2.35. ファクス
Fax 型の値は、[7] で定義されている Group 3 Fax 画像を含むオクテット列であるかのように符号化される。