この文書はRFC2743の日本語訳(和訳)です。 この文書の翻訳内容の正確さは保障できないため、 正確な知識や情報を求める方は原文を参照してください。 翻訳者はこの文書によって読者が被り得る如何なる損害の責任をも負いません。 この翻訳内容に誤りがある場合、訂正版の公開や、 誤りの指摘は適切です。 この文書の配布は元のRFC同様に無制限です。
Network Working Group J. Linn
Request for Comments: 2743 RSA Laboratories
Obsoletes: 2078 January 2000
Category: Standards Track
Generic Security Service Application Program Interface
Version 2, Update 1
一般的セキュリティサービスアプリケーションプログラム
インタフェースバージョン2、更新1
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 (2000). All Rights Reserved.
Abstract
概要
The Generic Security Service Application Program Interface (GSS-API),
Version 2, as defined in [RFC-2078], provides security services to
callers in a generic fashion, supportable with a range of underlying
mechanisms and technologies and hence allowing source-level
portability of applications to different environments. This
specification defines GSS-API services and primitives at a level
independent of underlying mechanism and programming language
environment, and is to be complemented by other, related
specifications:
一般的セキュリティサービスアプリケーションプログラムインタフェース
(GSS−API)バージョン2は[RFC-2078]で定義されるように、一般的
な方法で呼び出し人にセキュリティサービスを供給します、広範囲の基礎メ
カニズムと技術をサポートできて、そしてそれ故に異なった環境へのアプリ
ケーションのソースレベルのポータビリティを許します。この仕様書は基礎
となるメカニズムとは独立に、プログラム言語環境レベルで、GSS−AP
Iサービスとプリミティブを定義して、そして他の関連仕様書で補完される
はずです:
documents defining specific parameter bindings for particular
language environments
文書は特定の言語環境に特有のパラメータ結合を定義します。
documents defining token formats, protocols, and procedures to be
implemented in order to realize GSS-API services atop particular
security mechanisms
文書は特定のセキュリティサービスメカニズム上でGSS−APIを実現
するための実装のためのトークンフォーマットとプロトコルと手順を定義
します。
This memo obsoletes [RFC-2078], making specific, incremental changes
in response to implementation experience and liaison requests. It is
intended, therefore, that this memo or a successor version thereto
will become the basis for subsequent progression of the GSS-API
specification on the standards track.
この文書は、実装経験とリエゾン要求に応えて、特定の逐次的な変更をして、
[RFC-2078]を時代遅れにします。この文書や将来バージョンは、標準化手順
上のGSS−API仕様書の基になることを意図します。
TABLE OF CONTENTS
目次
1: GSS-API Characteristics and Concepts
1: GSS−API特徴と概念
1.1: GSS-API Constructs
1.1: GSS−API概念
1.1.1: Credentials
1.1.1: 証明書
1.1.1.1: Credential Constructs and Concepts
1.1.1.1: 証明書構成物と概念
1.1.1.2: Credential Management
1.1.1.2: 証明書管理
1.1.1.3: Default Credential Resolution
1.1.1.3: デフォルト証明書解決
1.1.2: Tokens
1.1.2: トークン
1.1.3: Security Contexts
1.1.3: セキュリティコンテキスト
1.1.4: Mechanism Types
1.1.4: メカニズム種別
1.1.5: Naming
1.1.5: 命名
1.1.6: Channel Bindings
1.1.6: チャンネル結合
1.2: GSS-API Features and Issues
1.2: GSS−API機能と問題
1.2.1: Status Reporting and Optional Service Support
1.2.1: 状態報告とオプションサービスサポート
1.2.1.1: Status Reporting
1.2.1.1: 状態報告
1.2.1.2: Optional Service Support
1.2.1.2: 任意サービスサポート
1.2.2: Per-Message Security Service Availability
1.2.2: メッセージ毎セキュリティサービス有効性
1.2.3: Per-Message Replay Detection and Sequencing
1.2.3: メッセージ毎の再生攻撃発見と順序付け
1.2.4: Quality of Protection
1.2.4: 保護の品質
1.2.5: Anonymity Support
1.2.5: 匿名サポート
1.2.6: Initialization
1.2.6: 初期化
1.2.7: Per-Message Protection During Context Establishment
1.2.7: コンテキスト設立の間のメッセージ毎の保護
1.2.8: Implementation Robustness
1.2.8: 実行強靭性
1.2.9: Delegation
1.2.9: 委任
1.2.10: Interprocess Context Transfer
1.2.10: 混合コンテキスト転送
2: Interface Descriptions
2: インタフェース記述
2.1: Credential management calls
2.1: 証明書管理呼出
2.1.1: GSS_Acquire_cred call
2.1.1: GSS_Acquire_cred呼出
2.1.2: GSS_Release_cred call
2.1.2: GSS_Release_cred呼出
2.1.3: GSS_Inquire_cred call
2.1.3: GSS_Inquire_cred呼出
2.1.4: GSS_Add_cred call
2.1.4: GSS_Add_cred呼出
2.1.5: GSS_Inquire_cred_by_mech call
2.1.5: GSS_Inquire_cred_by_mech呼出
2.2: Context-level calls
2.2: コンテンツレベル呼出し
2.2.1: GSS_Init_sec_context call
2.2.1: GSS_Init_sec_context呼出
2.2.2: GSS_Accept_sec_context call
2.2.2: GSS_Accept_sec_context呼出
2.2.3: GSS_Delete_sec_context call
2.2.3: GSS_Delete_sec_context呼出
2.2.4: GSS_Process_context_token call
2.2.4: GSS_Process_context_token呼出
2.2.5: GSS_Context_time call
2.2.5: GSS_Context_time呼出
2.2.6: GSS_Inquire_context call
2.2.6: GSS_Inquire_context呼出
2.2.7: GSS_Wrap_size_limit call
2.2.7: GSS_Wrap_size_limit呼出
2.2.8: GSS_Export_sec_context call
2.2.8: GSS_Export_sec_context呼出
2.2.9: GSS_Import_sec_context call
2.2.9: GSS_Import_sec_context呼出
2.3: Per-message calls
2.3: メッセージ毎呼出し
2.3.1: GSS_GetMIC call
2.3.1: GSS_GetMIC呼出
2.3.2: GSS_VerifyMIC call
2.3.2: GSS_VerifyMIC呼出
2.3.3: GSS_Wrap call
2.3.3: GSS_Wrap呼出
2.3.4: GSS_Unwrap call
2.3.4: GSS_Unwrap呼出
2.4: Support calls
2.4: サポート呼出
2.4.1: GSS_Display_status call
2.4.1: GSS_Display_status呼出
2.4.2: GSS_Indicate_mechs call
2.4.2: GSS_Indicate_mechs呼出
2.4.3: GSS_Compare_name call
2.4.3: GSS_Compare_name呼出
2.4.4: GSS_Display_name call
2.4.4: GSS_Display_name呼出
2.4.5: GSS_Import_name call
2.4.5: GSS_Import_name呼出
2.4.6: GSS_Release_name call
2.4.6: GSS_Release_name呼出
2.4.7: GSS_Release_buffer call
2.4.7: GSS_Release_buffer呼出
2.4.8: GSS_Release_OID_set call
2.4.8: GSS_Release_OID_set呼出
2.4.9: GSS_Create_empty_OID_set call
2.4.9: GSS_Create_empty_OID_set呼出
2.4.10: GSS_Add_OID_set_member call
2.4.10: GSS_Add_OID_set_member呼出
2.4.11: GSS_Test_OID_set_member call
2.4.11: GSS_Test_OID_set_member呼出
2.4.12: GSS_Inquire_names_for_mech call
2.4.12: GSS_Inquire_names_for_mech呼出
2.4.13: GSS_Inquire_mechs_for_name call
2.4.13: GSS_Inquire_mechs_for_name呼出
2.4.14: GSS_Canonicalize_name call
2.4.14: GSS_Canonicalize_name呼出
2.4.15: GSS_Export_name call
2.4.15: GSS_Export_name呼出
2.4.16: GSS_Duplicate_name call
2.4.16: GSS_Duplicate_name呼出
3: Data Structure Definitions for GSS-V2 Usage
3: GSS−V2で使用するデータ構造体定義
3.1: Mechanism-Independent Token Format
3.1: メカニズム非依存トークンフォーマット
3.2: Mechanism-Independent Exported Name Object Format
3.2: メカニズムに依存しない書出し名オブジェクトフォーマット
4: Name Type Definitions
4: 名前種別定義
4.1: Host-Based Service Name Form
4.1: ホストベースのサービス名前形式
4.2: User Name Form
4.2: ユーザ名形式
4.3: Machine UID Form
4.3: マシンUID形式
4.4: String UID Form
4.3: 文字列UID形式
4.5: Anonymous Nametype
4.5: 匿名名前種別
4.6: GSS_C_NO_OID
4.6: GSS_C_NO_OID
4.7: Exported Name Object
4.7: 書き出し名オブジェクト
4.8: GSS_C_NO_NAME
4.8: GSS_C_NO_NAME
5: Mechanism-Specific Example Scenarios
5: メカニズム固有のシナリオ例
5.1: Kerberos V5, single-TGT
5.1: ケルベロスV5、シングルTGT
5.2: Kerberos V5, double-TGT
5.2: ケルベロスV5、ダブルTGT
5.3: X.509 Authentication Framework
5.3: X..509認証機構
6: Security Considerations
6: セキュリティの考察
7: Related Activities
7: 関連活動
8: Referenced Documents
8: 参照文書
APPENDIX A MECHANISM DESIGN CONSTRAINTS
付録A:メカニズムデザイン制約
APPENDIX B COMPATIBILITY WITH GSS-V1
付録B:GSS−V1との互換性
APPENDIX C CHANGES RELATIVE TO RFC-2078
付録C:RFC−2078と比較しての変化
AUTHOR'S ADDRESS
著者のアドレス
Full Copyright Statement
著作権表示全文
1: GSS-API Characteristics and Concepts
1: GSS−API特徴と概念
GSS-API operates in the following paradigm. A typical GSS-API caller
is itself a communications protocol, calling on GSS-API in order to
protect its communications with authentication, integrity, and/or
confidentiality security services. A GSS-API caller accepts tokens
provided to it by its local GSS-API implementation and transfers the
tokens to a peer on a remote system; that peer passes the received
tokens to its local GSS-API implementation for processing. The
security services available through GSS-API in this fashion are
implementable (and have been implemented) over a range of underlying
mechanisms based on secret-key and public-key cryptographic
technologies.
GSS−APIは次の体系で運用します。典型的なGSS−API呼び出し
者がはそれ自身通信プロトコルで、認証や完全性や機密セキュリティサービ
スでその通信を守るためにGSS−APIを呼び出します。GSS−API
呼び出し者はローカルGSS−API実装によって供給されたトークンを受
け取り、そして遠隔システム上の通信相手にトークンを渡します;その通信
相手は処理のためにローカルGSS−API実装に受信トークンを渡します。
GSS−APIでこの方法で利用可能なセキュリティサービスは、秘密鍵と
公開鍵暗号技術上の多様な基礎メカニズム上で実装可能です(そして実装さ
れました)。
The GSS-API separates the operations of initializing a security
context between peers, achieving peer entity authentication
(GSS_Init_sec_context() and GSS_Accept_sec_context() calls), from the
operations of providing per-message data origin authentication and
data integrity protection (GSS_GetMIC() and GSS_VerifyMIC() calls)
for messages subsequently transferred in conjunction with that
context. (The definition for the peer entity authentication service,
and other definitions used in this document, corresponds to that
provided in [ISO-7498-2].) When establishing a security context, the
GSS-API enables a context initiator to optionally permit its
credentials to be delegated, meaning that the context acceptor may
initiate further security contexts on behalf of the initiating
caller. Per-message GSS_Wrap() and GSS_Unwrap() calls provide the
data origin authentication and data integrity services which
GSS_GetMIC() and GSS_VerifyMIC() offer, and also support selection of
confidentiality services as a caller option. Additional calls provide
supportive functions to the GSS-API's users.
GSS−APIは、通信相手とのセキュリティコンテキストの初期化や通信
相手との認証のオペレーション(GSS_Init_sec_context()と
GSS_Accept_sec_context()呼び出し)を、コンテキストに関連してその後転
送されたメッセージのメッセージデータ毎の発信者認証や完全性保護
(GSS_GetMIC()とGSS_VerifyMIC()呼び出し)を供給するオペレーションとを、
分離します。(この文書で使った通信相手毎の認証サービスと他の定義は、
[ISO-7498-2]で示される定義に対応します。)セキュリティコンテキストを確
立する時、オプションで委任の証明書を許すために、GSS−APIはコン
テキスト初期化を利用可能にします、これはコンテキスト受理者が初期化呼
び出し者のために新たなセキュリティコンテキスト初期化をするかもしれな
い事を意味します。メッセージ毎のGSS_Wrap()とGSS_Unwrap()呼出しは、
GSS_GetMIC()とGSS_VerifyMIC()が供給するデータ発信者認証とデータ完全
性サービスを供給し、また呼び出し者のオプションとして機密サービスの選
択をサポートします。追加の呼出しがGSS−APIユーザのサポート機能
を供給します。
The following paragraphs provide an example illustrating the
dataflows involved in use of the GSS-API by a client and server in a
mechanism-independent fashion, establishing a security context and
transferring a protected message. The example assumes that credential
acquisition has already been completed. The example also assumes
that the underlying authentication technology is capable of
authenticating a client to a server using elements carried within a
single token, and of authenticating the server to the client (mutual
authentication) with a single returned token; this assumption holds
for some presently-documented CAT mechanisms but is not necessarily
true for other cryptographic technologies and associated protocols.
次の段落は、メカニズム非依存な方法で、セキュリティコンテキストを確立
して、そして保護されたメッセージを転送する、クライアントとサーバによ
るGSS−APIの使用に関する、データフローの例を供給します。例は証
明書の獲得がすでに完了されたと想定します。例はまた、基礎認証技術は、
1つのトークンで運ばれる要素を使用してクライアントからサーバへの認証
と、戻ってくる1つのトークンでサーバからクライアントへの認証(相互認
証)と、をする能力があると仮定します;この仮定はある現在文書化されて
いるCATメカニズムでは真ですが、必ずしも他の暗号の技術と関連づけら
れたプロトコルで真ではありません。
The client calls GSS_Init_sec_context() to establish a security
context to the server identified by targ_name, and elects to set the
mutual_req_flag so that mutual authentication is performed in the
course of context establishment. GSS_Init_sec_context() returns an
output_token to be passed to the server, and indicates
GSS_S_CONTINUE_NEEDED status pending completion of the mutual
authentication sequence. Had mutual_req_flag not been set, the
initial call to GSS_Init_sec_context() would have returned
GSS_S_COMPLETE status. The client sends the output_token to the
server.
クライアントはtarg_nameで示されたサーバとセキュリティコンテキストを確
立するためGSS_Init_sec_context()を呼出し、そして、相互の認証がコンテ
キスト設立の間に行われるように、mutual_req_flagを設定することを選びま
す。GSS_Init_sec_context()はサーバに渡されるoutput_tokenを返し、そし
て相互の認証シーケンスの終了を待つGSS_S_CONTINUE_NEEDED状態を示します。
もしmutual_req_flagが設定されなかったら、GSS_Init_sec_context()への最
初の呼び出しはGSS_S_COMPLETE状態を返したでしょう。クライアントはサー
バにoutput_tokenを送ります。
The server passes the received token as the input_token parameter to
GSS_Accept_sec_context(). GSS_Accept_sec_context indicates
GSS_S_COMPLETE status, provides the client's authenticated identity
in the src_name result, and provides an output_token to be passed to
the client. The server sends the output_token to the client.
サーバはinput_tokenパラメータとしてGSS_Accept_sec_context()に受信トー
クンを渡します。GSS_Accept_sec_contextはGSS_S_COMPLETE状態を示し、
src_name結果でクライアントの認証された識別子を供給し、そしてクライア
ントに手渡されるoutput_tokenを供給します。サーバはクライアントに
output_tokenを送ります。
The client passes the received token as the input_token parameter to
a successor call to GSS_Init_sec_context(), which processes data
included in the token in order to achieve mutual authentication from
the client's viewpoint. This call to GSS_Init_sec_context() returns
GSS_S_COMPLETE status, indicating successful mutual authentication
and the completion of context establishment for this example.
クライアントは続くGSS_Init_sec_contextへの呼出しのinput_tokenパラメー
タとして受信トークンを手渡します、これはクライアントの観点で相互認証
を成し遂げるためにデータを処理します。このGSS_Init_sec_context()への
呼び出しは、この例の成功した相互の認証とコンテキスト設立の完成を示す、
GSS_S_COMPLETE状態を返します。
The client generates a data message and passes it to GSS_Wrap().
GSS_Wrap() performs data origin authentication, data integrity, and
(optionally) confidentiality processing on the message and
encapsulates the result into output_message, indicating
GSS_S_COMPLETE status. The client sends the output_message to the
server.
クライアントはデータメッセージを生成して、GSS_Wrap()に渡します。
GSS_Wrap()がデータ源認証やデータ完全を行い、そして(オプションで)メッ
セージの機密性を処理します、そしてoutput_messageに結果を埋め込み、
GSS_S_COMPLETE状態を示します。クライアントはサーバにoutput_messageを
送ります。
The server passes the received message to GSS_Unwrap(). GSS_Unwrap()
inverts the encapsulation performed by GSS_Wrap(), deciphers the
message if the optional confidentiality feature was applied, and
validates the data origin authentication and data integrity checking
quantities. GSS_Unwrap() indicates successful validation by returning
GSS_S_COMPLETE status along with the resultant output_message.
サーバはGSS_Unwrap()に受信メッセージを手渡します。GSS_Unwrap()は
GSS_Wrap()によって行われた埋込みの逆を行い、もしオプションの機密性機
能が適用されたなら、メッセージを解読し、そしてデータ源認証とデータ完
全性を有効にします。GSS_Unwrap()は結果output_messageとともに
GSS_S_COMPLETE状態を返すことによって検証の成功を示します。
For purposes of this example, we assume that the server knows by
out-of-band means that this context will have no further use after
one protected message is transferred from client to server. Given
this premise, the server now calls GSS_Delete_sec_context() to flush
context-level information. Optionally, the server-side application
may provide a token buffer to GSS_Delete_sec_context(), to receive a
context_token to be transferred to the client in order to request
that client-side context-level information be deleted.
この例では、我々は、このコンテキストはクライアントからサーバに1つの
保護されたメッセージを送った後でそれ以上使用しないと言う事を、何らか
の方法で知っていると想定します。この条件で、サーバはコンテキストレベ
ル情報をクリアするために、GSS_Delete_sec_context()を呼び出します。オ
プションとして、サーバ側のアプリケーションはクライアント側のコンテキ
ストレベル情報を削除することを要請するために、クライアントに転送する
context_tokenを受け取るために、GSS_Delete_sec_context()にトークンバッ
ファに供給してもよいです。
If a context_token is transferred, the client passes the
context_token to GSS_Process_context_token(), which returns
GSS_S_COMPLETE status after deleting context-level information at the
client system.
もしcontext_tokenが転送されるなら、クライアントは
GSS_Process_context_token()にcontext_tokenを渡し、そしてこれはクライ
アントシステムでコンテキストレベル情報を削除した後でGSS_S_COMPLETE
状態を返します。
The GSS-API design assumes and addresses several basic goals,
including:
GSS−APIデザインはいくつかの基本的な目標を想定し扱います、これ
は下記を含みます:
Mechanism independence: The GSS-API defines an interface to
cryptographically implemented strong authentication and other
security services at a generic level which is independent of
particular underlying mechanisms. For example, GSS-API-provided
services have been implemented using secret-key technologies
(e.g., Kerberos, per [RFC-1964]) and with public-key approaches
(e.g., SPKM, per [RFC-2025]).
メカニズム独立:GSS−APIは、特定の基礎メカニズムに依存しない、
暗号的に実装された強い認証へのインタフェースと、一般的なレベルへの
セキュリティサービスを定義します。例えば、GSS−APIによって供
給されたサービスは、秘密鍵技術を使って実装でき(例えば[RFC-1964]の
Kerberos)、公開鍵手段でも実装できます(例えば、[RFC-2025]の
SPKM)。
Protocol environment independence: The GSS-API is independent of
the communications protocol suites with which it is employed,
permitting use in a broad range of protocol environments. In
appropriate environments, an intermediate implementation "veneer"
which is oriented to a particular communication protocol may be
interposed between applications which call that protocol and the
GSS-API (e.g., as defined in [RFC-2203] for Open Network Computing
Remote Procedure Call (RPC)), thereby invoking GSS-API facilities
in conjunction with that protocol's communications invocations.
プロトコル環境独立:GSS−APIは、広い範囲のプロトコル環境で使
用を可能で利用され、通信プロトコル群とは独立しています。適切な環境
で、特定の通信プロトコルに依存する中間実装「化粧板」が、そのプロト
コルを呼出すアプリケーションとGSS−APIの間に挿入されるかもし
れません(例えば、オープンネットワークコンピューティング遠隔手続要
求(RPC)のための[RFC-2203]で定義されるように)、それによってプ
ロトコル通信の発生に関するGSS−API機能が実行されます。
Protocol association independence: The GSS-API's security context
construct is independent of communications protocol association
constructs. This characteristic allows a single GSS-API
implementation to be utilized by a variety of invoking protocol
modules on behalf of those modules' calling applications. GSS-API
services can also be invoked directly by applications, wholly
independent of protocol associations.
プロトコルアソシエーション独立:GSS−APIのセキュリティコンテ
キストの概念は通信プロトコルアソシエーションの概念と独立です。この
特徴は1つのGSS−API実装が、プロトコルモジュールを呼出したア
プリケーションのために、いろいろなプロトコルモジュールで利用される
ことを許します。GSS−APIサービスが、完全にプロトコルアソシエー
ションとは独立に、アプリケーションから直接呼び出しできます。
Suitability to a range of implementation placements: GSS-API
clients are not constrained to reside within any Trusted Computing
Base (TCB) perimeter defined on a system where the GSS-API is
implemented; security services are specified in a manner suitable
to both intra-TCB and extra-TCB callers.
広範囲の実装配置への適合性:GSS−APIクライアントはGSS−A
PIが実装されるシステム上で定義された信頼計算基地(TBC)の周囲
に存在することを強制されません;セキュリティサービスがTBC内でも
TBC外でも呼び出し者に適した方法で指定されます。
1.1: GSS-API Constructs
1.1: GSS−API概念
This section describes the basic elements comprising the GSS-API.
この章はGSS−APIの含んでいる基本的な要素を記述します。
1.1.1: Credentials
1.1.1: 証明書
1.1.1.1: Credential Constructs and Concepts
1.1.1.1: 証明書構成物と概念
Credentials provide the prerequisites which permit GSS-API peers to
establish security contexts with each other. A caller may designate
that the credential elements which are to be applied for context
initiation or acceptance be selected by default. Alternately, those
GSS-API callers which need to make explicit selection of particular
credentials structures may make references to those credentials
through GSS-API-provided credential handles ("cred_handles"). In all
cases, callers' credential references are indirect, mediated by GSS-
API implementations and not requiring callers to access the selected
credential elements.
証明書は、GSS−API通信者がお互いにセキュリティコンテキストを確
立するのに必要なものを提供します。呼び出し者はコンテキスト初期化や受
け入れに適用する証明書要素がデフォルトで選択されるよう指定してもよい
です。代わりに、特定の証明書構造体の明白な選択をする必要があるGSS−
API呼び出し者は、GSS−APIによって供給された証明書ハンドル
(「cred_handles」)を通してそれらの証明書への参照をしてもよいです。例
外なく、呼び出し者の証明書参照は間接的で、GSS−API実装で調停さ
れ、そして呼び出し者に選択された証明書要素にアクセスするように要求し
ません。
A single credential structure may be used to initiate outbound
contexts and to accept inbound contexts. Callers needing to operate
in only one of these modes may designate this fact when credentials
are acquired for use, allowing underlying mechanisms to optimize
their processing and storage requirements. The credential elements
defined by a particular mechanism may contain multiple cryptographic
keys, e.g., to enable authentication and message encryption to be
performed with different algorithms.
一つの証明書構造が外行きのコンテキストを初期化し、そして内行きのコン
テキストを受け入れるために使われるかもしれません。証明書が使用するた
めに獲得される時、基礎メカニズムが処理と記憶条件を最適化できるように、
これらのモードの1つだけを使用する必要がある呼び出し者がこの事実を指
定してもよいです。特定のメカニズムによって定義された証明書要素は多数
の暗号鍵を含んでいるかもしれません、例えば、認証とメッセージ暗号化が
異なるアルゴリズムで実行されます。
A GSS-API credential structure may contain multiple credential
elements, each containing mechanism-specific information for a
particular underlying mechanism (mech_type), but the set of elements
within a given credential structure represent a common entity. A
credential structure's contents will vary depending on the set of
mech_types supported by a particular GSS-API implementation. Each
credential element identifies the data needed by its mechanism in
order to establish contexts on behalf of a particular principal, and
may contain separate credential references for use in context
initiation and context acceptance. Multiple credential elements
within a given credential having overlapping combinations of
mechanism, usage mode, and validity period are not permitted.
GSS−API証明書構造体がそれぞれ特定の基礎メカニズム(mech_type)
のためのメカニズム固有情報を含んでいる多数の証明書素子を含んでいるか
もしれません、しかし所定の証明書構造体の中の要素は共通のエンティティー
を表します。証明書構造体の内容は特定のGSS−API実装のサポートす
るmech_typesに頼って変化するでしょう。それぞれの証明書要素が特定のメ
カニズムのコンテキストを確立するため、そのメカニズムに必要なデータを
示し、そしてコンテキスト初期化とコンテキスト受け入れで使用するために、
別の証明書参照を含んでいるかもしれません。ある証明書の中に、メカニズ
ムと使用法モードと有効期間の組合せが重複する多数の証明書要素があるの
は、認められません。
Commonly, a single mech_type will be used for all security contexts
established by a particular initiator to a particular target. A major
motivation for supporting credential sets representing multiple
mech_types is to allow initiators on systems which are equipped to
handle multiple types to initiate contexts to targets on other
systems which can accommodate only a subset of the set supported at
the initiator's system.
一般に、特定の開始者から特定の目標への全てのセキュリティコンテキスト
確立で、ひとつのmech_typeが使われるでしょう。多数のmech_typesを表す
証明書をサポートするための主な動機は、多数のタイプを扱えるシステム上
の初期化者が、その一部のタイプを扱える他のシステムの目標への、コンテ
キストの初期化を可能にするためです。
1.1.1.2: Credential Management
1.1.1.2: 証明書管理
It is the responsibility of underlying system-specific mechanisms and
OS functions below the GSS-API to ensure that the ability to acquire
and use credentials associated with a given identity is constrained
to appropriate processes within a system. This responsibility should
be taken seriously by implementors, as the ability for an entity to
utilize a principal's credentials is equivalent to the entity's
ability to successfully assert that principal's identity.
与えられた識別子の証明書を獲得して使用する能力がシステムの中の適切な
プロセスに限定されることを保証するのは、システム固有の基礎メカニズム
とGSS−API下のOS機能の責任です。ある証明書を利用する能力は、
ある識別子を断定する能力に等しいので、この責任について実装者はによっ
てまじめに受けとめられるべきです。
Once a set of GSS-API credentials is established, the transferability
of that credentials set to other processes or analogous constructs
within a system is a local matter, not defined by the GSS-API. An
example local policy would be one in which any credentials received
as a result of login to a given user account, or of delegation of
rights to that account, are accessible by, or transferable to,
processes running under that account.
GSS−API証明書が確立されていると、証明書をシステム内の他のプロ
セスあるいは類似した概念に移すことは、ローカルな問題で、GSS−AP
Iで定義されません。例えばローカルポリシーは、あるユーザアカウントで
のログインの結果、あるいはあるアカウントへの権利の委任の結果として受
け取った証明書は、そのアカウントで動いているプロセスがアクセス可能か
譲渡可能かもしれません。
The credential establishment process (particularly when performed on
behalf of users rather than server processes) is likely to require
access to passwords or other quantities which should be protected
locally and exposed for the shortest time possible. As a result, it
will often be appropriate for preliminary credential establishment to
be performed through local means at user login time, with the
result(s) cached for subsequent reference. These preliminary
credentials would be set aside (in a system-specific fashion) for
subsequent use, either:
証明書設立手順(特にサーバプロセスよりユーザのために行われる時)は、
ローカルに保護され短時間の露出が生じる、パスワードやその他の手段への
アクセスを必要とする可能性が高いです。結果として、ユーザーログイン時
に、事前の証明書設立と、次の参照のための結果キャッシュがローカルな手
段を通して行われることがしばしば適切であるでしょう。これらの予備の証
明書は次の使用のために、(システム固有の方法で)そばに置かれるでしょう、
もしくは:
to be accessed by an invocation of the GSS-API GSS_Acquire_cred()
call, returning an explicit handle to reference that credential
証明書を参照する明示的なハンドルを返す、GSS−APIの
GSS_Acquire_cred()呼び出し、の実施によってアクセスされるために。
to comprise default credential elements to be installed, and to be
used when default credential behavior is requested on behalf of a
process
デフォルト証明書行動がプロセスのために求められる時、インストール
され使われるデフォルト証明書要素を含むために。
1.1.1.3: Default Credential Resolution
1.1.1.3: デフォルト証明書解決
The GSS_Init_sec_context() and GSS_Accept_sec_context() routines
allow the value GSS_C_NO_CREDENTIAL to be specified as their
credential handle parameter. This special credential handle
indicates a desire by the application to act as a default principal.
In support of application portability, support for the default
resolution behavior described below for initiator credentials
(GSS_Init_sec_context() usage) is mandated; support for the default
resolution behavior described below for acceptor credentials
(GSS_Accept_sec_context() usage) is recommended. If default
credential resolution fails, GSS_S_NO_CRED status is to be returned.
GSS_Init_sec_context()とGSS_Accept_sec_context()ルーチンは証明書ハン
ドルパラメータとしてGSS_C_NO_CREDENTIAL値の明示を許します。この特別
な証明書ハンドルは、アプリケーションのデフォルト処理の要望を示します。
アプリケーションポータビリティをサポートするために、初期化証明書のた
めに下に記述されたデフォルト解決動作(GSS_Init_sec_context()使用法)
のサポートが義務化されます;受信者証明書のために下に記述されたデフォ
ルト解決行動に対するサポート(GSS_Accept_sec_context()使用)が勧めら
れます。もしデフォルト証明書解決が失敗するなら、GSS_S_NO_CRED状態が返
されるはずです。
GSS_Init_sec_context:
(i) If there is only a single principal capable of initiating
security contexts that the application is authorized to act on
behalf of, then that principal shall be used, otherwise
(i) もしただアプリケーションが使用する権限を与えられるセキュリ
ティコンテキストを初期化できる主役が一人だけなら、その主体が使
われるべきです、さもなければ、
(ii) If the platform maintains a concept of a default network-
identity, and if the application is authorized to act on behalf
of that identity for the purpose of initiating security
contexts, then the principal corresponding to that identity
shall be used, otherwise
(ii) もしプラットホームがデフォルトネットワーク識別子の概念を
維持し、そしてもしアプリケーションがセキュリティコンテキストを
初期化する目的のためにその識別子を使用する権限を与えられるなら、
その識別子に対応している主体が使われるべきです、さもなければ
(iii) If the platform maintains a concept of a default local
identity, and provides a means to map local identities into
network-identities, and if the application is authorized to act
on behalf of the network-identity image of the default local
identity for the purpose of initiating security contexts, then
the principal corresponding to that identity shall be used,
otherwise
(iii) もしプラットホームがデフォルトローカル識別子の概念を維持
し、そしてネットワーク識別子の中にローカル識別子を対応させる手
段を供給し、そしてもしアプリケーションがセキュリティコンテキス
トを初期化する目的のためにデフォルトローカル識別子のネットワー
ク識別子イメージを使用する権限を与えられるなら、その識別子に対
応した主体が使われるべきです、さもなければ、
(iv) A user-configurable default identity should be used.
(iv) ユーザ設定可能なデフォルト識別子が使われるべきです。
GSS_Accept_sec_context:
(i) If there is only a single authorized principal identity
capable of accepting security contexts, then that principal
shall be used, otherwise
(i) もしセキュリティコンテキストを受け入れることができる唯一の
認証された主役識別子だけがあるなら、それが使われるべきです、さ
もなければ
(ii) If the mechanism can determine the identity of the target
principal by examining the context-establishment token, and if
the accepting application is authorized to act as that
principal for the purpose of accepting security contexts, then
that principal identity shall be used, otherwise
(ii) もしメカニズムがコンテキスト初期化トークンを調べることで
目標者の識別子を決定でき、そしてもし受け取りアプリケーションが
セキュリティコンテキストを受け入れる目的でその主体の役を務める
なら、その主役の識別子が使われるべきです、さもなければ
(iii) If the mechanism supports context acceptance by any
principal, and mutual authentication was not requested, any
principal that the application is authorized to accept security
contexts under may be used, otherwise
(iii) もしメカニズムが主役のコンテキスト受け入れをサポートし、
そして相互認証が求められなかったなら、アプリケーションがセキュ
リティコンテキストを受け入れる権限を与えられる主体が使われるか
もしれません、さもなければ
(iv) A user-configurable default identity shall be used.
(iv) ユーザ設定可能なデフォルト識別子が使われるべきです。
The purpose of the above rules is to allow security contexts to be
established by both initiator and acceptor using the default behavior
wherever possible. Applications requesting default behavior are
likely to be more portable across mechanisms and platforms than those
that use GSS_Acquire_cred() to request a specific identity.
上記の規則の目的は、利用可能なデフォルトの方法を使い、初期化者と受け
入れ者の両方でセキュリティコンテキストの確立をすることです。デフォル
ト行動を求めているアプリケーションは、特定の識別子を求めるために
GSS_Acquire_cred()よりも、移植性があるアクセスメカニズムとプラットホー
ムを使う可能性が高いです。
1.1.2: Tokens
1.1.2: トークン
Tokens are data elements transferred between GSS-API callers, and are
divided into two classes. Context-level tokens are exchanged in order
to establish and manage a security context between peers. Per-message
tokens relate to an established context and are exchanged to provide
protective security services (i.e., data origin authentication,
integrity, and optional confidentiality) for corresponding data
messages.
トークンはGSS−APIの呼び出し者の間に転送されるデータ要素であり、
2つのクラスに分けられます。コンテキストレベルのトークンが通信相手間
にセキュリティコンテキストを確立して、そして管理するために交換されま
す。メッセージ毎のトークンが確定したコンテキストに関連していて、そし
て対応するデータメッセージに保護の保全サービス(すなわち、データ源認
証と完全性とオプションの機密性)を提供するために交換されます。
The first context-level token obtained from GSS_Init_sec_context() is
required to indicate at its very beginning a globally-interpretable
mechanism identifier, i.e., an Object Identifier (OID) of the
security mechanism. The remaining part of this token as well as the
whole content of all other tokens are specific to the particular
underlying mechanism used to support the GSS-API. Section 3.1 of this
document provides, for designers of GSS-API mechanisms, the
description of the header of the first context-level token which is
then followed by mechanism-specific information.
は、その初めにグローバル翻訳可能メカニズム識別子、すなわち、セキュリ
ティメカニズムのオブジェクト識別子(OID)を示すように要求されます。
トークンの残りの場所と他のトークンの全ての内容は、GSS−APIをサ
ポートするために使用した特定の基礎メカニズムに固有です。この文書の
3.1章が、GSS−APIメカニズムの設計者のために、最初のコンテキ
ストレベルのトークンヘッダの記述を供給します、その後にメカニズム固有
情報が続きます。
Tokens' contents are opaque from the viewpoint of GSS-API callers.
They are generated within the GSS-API implementation at an end
system, provided to a GSS-API caller to be transferred to the peer
GSS-API caller at a remote end system, and processed by the GSS-API
implementation at that remote end system.
GSS_Init_sec_context()から得られた最初のコンテキストレベルのトークン
トークンの中身は、GSS−API呼び出し者の観点では、不透明です。そ
れらは、エンドシステムのGSS−API実装で生成され、GSS−API
呼び出し者に供給され、遠隔地のGSS−API呼び出し者に転送され、遠
隔側のエンドシステムのGSS−API実装で処理されます。
Context-level tokens may be output by GSS-API calls (and should be
transferred to GSS-API peers) whether or not the calls' status
indicators indicate successful completion. Per-message tokens, in
contrast, are to be returned only upon successful completion of per-
message calls. Zero-length tokens are never returned by GSS routines
for transfer to a peer. Token transfer may take place in an in-band
manner, integrated into the same protocol stream used by the GSS-API
callers for other data transfers, or in an out-of-band manner across
a logically separate channel.
呼び出しの地位表示が成功を示すか否かにかかわらず、コンテキストレベル
のトークンはGSS−API呼び出しで出力される(そしてGSS−API
通信相手に転送されるべき)かもしれません。メッセージ毎のトークンは、
それと対照的に、メッセージ毎の呼び出しが成功した場合にだけ返されるは
ずです。通信相手へ転送するためのゼロ長トークンをGSSが返す事は決し
てありません。トークン転送は、GSS−API呼び出し者のほかのデータ
転送と同じプロトコル流に結合されインバンドの方法で行われるかもしれな
いし、論理的に別チャネルを通じたアウトバンドの方法で行われるかもしれ
ません。
Different GSS-API tokens are used for different purposes (e.g.,
context initiation, context acceptance, protected message data on an
established context), and it is the responsibility of a GSS-API
caller receiving tokens to distinguish their types, associate them
with corresponding security contexts, and pass them to appropriate
GSS-API processing routines. Depending on the caller protocol
environment, this distinction may be accomplished in several ways.
異なるGSS−APIのトークンは異なる目的で使われます(例えば、コン
テキスト初期化、コンテキスト受け入れ、確立したコンテキスト上でのメッ
セージデータ保護)、そしてトークンを受け取っているGSS−API呼び
出し者はそれらの種類を区別し、それらを対応するセキュリティコンテキス
トと結び付けて、そして適切なGSS−API処理ルーチンにそれらを渡す
責任があります。呼び出し者のプロトコル環境によって、この区別はいくつ
かの方法で達成されているかもしれません。
The following examples illustrate means through which tokens' types
may be distinguished:
次の例はトークン種別を区別するかもしれない手段を例示します:
- implicit tagging based on state information (e.g., all tokens on
a new association are considered to be context establishment
tokens until context establishment is completed, at which point
all tokens are considered to be wrapped data objects for that
context),
- 状態情報にもとづく暗黙のタグ(例えば、新しいアソシエーションの全
てのトークンは、コンテキスト確立が済むまではコンテキスト確立トーク
ンと考えられます、この時点で全てのトークンはそのコンテキストのデー
タオブジェクトで包まれています)、。
- explicit tagging at the caller protocol level,
- 呼び出し者のプロトコルレベルでの明白なタグ、
- a hybrid of these approaches.
- これらの方法の組合せ。
Commonly, the encapsulated data within a token includes internal
mechanism-specific tagging information, enabling mechanism-level
processing modules to distinguish tokens used within the mechanism
for different purposes. Such internal mechanism-level tagging is
recommended to mechanism designers, and enables mechanisms to
determine whether a caller has passed a particular token for
processing by an inappropriate GSS-API routine.
一般に、トークンの中にカプセル化されるデータは、メカニズムレベル処理
モジュールにメカニズムの異なる目的で使われたトークンを識別することが
できるように、内部メカニズム固有タグ情報を含みます。このような内部の
メカニズムレベルにタグを付けることはメカニズム設計者に勧められ、そし
てメカニズムに呼び出し者が特定のトークンを処理する際に不適当なGSS−
APIルーチンに渡した事を判定できるようにします。
Development of GSS-API mechanisms based on a particular underlying
cryptographic technique and protocol (i.e., conformant to a specific
GSS-API mechanism definition) does not necessarily imply that GSS-API
callers using that GSS-API mechanism will be able to interoperate
with peers invoking the same technique and protocol outside the GSS-
API paradigm, or with peers implementing a different GSS-API
mechanism based on the same underlying technology. The format of
GSS-API tokens defined in conjunction with a particular mechanism,
and the techniques used to integrate those tokens into callers'
protocols, may not be interoperable with the tokens used by non-GSS-
API callers of the same underlying technique.
特定の基礎暗号技術とプロトコルに基くGSS−APIメカニズムの開発は
(すなわち、特定のGSS−APIメカニズム定義へに従う事)、GSS−A
PIメカニズムを使うGSS−API呼び出し者がGSS−API体系外の
同じ技術と同じプロトコルを使用する通信相手と相互通信可能である事や、
同じ基礎技術に基く異なるGSS−APIメカニズムと相互通信可能である
事を意味しません。トークンが特定のメカニズムと関連して定義され、そし
て呼び出し人のプロトコルの中にそれらのトークンをまとめるために使った
技術が、同じ基礎技術の非GSS−API呼び出し者の使用するトークンと、
相互通信可能でないかもしれません。
1.1.3: Security Contexts
1.1.3: セキュリティコンテキスト
Security contexts are established between peers, using credentials
established locally in conjunction with each peer or received by
peers via delegation. Multiple contexts may exist simultaneously
between a pair of peers, using the same or different sets of
credentials. Coexistence of multiple contexts using different
credentials allows graceful rollover when credentials expire.
Distinction among multiple contexts based on the same credentials
serves applications by distinguishing different message streams in a
security sense.
セキュリティコンテキストは、それぞれの通信相手間でローカルに確立され
るか、委任によって通信相手から受け取ったた証明書を使うために、通信相
手間に確立されます。同じか違う証明書を使って、同じ通信相手との間に多
数のコンテキストが同時に存在するかもしれません。異なった証明書を使う
多数のコンテキストの共存は、証明書の期限が切れる時も、優美な移行を許
します。同じ証明書に基づく多数のコンテキスト間の区別は、セキュリティ
の意味で異なるメッセージ流を区別することによってアプリケーションに供
給されます。
The GSS-API is independent of underlying protocols and addressing
structure, and depends on its callers to transport GSS-API-provided
data elements. As a result of these factors, it is a caller
responsibility to parse communicated messages, separating GSS-API-
related data elements from caller-provided data. The GSS-API is
independent of connection vs. connectionless orientation of the
underlying communications service.
GSS−APIは基礎プロトコルやアドレス体系と独立で、そして呼び出し
者がGSS−APIによって供給されたデータ要素を送ることをあてにしま
す。これらの要素の結果として、GSS−API関連のデータ要素と、呼び
出し者が供給したデータを分離し、伝達されたメッセージを解析するのは、
呼び出し者の責任です。GSS−APIは基礎通信サービスがコネクション
型かコネクションレス型かとは独立です。
No correlation between security context and communications protocol
association is dictated. (The optional channel binding facility,
discussed in Section 1.1.6 of this document, represents an
intentional exception to this rule, supporting additional protection
features within GSS-API supporting mechanisms.) This separation
allows the GSS-API to be used in a wide range of communications
environments, and also simplifies the calling sequences of the
individual calls. In many cases (depending on underlying security
protocol, associated mechanism, and availability of cached
information), the state information required for context setup can be
sent concurrently with initial signed user data, without interposing
additional message exchanges. Messages may be protected and
transferred in both directions on an established GSS-API security
context concurrently; protection of messages in one direction does
not interfere with protection of messages in the reverse direction.
セキュリティコンテキストと通信プロトコルアソシエーションの間の相互関
係が規定されません。(オプションのチャネル結合機能は、この文書の
1.1.6章で論じられて、このGSS−APIサポートメカニズムの中で追
加の保護機能をサポートするため、規則に意図的な例外を示します。)この
分離はGSS−APIが広範囲の通信環境で使われることを許し、そして同
じく個別の呼出しの呼出しシーケンスを単純化します。(基礎セキュリティ
プロトコルや、関連したメカニズムや、キャッシュ情報の有効性に依存して)
多くの場合に、コンテキスト設定に必要な状態情報は、追加のメッセージ交
換を入れる事なく、最初の署名されたユーザデータと共に同時に転送できま
す。GSS−APIセキュリティコンテキストの確立でメッセージが双方向
で保護され転送されるかもしれません;一方向での保護は逆の方角でメッセー
ジの保護を妨害しません。
GSS-API implementations are expected to retain inquirable context
data on a context until the context is released by a caller, even
after the context has expired, although underlying cryptographic data
elements may be deleted after expiration in order to limit their
exposure.
基礎暗号データ要素が暴露を制限するために期限切れの後に削除されるかも
しれないが、GSS−API実装は、コンテキストが期限が切れた後でも、
コンテキストの問い合わされたデータをコンテキストが呼び出し人に開放さ
れるまで維持することを期待されます。
1.1.4: Mechanism Types
1.1.4: メカニズム種別
In order to successfully establish a security context with a target
peer, it is necessary to identify an appropriate underlying mechanism
type (mech_type) which both initiator and target peers support. The
definition of a mechanism embodies not only the use of a particular
cryptographic technology (or a hybrid or choice among alternative
cryptographic technologies), but also definition of the syntax and
semantics of data element exchanges which that mechanism will employ
in order to support security services.
目標通信相手とセキュリティコンテキストの確立を成功させるために、開始
者とと目標通信相手がサポートする適切な基礎メカニズムタイプ(mech_type)
を識別することは必要です。メカニズムの定義は、特定の使用する暗号の技
術(あるいは組合せや、代わりの暗号の技術の選択)だけでなく、構文の定
義とそのメカニズムがセキュリティサービスをサポートするために使用する
データ要素交換の意味も具体化します。
It is recommended that callers initiating contexts specify the
"default" mech_type value, allowing system-specific functions within
or invoked by the GSS-API implementation to select the appropriate
mech_type, but callers may direct that a particular mech_type be
employed when necessary.
コンテキストを開始する呼び出し者が、GSS−API実装がシステム固有
機能を許すか、あるいは適切なmech_typeを選ぶために、「デフォルト」
mech_type値を指定する事を勧めます、しかし呼び出し者が特定のmech_type
が必要である時は指示してもよいです。
For GSS-API purposes, the phrase "negotiating mechanism" refers to a
mechanism which itself performs negotiation in order to select a
concrete mechanism which is shared between peers and is then used for
context establishment. Only those mechanisms which are defined in
their specifications as negotiating mechanisms are to yield selected
mechanisms with different identifier values than the value which is
input by a GSS-API caller, except for the case of a caller requesting
the "default" mech_type.
GSS−APIでは、語句「交渉メカニズム」は、通信相手と共有する具体
的なメカニズムを選択するために交渉を行い、そしてコンテキスト確立に使
うメカニズムを示します。「デフォルト」mech_typeを求めている呼び出し人
の場合以外、交渉メカニズムとして仕様書に定義されるメカニズムだけが、
GSS−API呼び出し人によって入力される値とは、異なった識別子値の
選定に選択されたメカニズムです。
The means for identifying a shared mech_type to establish a security
context with a peer will vary in different environments and
circumstances; examples include (but are not limited to):
通信相手とセキュリティコンテキストを確立するため共有されたmech_type
を識別する手段は、環境と状況により異なるでしょう;例えば以下です(こ
れだけに限定さません):
use of a fixed mech_type, defined by configuration, within an
environment
環境設定で定義された固定mech_type使用
syntactic convention on a target-specific basis, through
examination of a target's name lookup of a target's name in a
naming service or other database in order to identify mech_types
supported by that target
目標がサポートするmech_typesを識別するため、ネームサービスや他のデー
タベースでの目標名の目標検索により得られる、目標毎の構文的習慣
explicit negotiation between GSS-API callers in advance of
security context setup
セキュリティコンテキスト組立て前のGSS−API呼出し者間の明白な
交渉
use of a negotiating mechanism
交渉メカニズムの使用
When transferred between GSS-API peers, mech_type specifiers (per
Section 3 of this document, represented as Object Identifiers (OIDs))
serve to qualify the interpretation of associated tokens. (The
structure and encoding of Object Identifiers is defined in [ISOIEC-
8824] and [ISOIEC-8825].) Use of hierarchically structured OIDs
serves to preclude ambiguous interpretation of mech_type specifiers.
The OID representing the DASS ([RFC-1507]) MechType, for example, is
1.3.12.2.1011.7.5, and that of the Kerberos V5 mechanism ([RFC-
1964]), having been advanced to the level of Proposed Standard, is
1.2.840.113554.1.2.2.
GSS−APIの通信相手間で転送される時、(この文書の3章で、オブジェ
クト識別子(OID)として描かれる)mech_type指定が関連したトークンの
解釈を制限するのに役立ちます。(構造体とオブジェクト識別子のコーディン
グは[ISOIEC-8824]と[ISOIEC-8825]で定義されます。)階層的に構造化された
OIDの使用はmech_type指定のあいまいな解釈を妨げるのに役立ちます。D
ASS([RFC-1507])を示しているOIDMechType は、例えば、
1.3.12.2.1011.7.5で、そしてKerberos V5メカニズム
([RFC- 1964])のは、標準要望レベルに進められて、
1.2.840.113554.1.2.2です。
1.1.5: Naming
1.1.5: 命名
The GSS-API avoids prescribing naming structures, treating the names
which are transferred across the interface in order to initiate and
accept security contexts as opaque objects. This approach supports
the GSS-API's goal of implementability atop a range of underlying
security mechanisms, recognizing the fact that different mechanisms
process and authenticate names which are presented in different
forms. Generalized services offering translation functions among
arbitrary sets of naming environments are outside the scope of the
GSS-API; availability and use of local conversion functions to
translate among the naming formats supported within a given end
system is anticipated.
GSS−APIは命名構造の規定を避け、セキュリティコンテキストの開始
や受け取りのためにインターフェース上で転送する名前を不透明なオブジェ
クトとして扱います。異なるメカニズムが異なった形式の名前を処理と認証
するという事実認識から、この方法はGSS−APIの、広い範囲の基礎セ
キュリティメカニズム上での実装の目標をサポートします。任意の命名環境
間での翻訳機能を提供する一般的サービスは、GSS−APIの範囲外です;
名前フォーマット間での翻訳のための有効性とローカル変換機能の使用は、
エンドシステムが予期してる場合だけサポートされます。
Different classes of name representations are used in conjunction
with different GSS-API parameters:
名前表現の異なる種類が異なるGSS−APIパラメータとして使われます:
- Internal form (denoted in this document by INTERNAL NAME),
opaque to callers and defined by individual GSS-API
implementations. GSS-API implementations supporting multiple
namespace types must maintain internal tags to disambiguate the
interpretation of particular names. A Mechanism Name (MN) is a
special case of INTERNAL NAME, guaranteed to contain elements
corresponding to one and only one mechanism; calls which are
guaranteed to emit MNs or which require MNs as input are so
identified within this specification.
- 内部の形式(この文書で内部名と示す)、呼び出し者に不透明で、そし
て個別のGSS−API実装で定義される。多数の名前空間タイプをサポー
トしているGSS−API実装が特定の名前の解釈のあいまいさを排除す
るために内部タグを維持しなくてはなりません。メカニズム名は内部名の
特別な場合で、1つのメカニズムに1対1に対応する要素を含むことが保
証されます;MNを送る事を保証したい、あるいは入力としてMNを必要
とする呼出しはこの仕様書の中でこれで識別されます。
- Contiguous string ("flat") form (denoted in this document by
OCTET STRING); accompanied by OID tags identifying the namespace
to which they correspond. Depending on tag value, flat names may
or may not be printable strings for direct acceptance from and
presentation to users. Tagging of flat names allows GSS-API
callers and underlying GSS-API mechanisms to disambiguate name
types and to determine whether an associated name's type is one
which they are capable of processing, avoiding aliasing problems
which could result from misinterpreting a name of one type as a
name of another type.
- 連続文字列(「フラット」)形式(この文書でオクテット文字列と示す);
対応する名前空間を識別するOIDタグを伴います。タグ値に依存して、
フラット名はユーザからの直接入力やユーザへの表示のために、印刷可能
かもしれないし可能でないかもしれません。フラット名のタグ付けはGS
S−API呼び出し者と基礎GSS−APIメカニズム間での名前タイプ
のあいまいさを排除し、そして関連した名前タイプが処理できるタイプか
決定でき、1つのタイプの名前を他のタイプの名前と誤解することから生
じる別名問題を避けます。
- The GSS-API Exported Name Object, a special case of flat name
designated by a reserved OID value, carries a canonicalized form
of a name suitable for binary comparisons.
- GSS−API出力名前オブジェクト、予約のOID値で指定されたフ
ラット名の特別な場合、バイナリ比較に適した名前の正規化形式を運びま
す。
In addition to providing means for names to be tagged with types,
this specification defines primitives to support a level of naming
environment independence for certain calling applications. To provide
basic services oriented towards the requirements of callers which
need not themselves interpret the internal syntax and semantics of
names, GSS-API calls for name comparison (GSS_Compare_name()),
human-readable display (GSS_Display_name()), input conversion
(GSS_Import_name()), internal name deallocation (GSS_Release_name()),
and internal name duplication (GSS_Duplicate_name()) functions are
defined. (It is anticipated that these proposed GSS-API calls will be
implemented in many end systems based on system-specific name
manipulation primitives already extant within those end systems;
inclusion within the GSS-API is intended to offer GSS-API callers a
portable means to perform specific operations, supportive of
authorization and audit requirements, on authenticated names.)
加えて名前にタイプ名をタグ付けられる手段を提供するために、この仕様書
は呼出しアプリケーションとは独立な名前環境のレベルをサポートすプリミ
ティブを定義します。内部構文と意味的名の解釈をする必要がない呼び出し
者への基本的なサービスを供給するために、名前比較(GSS_Compare_name())
や、人間が読むことができる表示(GSS_Display_name())や、入力変換
(GSS_Import_name())や、内部名割当解除(GSS_Release_name())や、内
部名複製(GSS_Duplicate_name())のためのGSS−APIが定義されます。
(これらの提案されたGSS−API呼び出しが、エンドシステムですでに
残存しているシステム固有の名前扱いプリミティブに基づいた多くのエンド
システムに実装されるであろうことは予想されます;GSS−API が含
まれるのは、特定のオペレーションを行う事と、認可と監査条件のサポート
と、認証名を、GSS−API呼出し者に提供する簡易な手段を意図します)。
GSS_Import_name() implementations can, where appropriate, support
more than one printable syntax corresponding to a given namespace
(e.g., alternative printable representations for X.500 Distinguished
Names), allowing flexibility for their callers to select among
alternative representations. GSS_Display_name() implementations
output a printable syntax selected as appropriate to their
operational environments; this selection is a local matter. Callers
desiring portability across alternative printable syntaxes should
refrain from implementing comparisons based on printable name forms
and should instead use the GSS_Compare_name() call to determine
whether or not one internal-format name matches another.
GSS_Import_name()実装が、適切である場合は、所定の名前空間に対応してい
る1つ以上の印刷構文をサポートでき(例えば、X.500著名名のための
代用印刷表現)、呼び出し者が表現の選択肢の間で選択する柔軟性を許します。
GSS_Display_name()実装が操作環境に適切で選ばれたプリント可能構文を出
力します;この選択はローカルな問題です。ポータビリティを望む呼び出し
者が代わりの印刷可能構文で印刷可能名形式に基づいた比較を実行すること
を思いとどまるべきで、そしてその代わりに1つの内部のフォーマット名に
合うかどうか決定するGSS_Compare_name()要求を使うべきです。
When used in large access control lists, the overhead of invoking
GSS_Import_name() and GSS_Compare_name() on each name from the ACL
may be prohibitive. As an alternative way of supporting this case,
GSS-API defines a special form of the contiguous string name which
may be compared directly (e.g., with memcmp()). Contiguous names
suitable for comparison are generated by the GSS_Export_name()
routine, which requires an MN as input. Exported names may be re-
imported by the GSS_Import_name() routine, and the resulting internal
name will also be an MN. The symbolic constant GSS_C_NT_EXPORT_NAME
identifies the "export name" type. Structurally, an exported name
object consists of a header containing an OID identifying the
mechanism that authenticated the name, and a trailer containing the
name itself, where the syntax of the trailer is defined by the
individual mechanism specification. The precise format of an
exported name is defined in Section 3.2 of this specification.
大きいアクセス制御リストが使われる時、ACLのそれぞれの名前での
GSS_Import_name()とGSS_Compare_name()の処理のオーバーヘッドは禁止的か
もしれません。この場合をサポートする代わりの方法として、GSS−AP
Iは(例えば、memcmp()で)直接比較されるかもしれない文字列の特別な形
を定義します。比較に適した文字列名がGSS_Export_name()ルーチンによって
生成され、そしてこれは入力としてMNを必要とします。出力名が
GSS_Import_name()ルーチンに再度読み込まれるかもしれません、の結果生じ
る内部名前は同じくMNであるでしょう。シンボル定数GSS_C_NT_EXPORT_NAME
は「出力名」タイプを識別します。構造上、出力名オブジェクトが、名前を
認証したメカニズムを示すOIDを含むヘッダと、名前自身を含むトレーラ
からなり、トレーラの構文は個々のメカニズム仕様書で定義されます。出力
名の正確なフォーマットはこの仕様書の3.2章で定義されます。
Note that the results obtained by using GSS_Compare_name() will in
general be different from those obtained by invoking
GSS_Canonicalize_name() and GSS_Export_name(), and then comparing the
exported names. The first series of operations determines whether
two (unauthenticated) names identify the same principal; the second
whether a particular mechanism would authenticate them as the same
principal. These two operations will in general give the same
results only for MNs.
GSS_Compare_name()を使うことによって得た結果は、一般に、
GSS_Canonicalize_name()とGSS_Export_name()を行い次に出力名前を比較す
ることによって得られた結果と、異なるでしょう。最初のオペレーションは
2つの(認証されていない)名前が同じ主体を示すか決定します;2つ目は、
特定のメカニズムがこれらを同じ主体と示すかを決定します。これらの2つ
のオペレーションは一般にMNに対してだけは同じに結果を与えるでしょう。
The following diagram illustrates the intended dataflow among name-
related GSS-API processing routines.
次の図は名前関連のGSS−API処理ルーチン間の意図するデータの流れ
を示します。
GSS-API library defaults
GSS−APIライブラリデフォルト
|
|
V text, for
text --------------> internal_name (IN) -----------> display only
テキスト import_name() 内部名 display_name() 表示のみの
/ テキスト
/
/
accept_sec_context() /
| /
| /
| / canonicalize_name()
| /
| /
| /
| /
| /
| |
V V <---------------------
single mechanism import_name() exported name: flat
internal_name (MN) binary "blob" usable
1つのメカニズムの ----------------------> for access control
内部名(MN) export_name() 外部名:アクセス制御
に有用な「塊」フラッ
トバイナリ
1.1.6: Channel Bindings
1.1.6: チャンネル結合
The GSS-API accommodates the concept of caller-provided channel
binding ("chan_binding") information. Channel bindings are used to
strengthen the quality with which peer entity authentication is
provided during context establishment, by limiting the scope within
which an intercepted context establishment token can be reused by an
attacker. Specifically, they enable GSS-API callers to bind the
establishment of a security context to relevant characteristics
(e.g., addresses, transformed representations of encryption keys) of
the underlying communications channel, of protection mechanisms
applied to that communications channel, and to application-specific
data.
GSS−APIは呼び出し者が供給するチャネル結合(「chan_binding」)情
報の概念を受け入れます。チャンネル結合が、途中で盗んだコンテキスト設
立トークンを攻撃者が再利用することができる範囲を制限することで、品質
強化に使用され、これでコンテキスト設立の間に通信相手との認証を供給し
ます。特にこれは、GSS−API呼び出し者がセキュリティコンテキスト
の設立と、基礎通信チャネルや通信チャネルに適用される保護メカニズムや
アプリケーション固有データの重要な特徴(例えば、アドレス、暗号化鍵の
変換表現)の結合を許します。
The caller initiating a security context must determine the
appropriate channel binding values to provide as input to the
GSS_Init_sec_context() call, and consistent values must be provided
to GSS_Accept_sec_context() by the context's target, in order for
both peers' GSS-API mechanisms to validate that received tokens
possess correct channel-related characteristics. Use or non-use of
the GSS-API channel binding facility is a caller option. GSS-API
mechanisms can operate in an environment where NULL channel bindings
are presented; mechanism implementors are encouraged, but not
required, to make use of caller-provided channel binding data within
their mechanisms. Callers should not assume that underlying
mechanisms provide confidentiality protection for channel binding
information.
セキュリティコンテキストを開始する呼び出し者はGSS_Init_sec_context()
呼出の入力に供給する適切なチャネル結合値を決定しなくてはなりません、
そして整合した値がコンテキストの対象によってGSS_Accept_sec_context()
に供給されなくてはなりません、両方の通信者のGSS−APIメカニズム
がその妥当検査をするために、受け取ったトークンは正しいチャネル関連の
特徴を所持します。GSS−APIチャネル結合機能の使用あるいは非使用
は呼出し者の任意です。GSS−APIメカニズムがヌルチャネル結合が提
供される環境で動作できます;メカニズムで呼び出し者によって供給された
チャネル結合データを利用する事は、必須ではないが、メカニズム実装者に
奨励されます。呼び出し者が基礎メカニズムがチャンネル結合情報に機密性
保護を提供すると想定するべきではありません。
When non-NULL channel bindings are provided by callers, certain
mechanisms can offer enhanced security value by interpreting the
bindings' content (rather than simply representing those bindings, or
integrity check values computed on them, within tokens) and will
therefore depend on presentation of specific data in a defined
format. To this end, agreements among mechanism implementors are
defining conventional interpretations for the contents of channel
binding arguments, including address specifiers (with content
dependent on communications protocol environment) for context
initiators and acceptors. (These conventions are being incorporated
in GSS-API mechanism specifications and into the GSS-API C language
bindings specification.) In order for GSS-API callers to be portable
across multiple mechanisms and achieve the full security
functionality which each mechanism can provide, it is strongly
recommended that GSS-API callers provide channel bindings consistent
with these conventions and those of the networking environment in
which they operate.
ヌルでないチャネル結合が呼び出し者によって供給される時、ある特定のメ
カニズムが結合の内容を変換することによって(トークンで、単純に結合を
表現したり、完全性検査値を示すのではなく)強化されたセキュリティ値を
供給できて、これは定義されたフォーマットの特定のデータの表現に依存し
ます。この終わりで、コンテキスト開始者と受け取り者のためにの、(通信プ
ロトコル環境に依存している内容で)アドレス指定を含めて、チャネル結合
引数の中身のための、メカニズム履行者間の合意が従来の解釈で定義してい
ます。(これらの習慣はGSS−APメカニズム仕様でそしてGSS−API
C言語結合仕様の中に含まれています。)多数のメカニズムに移植性があり、
そしてそれぞれのメカニズムが供給できる完全なセキュリティ機能を供給し
たい、GSS−API呼び出し者が、これらの慣習と一貫したチャネル結合
と運用ネットワーキング環境を供給することは、強く推薦されます。
1.2: GSS-API Features and Issues
1.2: GSS−API機能と問題
This section describes aspects of GSS-API operations, of the security
services which the GSS-API provides, and provides commentary on
design issues.
この章はGSS−APIオペレーションと、GSS−APIが供給するセキュ
リティサービスの概要を記述し、そして設計問題の注釈を供給します。
1.2.1: Status Reporting and Optional Service Support
1.2.1: 状態報告とオプションサービスサポート
1.2.1.1: Status Reporting
1.2.1.1: 状態報告
Each GSS-API call provides two status return values. Major_status
values provide a mechanism-independent indication of call status
(e.g., GSS_S_COMPLETE, GSS_S_FAILURE, GSS_S_CONTINUE_NEEDED),
sufficient to drive normal control flow within the caller in a
generic fashion. Table 1 summarizes the defined major_status return
codes in tabular fashion.
それぞれのGSS−API呼出しは2つの状態帰り値を供給します。主状態
値が呼出し状態のメカニズム非依存の表示を供給し(例えば、
GSS_S_COMPLETE、GSS_S_FAILURE、GSS_S_CONTINUE_NEEDED)、一般的な方法
での呼出しでの通常の制御の流れに十分です。表1が表形式で、定義された
主状態リターンコードを要約します。
Sequencing-related informatory major_status codes
(GSS_S_DUPLICATE_TOKEN, GSS_S_OLD_TOKEN, GSS_S_UNSEQ_TOKEN, and
GSS_S_GAP_TOKEN) can be indicated in conjunction with either
GSS_S_COMPLETE or GSS_S_FAILURE status for GSS-API per-message calls.
For context establishment calls, these sequencing-related codes will
be indicated only in conjunction with GSS_S_FAILURE status (never in
conjunction with GSS_S_COMPLETE or GSS_S_CONTINUE_NEEDED), and,
therefore, always correspond to fatal failures if encountered during
the context establishment phase.
シーケンス関連の情報的主状態コード(GSS_S_DUPLICATE_TOKENと
GSS_S_OLD_TOKENとGSS_S_UNSEQ_TOKENとGSS_S_GAP_TOKEN)が、GSS−AP
Iのメッセージ毎の呼出しで、GSS_S_COMPLETEあるいはGSS_S_FAILURE状態と
関連して示されます。コンテキスト確立の呼出しで、これらのシーケンス関
連のコードはGSS_S_FAILURE状態と関連してだけ示され(GSS_S_COMPLETEや
GSS_S_CONTINUE_NEEDEDと関連しては示されない)、従って、もしコンテキス
ト設立段階で遭遇するなら、常に致命的な障害に対応するでしょう。
Table 1: GSS-API Major Status Codes
表1:GSS−API主状態コード
FATAL ERROR CODES
致命的エラーコード
GSS_S_BAD_BINDINGS channel binding mismatch
チャンネル結合不適当な組合わせ
GSS_S_BAD_MECH unsupported mechanism requested
サポートしていないメカニズムの要求
GSS_S_BAD_NAME invalid name provided
無効な名前の供給
GSS_S_BAD_NAMETYPE name of unsupported type provided
サポートされていないタイプの名前の供給
GSS_S_BAD_STATUS invalid input status selector
不適切な入力状態選択
GSS_S_BAD_SIG token had invalid integrity check
トークンの完全性チェックが無効
GSS_S_BAD_MIC preferred alias for GSS_S_BAD_SIG
GSS_S_BAD_SIGに望ましい別名
GSS_S_CONTEXT_EXPIRED specified security context expired
セキュリティコンテキストの期限切れの明示
GSS_S_CREDENTIALS_EXPIRED expired credentials detected
期限切れ証明書の発見
GSS_S_DEFECTIVE_CREDENTIAL defective credential detected
不完全な証明書の発見
GSS_S_DEFECTIVE_TOKEN defective token detected
不完全トークンの発見
GSS_S_FAILURE failure, unspecified at GSS-API
level
GSS−APIレベルで特定されてない失敗
GSS_S_NO_CONTEXT no valid security context specified
効力があるセキュリティコンテキストが指定されてない
GSS_S_NO_CRED no valid credentials provided
正当な資格証明が供給されていない
GSS_S_BAD_QOP unsupported QOP value
サポートされていないQOP値
GSS_S_UNAUTHORIZED operation unauthorized
無許可のオペレーション
GSS_S_UNAVAILABLE operation unavailable
利用できないオペレーション
GSS_S_DUPLICATE_ELEMENT duplicate credential element requested
重複証明書要素が要求された
GSS_S_NAME_NOT_MN name contains multi-mechanism elements
名前が多数のメカニズム要素を含む
INFORMATORY STATUS CODES
情報的状態コード
GSS_S_COMPLETE normal completion
標準的な完了
GSS_S_CONTINUE_NEEDED continuation call to routine
required
ルーチンへの継続呼出しが必要
GSS_S_DUPLICATE_TOKEN duplicate per-message token
detected
メッセージ毎のトークンの重複発見
GSS_S_OLD_TOKEN timed-out per-message token
detected
メッセージ毎のトークンの検出のタイムアウト
GSS_S_UNSEQ_TOKEN reordered (early) per-message token
detected
メッセージ毎のトークンの検出の再要求(早い)
GSS_S_GAP_TOKEN skipped predecessor token(s)
detected
前のトークン検出の省略
Minor_status provides more detailed status information which may
include status codes specific to the underlying security mechanism.
Minor_status values are not specified in this document.
副状態は基礎セキュリティ機構に固有の状態コードを含むかもしれな詳細な
状態情報を供給します。副状態値はこの文書で指定されません。
GSS_S_CONTINUE_NEEDED major_status returns, and optional message
outputs, are provided in GSS_Init_sec_context() and
GSS_Accept_sec_context() calls so that different mechanisms'
employment of different numbers of messages within their
authentication sequences need not be reflected in separate code paths
within calling applications. Instead, such cases are accommodated
with sequences of continuation calls to GSS_Init_sec_context() and
GSS_Accept_sec_context(). The same facility is used to encapsulate
mutual authentication within the GSS-API's context initiation calls.
GSS_S_CONTINUE_NEEDED主状態の返送とオプションメッセージ出力は、
GSS_Init_sec_context()とGSS_Accept_sec_context()呼び出しで供給され、
そして異なるメカニズムの認証シーケンスでの異なる数のメッセージの使用
は、呼出しアプリケーションの異なるコードパスの反映を必要としません。
その代わりに、このような場合はGSS_Init_sec_context()と
GSS_Accept_sec_context()への呼出しの連続で受け入れられます。同じ機能
はGSS−APIのコンテンツ開始呼出しで相互認証をカプセル化するため
に使われます。
For mech_types which require interactions with third-party servers in
order to establish a security context, GSS-API context establishment
calls may block pending completion of such third-party interactions.
On the other hand, no GSS-API calls pend on serialized interactions
with GSS-API peer entities. As a result, local GSS-API status
returns cannot reflect unpredictable or asynchronous exceptions
occurring at remote peers, and reflection of such status information
is a caller responsibility outside the GSS-API.
セキュリティコンテキストを確立するためにサードパーティーサーバと対話
を必要とするmech_typesのために、GSS−APIコンテキスト設立呼出し
はこのようなサードパーティとの対話の終了の保留を妨げるかもしれません。
他方、GSS−API呼出しがGSS−API通信相手との連続対話を保留
しません。結果として、ローカルなGSS−API状態返送は、相手側での
予想できないあるいは非同期の例外の発生を反映せず、このような地位情報
の考慮はGSS−APIのの外の呼び出し者の責任です。
1.2.1.2: Optional Service Support
1.2.1.2: 任意サービスサポート
A context initiator may request various optional services at context
establishment time. Each of these services is requested by setting a
flag in the req_flags input parameter to GSS_Init_sec_context().
コンテキスト開始者がコンテキスト設立時間に様々なオプションサービスを
求めるかもしれません。これらのサービスのそれぞれが、
GSS_Init_sec_context()のreq_flags入力パラメータのフラグを設定するこ
とによって求められます。
The optional services currently defined are:
現在定義された任意のサービスは以下です:
- Delegation - The (usually temporary) transfer of rights from
initiator to acceptor, enabling the acceptor to authenticate
itself as an agent of the initiator.
- 委任 - 受信者が受信者自身を開始者のエージェントとして認証できるよ
うにするために、開始者から受信者への権利の(通常一時的な)転送。
- Mutual Authentication - In addition to the initiator
authenticating its identity to the context acceptor, the context
acceptor should also authenticate itself to the initiator.
- 相互認証 - コンテキスト開始者が自分の識別子を受信者に認証させる他
に、コンテキスト受信者が開始者に認証をさせるべき。
- Replay detection - In addition to providing message integrity
services, GSS_GetMIC() and GSS_Wrap() should include message
numbering information to enable GSS_VerifyMIC() and GSS_Unwrap()
to detect if a message has been duplicated.
- 再生攻撃発見 - メッセージ完全性サービスを供給することに加えて、
GSS_VerifyMIC()とGSS_Unwrap()がメッセージが重複したか検出できるよ
うに、GSS_GetMIC()とGSS_Wrap()はメッセージ番号情報を含めるべき。
- Out-of-sequence detection - In addition to providing message
integrity services, GSS_GetMIC() and GSS_Wrap() should include
message sequencing information to enable GSS_VerifyMIC() and
GSS_Unwrap() to detect if a message has been received out of
sequence.
- シーケンス外の発見 - メッセージ完全性サービスを供給することに加え
て、GSS_VerifyMIC()とGSS_Unwrap()がメッセージが順序通り受信できた
か検出できるように、GSS_GetMIC()とGSS_Wrap()はメッセージ順序情報を
含むべき。
- Anonymous authentication - The establishment of the security
context should not reveal the initiator's identity to the context
acceptor.
- 匿名認証 - セキュリティコンテキストの設立はコンテキスト受信者に
開始者の識別子を明らかにするべきではありません。
- Available per-message confidentiality - requests that per-
message confidentiality services be available on the context.
- メッセージ毎の機密性の利用 - メッセージ毎の機密性サービスがコン
テキスト上で利用可能であることを要請。
- Available per-message integrity - requests that per-message
integrity services be available on the context.
- メッセージ毎の完全性の利用 - メッセージ毎の完全性がコンテキスト
上で利用可能であることを要請。
Any currently undefined bits within such flag arguments should be
ignored by GSS-API implementations when presented by an application,
and should be set to zero when returned to the application by the
GSS-API implementation.
フラグ引数の中の現在未使用のビットがアプリケーションから設定される時、
GSS−API実装は無視すべきで、GSS−API実装がアプリケーショ
ンに返す時は、ゼロを設定するべきです。
Some mechanisms may not support all optional services, and some
mechanisms may only support some services in conjunction with others.
Both GSS_Init_sec_context() and GSS_Accept_sec_context() inform the
applications which services will be available from the context when
the establishment phase is complete, via the ret_flags output
parameter. In general, if the security mechanism is capable of
providing a requested service, it should do so, even if additional
services must be enabled in order to provide the requested service.
If the mechanism is incapable of providing a requested service, it
should proceed without the service, leaving the application to abort
the context establishment process if it considers the requested
service to be mandatory.
あるメカニズムがすべての一部のサービスをサポートしないかもしれません、
そしてあるメカニズムが他との関連でだけあるサービスをサポートするかも
しれません。GSS_Init_sec_context()とGSS_Accept_sec_context()の両方が、
設立段階が完了すると、コンテキストでどのサービスが利用可能であるか、
ret_flags出力パラメータによって、アプリケーションに通知します。一般
に、たとえ求められたサービスを供給するために他のサービスが使用可能で
あっても、もしセキュリティ機構が求められたサービスを供給することがで
きるなら、サービスを供給するべきです。もしメカニズムが求められたサー
ビスを供給する能力がないなら、サービス無しで処理を進めるべきで、もし
求められたサービスが必須と考えるなら、アプリケーションにコンテキスト
設立プロセスを中止させるべきです。
Some mechanisms may specify that support for some services is
optional, and that implementors of the mechanism need not provide it.
This is most commonly true of the confidentiality service, often
because of legal restrictions on the use of data-encryption, but may
apply to any of the services. Such mechanisms are required to send
at least one token from acceptor to initiator during context
establishment when the initiator indicates a desire to use such a
service, so that the initiating GSS-API can correctly indicate
whether the service is supported by the acceptor's GSS-API.
あるメカニズムがあるサービスのサポートが任意で、メカニズム実装者がそ
れを供給する必要がないと、明示するかもしれません。しばしば法律上のデー
タ暗号化の使用の制限のために、これは機密性サービスで一般に真実で、し
かしサービスに適用してもよいです。このようなメカニズムは、開始者がこ
のようなサービスを使う要望を示す時、コンテキスト設立の際に受信者から
開始者に少なくとも1つのトークンを要求し、そして、GSS−APIの開
始は正確にサービスが受信者GSS−APIでサポートするかを示すことが
できます。
1.2.2: Per-Message Security Service Availability
1.2.2: メッセージ毎セキュリティサービス有効性
When a context is established, two flags are returned to indicate the
set of per-message protection security services which will be
available on the context:
コンテキストが確立される時、コンテキスト上で利用可能であるメッセージ
毎のセキュリティサービスを示すために、2つのフラグが返されます:
the integ_avail flag indicates whether per-message integrity and
data origin authentication services are available
the conf_avail flag indicates whether per-message confidentiality
services are available, and will never be returned TRUE unless the
integ_avail flag is also returned TRUE
integ_availフラグはメッセージ毎の完全性とデータ源認証サービスが利
用可能であるか否かを示し、conf_availフラグはメッセージ毎の機密性
サービスが利用可能かを示し、そしてconf_availフラグはinteg_availフ
ラグが真でなければ真ではありません。
GSS-API callers desiring per-message security services should check
the values of these flags at context establishment time, and must be
aware that a returned FALSE value for integ_avail means that
invocation of GSS_GetMIC() or GSS_Wrap() primitives on the associated
context will apply no cryptographic protection to user data messages.
メッセージ毎セキュリティサービスを要望するGSS−API呼び出し者が
コンテキスト設立時においてこれらのフラグの値をチェックするべきであり、
そしてinteg_availの返された値が偽が、関連したコンテキストのGSS_GetMIC()
やGSS_Wrap()プリミティブの実行がユーザデータメッセージの暗号保護をし
ないことを意味することを、知っていなくてはなりません。
The GSS-API per-message integrity and data origin authentication
services provide assurance to a receiving caller that protection was
applied to a message by the caller's peer on the security context,
corresponding to the entity named at context initiation. The GSS-API
per-message confidentiality service provides assurance to a sending
caller that the message's content is protected from access by
entities other than the context's named peer.
GSS−APIのメッセージ毎完全性とデータ源認証サービスは、コンテキ
スト開始で指定されたセキュリティコンテキストの相手によりメッセージに
保護が適用されていることを、受信呼出し者に保証します。GSS−API
のメッセージ毎機密性サービスは、メッセージ内容のコンテキストの指定さ
れた相手以外のアクセスからの保護を、送信呼出し者に保障します。
The GSS-API per-message protection service primitives, as the
category name implies, are oriented to operation at the granularity
of protocol data units. They perform cryptographic operations on the
data units, transfer cryptographic control information in tokens,
and, in the case of GSS_Wrap(), encapsulate the protected data unit.
As such, these primitives are not oriented to efficient data
protection for stream-paradigm protocols (e.g., Telnet) if
cryptography must be applied on an octet-by-octet basis.
GSS−APIメッセージ毎保護サービスプリミティブは、カテゴリー名が
暗示するように、プロトコルデータユニットの単位でのオペレーションに向
けられています。これらはデータユニット上で暗号オペレーションを行い、
トークンで暗号制御情報を転送し、そして、GSS_Wrap()の場合は保護された
データユニットをカプセル化します。それで、これらのプリミティブは、も
し暗号がオクテット毎に適用されるなら、ストリーム型プロトコル(例えば、
Telnet)での効率的なデータ保護に向いていません。
1.2.3: Per-Message Replay Detection and Sequencing
1.2.3: メッセージ毎の再生攻撃発見と順序付け
Certain underlying mech_types offer support for replay detection
and/or sequencing of messages transferred on the contexts they
support. These optionally-selectable protection features are distinct
from replay detection and sequencing features applied to the context
establishment operation itself; the presence or absence of context-
level replay or sequencing features is wholly a function of the
underlying mech_type's capabilities, and is not selected or omitted
as a caller option.
ある特定の基礎メカニズムタイプが、コンテキスト上で転送するメッセージ
の、再生攻撃発見やメッセージ順序付けに対するサポートを提供します。こ
れらの任意選択の保護機能は、コンテキスト設立段階で適用される自分自身
への再生検出と順序付けとは異なっています;コンテキストレベル再生ある
いは順序付け機能はの存在あるいは欠如は、基礎メカニズムタイプの機能で
あり、呼び出し者のオプションとして選択したり除いたりはできません。
The caller initiating a context provides flags (replay_det_req_flag
and sequence_req_flag) to specify whether the use of per-message
replay detection and sequencing features is desired on the context
being established. The GSS-API implementation at the initiator system
can determine whether these features are supported (and whether they
are optionally selectable) as a function of the selected mechanism,
without need for bilateral negotiation with the target. When enabled,
these features provide recipients with indicators as a result of
GSS-API processing of incoming messages, identifying whether those
messages were detected as duplicates or out-of-sequence. Detection of
such events does not prevent a suspect message from being provided to
a recipient; the appropriate course of action on a suspect message is
a matter of caller policy.
コンテキストを開始する呼び出し者は、コンテキスト設立段階で、メッセー
ジ毎の再生攻撃発見と順序付け機能を使用を望むかどうかを明示するために
フラグ(replay_det_req_flagとsequence_req_flag)を供給します。開始者
側のGSS−API実装は、選択されたメカニズムの機能として、相手との
双方向の交渉の必要無しに、これらの機能がサポートされるかどうか(そし
てそれらがオプションとして選択可能であるか)を、決定できます。利用可
能である時、これらの機能は入りメッセージのGSS−API処理の結果と
して受信者に、メッセージが重複あるいは順序通りでない事を検出されたか
どうかを示す、表示を提供します。このようなイベントの発見は疑わしいメッ
セージが受信者に供給されるのを阻止しません;疑わしいメッセージに対す
る適切な行動は呼び出し者のポリ氏の問題です。
The semantics of the replay detection and sequencing services applied
to received messages, as visible across the interface which the GSS-
API provides to its clients, are as follows:
GSS−APIが供給するインタフェースでクライアントに見える、受信メッ
セージに適用される再生検出と順序付けサービスの意味は以下のとおりです:
When replay_det_state is TRUE, the possible major_status returns for
well-formed and correctly signed messages are as follows:
replay_det_stateが真である時、正しいフォーマットで正確に署名されたメッ
セージに対して可能な主状態返り値は次の通りです:
1. GSS_S_COMPLETE, without concurrent indication of
GSS_S_DUPLICATE_TOKEN or GSS_S_OLD_TOKEN, indicates that the
message was within the window (of time or sequence space) allowing
replay events to be detected, and that the message was not a
replay of a previously-processed message within that window.
1. GSS_S_DUPLICATE_TOKENあるいはGSS_S_OLD_TOKENの同時表示なしの
GSS_S_COMPLETEは、メッセージが再生イベントに検出できる(時間または
順序空間での)ウィンドウ内にあり、そしてメッセージがそのウィンドウ
内で前に処理されたメッセージの再生ではなかったことを示します。
2. GSS_S_DUPLICATE_TOKEN indicates that the cryptographic
checkvalue on the received message was correct, but that the
message was recognized as a duplicate of a previously-processed
message. In addition to identifying duplicated tokens originated
by a context's peer, this status may also be used to identify
reflected copies of locally-generated tokens; it is recommended
that mechanism designers include within their protocols facilities
to detect and report such tokens.
2. GSS_S_DUPLICATE_TOKENは受信メッセージ上の暗号の検査値が正しかっ
たが、しかしメッセージが前に処理されたメッセージの重複として認知さ
れたことを示します。コンテキスト通信相手の生成した重複トークンの識
別に加えて、この状態はローカル生成トークンの再生コピーも識別します;
メカニズム設計者がプロトコル内でこのようなトークンを発見し、そして
報告する機能を含むことが勧められます。
3. GSS_S_OLD_TOKEN indicates that the cryptographic checkvalue on
the received message was correct, but that the message is too old
to be checked for duplication.
3. GSS_S_OLD_TOKENは受信メッセージ上の暗号検査値が正しかったが、し
かしメッセージが複製がないか検査するにはあまりにも古いことを示しま
す。
When sequence_state is TRUE, the possible major_status returns for
well-formed and correctly signed messages are as follows:
sequence_stateが真である時、形式が正しく正確に署名されたメッセージの
可能な主状態応答は次の通りです:
1. GSS_S_COMPLETE, without concurrent indication of
GSS_S_DUPLICATE_TOKEN, GSS_S_OLD_TOKEN, GSS_S_UNSEQ_TOKEN, or
GSS_S_GAP_TOKEN, indicates that the message was within the window
(of time or sequence space) allowing replay events to be detected,
that the message was not a replay of a previously-processed
message within that window, and that no predecessor sequenced
messages are missing relative to the last received message (if
any) processed on the context with a correct cryptographic
checkvalue.
1. GSS_S_DUPLICATE_TOKENかGSS_S_OLD_TOKENかGSS_S_UNSEQ_TOKENか
GSS_S_GAP_TOKENのないGSS_S_COMPLETEは、メッセージが(時間またはシー
ケンス空間の)ウィンドウ内にあり再生イベントを検出でき、メッセージ
はウィンドウ内の前に処理したメッセージの再生ではなく、正しい暗号検
査値の最後の受信メッセージ(もしあれば)に関連して、シーケンスの欠
けているメッセージがないことを示すます。
2. GSS_S_DUPLICATE_TOKEN indicates that the integrity check value
on the received message was correct, but that the message was
recognized as a duplicate of a previously-processed message. In
addition to identifying duplicated tokens originated by a
context's peer, this status may also be used to identify reflected
copies of locally-generated tokens; it is recommended that
mechanism designers include within their protocols facilities to
detect and report such tokens.
2. GSS_S_DUPLICATE_TOKENは受信メッセージ上の完全性検査値が正しかっ
たが、メッセージが前に処理されたメッセージの重複として認知されたこ
とを示します。コンテキストの相手の生成したトークンの重複を識別する
ことに加えて、この状態はローカルに生成されたトークンの反射コピーを
識別するためにも使われるかもしれません;メカニズム設計者がプロトコ
ルにこのようなトークンを発見し報告する機能を含めることが勧められま
す。
3. GSS_S_OLD_TOKEN indicates that the integrity check value on the
received message was correct, but that the token is too old to be
checked for duplication.
3. GSS_S_OLD_TOKENは受信メッセージの完全性検査値が正しかったが、
しかしトークンが複製がないか検査するには古すぎることを示します。
4. GSS_S_UNSEQ_TOKEN indicates that the cryptographic checkvalue
on the received message was correct, but that it is earlier in a
sequenced stream than a message already processed on the context.
[Note: Mechanisms can be architected to provide a stricter form of
sequencing service, delivering particular messages to recipients
only after all predecessor messages in an ordered stream have been
delivered. This type of support is incompatible with the GSS-API
paradigm in which recipients receive all messages, whether in
order or not, and provide them (one at a time, without intra-GSS-
API message buffering) to GSS-API routines for validation. GSS-
API facilities provide supportive functions, aiding clients to
achieve strict message stream integrity in an efficient manner in
conjunction with sequencing provisions in communications
protocols, but the GSS-API does not offer this level of message
stream integrity service by itself.]
4. GSS_S_UNSEQ_TOKENは受信メッセージ上の暗号検査値が正しかったが、
すでにコンテキストで処理したメッセージより順番的に前であることを示
します。[ノート:すべての順序づけられた流れで、前のメッセージが届
けられた後にだけ、受信者へ特定のメッセージを届けているように、順序
付けサービスのより厳しい方法を供給するようにメカニズムを設計するこ
とができます。このタイプのサポートは、受信者が順序通りかどうかにか
かわらずすべてのメッセージを受け取り、それを検証のためにGSS−A
PIルーチンに投入する(GSS−API内部メッセージバッファなしで、
1つづつ)、GSS−APIパラダイムと不適合です。GSS−API機
能はが、通信プロトコルで順序付け供給と関連して効率的な方法で厳密な
メッセージストリーム完全性を成し遂げるためにクライアントを援助し、
支持する機能を供給しますが、GSS−APIは自分自身でこのメッセー
ジストリーム完全性サービスのレベルを供給しません。]
5. GSS_S_GAP_TOKEN indicates that the cryptographic checkvalue on
the received message was correct, but that one or more predecessor
sequenced messages have not been successfully processed relative
to the last received message (if any) processed on the context
with a correct cryptographic checkvalue.
5. GSS_S_GAP_TOKENは受信メッセージ上の暗号検査値が正しかったが、コ
ンテキストで処理された最後の正しい暗号検査値のメッセージ(もしあれ
ば)に関連して、1つ以上の前のメッセージの処理が成功していないこと
を示します。
As the message stream integrity features (especially sequencing) may
interfere with certain applications' intended communications
paradigms, and since support for such features is likely to be
resource intensive, it is highly recommended that mech_types
supporting these features allow them to be activated selectively on
initiator request when a context is established. A context initiator
and target are provided with corresponding indicators
(replay_det_state and sequence_state), signifying whether these
features are active on a given context.
メッセージストリーム完全性機能(特に順序付け)がある特定のアプリケー
ションの意図的な通信パラダイムを妨害するかもしれないくて、そしてこの
ような機能に対するサポートが資源集中的である可能性が高いので、これら
の機能をサポートしているメカニズムタイプは、コンテキストが確立される
時に、開始者の要求で選択的に動作できるようにすることは大いに推薦され
ます。コンテキスト開始者と相手は対応する表示(replay_det_stateと
sequence_state)を提供し、コンテキスト上でこれらの機能がアクティブで
あるか否かを示します。
An example mech_type supporting per-message replay detection could
(when replay_det_state is TRUE) implement the feature as follows: The
underlying mechanism would insert timestamps in data elements output
by GSS_GetMIC() and GSS_Wrap(), and would maintain (within a time-
limited window) a cache (qualified by originator-recipient pair)
identifying received data elements processed by GSS_VerifyMIC() and
GSS_Unwrap(). When this feature is active, exception status returns
(GSS_S_DUPLICATE_TOKEN, GSS_S_OLD_TOKEN) will be provided when
GSS_VerifyMIC() or GSS_Unwrap() is presented with a message which is
either a detected duplicate of a prior message or which is too old to
validate against a cache of recently received messages.
(replay_det_stateが真である時)機能を実行する、メッセージ毎の再生攻
撃検出をサポートするメカニズムタイプの例は次の通りです:基礎メカニズ
ムはタイムスタンプををGSS_GetMIC()とGSS_Wrap()の出力したデータ要素に
挿入し、そしてGSS_VerifyMIC()とGSS_Unwrap()で処理された受信データ素
子を(時間限定ウインドウ内で)識別する(開始者受信者対毎に制限された)
キャッシュを維持するでしょう。この機能がアクティブであり、前のメッセー
ジと重複か最近受信したメッセージのキャッシュには古すぎるメッセージを
伴うGSS_VerifyMIC()あるいはGSS_Unwrap()がある時、例外状態応答
(GSS_S_DUPLICATE_TOKEN、GSS_S_OLD_TOKEN)が供給されます。
1.2.4: Quality of Protection
1.2.4: 保護の品質
Some mech_types provide their users with fine granularity control
over the means used to provide per-message protection, allowing
callers to trade off security processing overhead dynamically against
the protection requirements of particular messages. A per-message
quality-of-protection parameter (analogous to quality-of-service, or
QOS) selects among different QOP options supported by that mechanism.
On context establishment for a multi-QOP mech_type, context-level
data provides the prerequisite data for a range of protection
qualities.
あるマッチタイプは、呼出し者が特定のメッセージの保護条件に対して動的
にセキュリティ処理のオーバヘッドを扱えるように、ユーザにメッセージ毎
の保護の高精度の手段を供給します。(「サービス品質」あるいはQoSに類
似して)メッセージ毎の「保護品質」パラメータで、そのメカニズムがサポー
トする異なるQOPオプションの選択をします。マルチQOPのマッチタイ
プのコンテキスト設立時に、コンテキストレベルデータが広範囲の保護に不
可欠なデータを供給します。
It is expected that the majority of callers will not wish to exert
explicit mechanism-specific QOP control and will therefore request
selection of a default QOP. Definitions of, and choices among, non-
default QOP values are mechanism-specific, and no ordered sequences
of QOP values can be assumed equivalent across different mechanisms.
Meaningful use of non-default QOP values demands that callers be
familiar with the QOP definitions of an underlying mechanism or
mechanisms, and is therefore a non-portable construct. The
GSS_S_BAD_QOP major_status value is defined in order to indicate that
a provided QOP value is unsupported for a security context, most
likely because that value is unrecognized by the underlying
mechanism.
呼び出し者の大多数は、明示的にメカニズム特定のQOP制御を望まないで
しょう、従ってデフォルトQOPオプションを求めるであろうと思われます。
非デフォルトQOP値の定義と選択はメカニズム固有で、そして順序のない
QOS値は異なるメカニズムで同じと思うことができます。非デフォルトの
QOP値の意味のある使用は、呼び出し者が基礎メカニズムあるいはメカニ
ズムのQOP定義に精通していることを要求し、それ故に非ポータブルの概
念です。供給されたQOP値が、たぶんその値が基礎メカニズムで認められ
ないため、セキュリティコンテキストでサポートされていないことを示すた
めに、GSS_S_BAD_QOP主状態値が定義されます。
In the interests of interoperability, mechanisms which allow optional
support of particular QOP values shall satisfy one of the following
conditions. Either:
互換性の関係で、特定のQOP値のサポートを許すメカニズムは次の条件の
1つを満たすべきです。いずれか:
(i) All implementations of the mechanism are required to be
capable of processing messages protected using any QOP value,
regardless of whether they can apply protection corresponding to
that QOP, or
(i)すべてのメカニズムの実装は任意のQOP値に対し、そのQOPに対
応している保護を適用できるかどうかにかかわらず、そのQOP値を使っ
たメッセージ保護処理の能力があるように要求される、あるいは。
(ii) The set of mutually-supported receiver QOP values must be
determined during context establishment, and messages may be
protected by either peer using only QOP values from this
mutually-supported set.
(ii)相互にサポートする受信QOP値はコンテキスト設立の間に決定され
なければならず、そして両者がこのQOP値だけを使ってメッセージを保
護しなければまりません。
NOTE: (i) is just a special-case of (ii), where implementations are
required to support all QOP values on receipt.
ノート:(i)はちょうど(ii)の特別な場合で、実装が受信したすべてのQOP
値をサポートするように要求されます。
1.2.5: Anonymity Support
1.2.5: 匿名サポート
In certain situations or environments, an application may wish to
authenticate a peer and/or protect communications using GSS-API per-
message services without revealing its own identity. For example,
consider an application which provides read access to a research
database, and which permits queries by arbitrary requestors. A
client of such a service might wish to authenticate the service, to
establish trust in the information received from it, but might not
wish to disclose its identity to the service for privacy reasons.
ある特定の状態あるいは環境で、アプリケーションがGSS−APIのメッ
セージ毎のサービスを使用して通信相手を認証や通信の保護を、自分自身を
明らかにしないですることを望むかもしれません。例えば、研究データベー
スに読み取りアクセスを供給し、そして任意の要求者に問合せを認めるアプ
リケーションを考えてください。このようなサービスのクライアントがサー
ビス認証をして、それから受信した情報で信頼の確立を望むかもしれません
が、プライバシの理由でサービスにその識別子を明らかにすることを望まな
いかもしれません。
In ordinary GSS-API usage, a context initiator's identity is made
available to the context acceptor as part of the context
establishment process. To provide for anonymity support, a facility
(input anon_req_flag to GSS_Init_sec_context()) is provided through
which context initiators may request that their identity not be
provided to the context acceptor. Mechanisms are not required to
honor this request, but a caller will be informed (via returned
anon_state indicator from GSS_Init_sec_context()) whether or not the
request is honored. Note that authentication as the anonymous
principal does not necessarily imply that credentials are not
required in order to establish a context.
普通のGSS−APIの使用法で、コンテキスト開始者の識別子はコンテキ
スト設立プロセスの一部としてコンテキスト受信者に入手可能であるように
します。匿名サポートを提供するために、機能(GSS_Init_sec_context()へ
anon_req_flagの入力)が供給され、コンテキスト開始者は識別子をコンテ
キスト受信者に供給しないように要請できます。メカニズムがこの要請を絶
対的と考えるようには要求されませんが、要求が満たされたかどうかにかか
わらず、呼び出し者には(GSS_Init_sec_context()からの返された
anon_state表示によって)知らせられるでしょう。匿名の主体としての認証
は、コンテキスト設立で証明書が必要でないことを意味しない事に気付いて
ください。
Section 4.5 of this document defines the Object Identifier value used
to identify an anonymous principal.
この文書の4.5章が匿名の主体を識別するために使ったオブジェクト識別子
値を定義します。
Four possible combinations of anon_state and mutual_state are
possible, with the following results:
anon_stateとmutual_stateの4つの可能な組み合わせがあり、次の通りです:
anon_state == FALSE, mutual_state == FALSE: initiator
authenticated to target.
anon_state=偽でmutual_state=偽:開始者が目標に認証された。
anon_state == FALSE, mutual_state == TRUE: initiator authenticated
to target, target authenticated to initiator.
anon_state=偽で mutual_state=真:開始者が目標に認証され、目標が
開始者に認証された。
anon_state == TRUE, mutual_state == FALSE: initiator authenticated
as anonymous principal to target.
anon_state=真でmutual_state=偽:開始者が匿名主体として目標に認
証された。
anon_state == TRUE, mutual_state == TRUE: initiator authenticated
as anonymous principal to target, target authenticated to
initiator.
anon_state=真でmutual_state=真:開始者が匿名主体として目標に認
証され、目標が開始者に認証された。
1.2.6: Initialization
1.2.6: 初期化
No initialization calls (i.e., calls which must be invoked prior to
invocation of other facilities in the interface) are defined in GSS-
API. As an implication of this fact, GSS-API implementations must
themselves be self-initializing.
GSS−APIで初期化呼出し(すなわち、インタフェースで他の機能の実
施前に行わなければならない呼出し)はありません。この事実は、GSS−
API実装が自分自身で初期化していなくてはならない事を意味します。
1.2.7: Per-Message Protection During Context Establishment
1.2.7: コンテキスト設立の間のメッセージ毎の保護
A facility is defined in GSS-V2 to enable protection and buffering of
data messages for later transfer while a security context's
establishment is in GSS_S_CONTINUE_NEEDED status, to be used in cases
where the caller side already possesses the necessary session key to
enable this processing. Specifically, a new state Boolean, called
prot_ready_state, is added to the set of information returned by
GSS_Init_sec_context(), GSS_Accept_sec_context(), and
GSS_Inquire_context().
呼び出し者側がこの処理を可能にするためにすでに必要なセッション鍵を所
有する場合に使うため、GSS−V2で、セキュリティコンテキスト設立が
GSS_S_CONTINUE_NEEDED状態である間に、後の転送のためにデータメッセー
ジの保護とバッファに入れることを可能にする機能が定義されました。特に、
prot_ready_stateと呼ばれる新しいブール状態が、GSS_Init_sec_context()
とGSS_Accept_sec_context()とGSS_Inquire_context()が返す情報に追加され
ます。
For context establishment calls, this state Boolean is valid and
interpretable when the associated major_status is either
GSS_S_CONTINUE_NEEDED, or GSS_S_COMPLETE. Callers of GSS-API (both
initiators and acceptors) can assume that per-message protection (via
GSS_Wrap(), GSS_Unwrap(), GSS_GetMIC() and GSS_VerifyMIC()) is
available and ready for use if either: prot_ready_state == TRUE, or
major_status == GSS_S_COMPLETE, though mutual authentication (if
requested) cannot be guaranteed until GSS_S_COMPLETE is returned.
Callers making use of per-message protection services in advance of
GSS_S_COMPLETE status should be aware of the possibility that a
subsequent context establishment step may fail, and that certain
context data (e.g., mech_type) as returned for subsequent calls may
change.
コンテキスト設立呼出しで、そして関連した主状態がGSS_S_CONTINUE_NEEDED
かGSS_S_COMPLETEである時、このブール状態は正当で解釈可能です。GSS−
APIの呼び出し者(開始者と受信者の両方)がそのメッセージ毎保護
(GSS_Wrap()とGSS_Unwrap()とGSS_GetMIC()とGSS_VerifyMIC()による)が、
もし次のいずれかであれば利用可能で利用準備ができていると想定できます:
prot_ready_state=真か主状態=GSS_S_COMPLETE 、相互の認証(もし求めら
れるなら)が、GSS_S_COMPLETEが返されるまで、保証されるないけれども。
GSS_S_COMPLETE状態のあらかじめメッセージ毎保護サービスを利用している
呼び出し者は次のコンテキスト設立ステップが失敗するかもしれないという
可能性と、次の呼び出しのために返されたあるコンテキストデータ(例えば、
mech_type)が変えるかもしれない事に気付くべきです。
This approach achieves full, transparent backward compatibility for
GSS-API V1 callers, who need not even know of the existence of
prot_ready_state, and who will get the expected behavior from
GSS_S_COMPLETE, but who will not be able to use per-message
protection before GSS_S_COMPLETE is returned.
この方法はGSS−API V1との完全な透過な互換性をなしとげ、呼出し
者はprot_ready_stateの存在を知る必要がなく、GSS_S_COMPLETEから予想さ
れる行動を得るが、GSS_S_COMPLETEが返される前に、メッセージ毎の保護を
使うことが可能ではないでしょう。
It is not a requirement that GSS-V2 mechanisms ever return TRUE
prot_ready_state before completion of context establishment (indeed,
some mechanisms will not evolve usable message protection keys,
especially at the context acceptor, before context establishment is
complete). It is expected but not required that GSS-V2 mechanisms
will return TRUE prot_ready_state upon completion of context
establishment if they support per-message protection at all (however
GSS-V2 applications should not assume that TRUE prot_ready_state will
always be returned together with the GSS_S_COMPLETE major_status,
since GSS-V2 implementations may continue to support GSS-V1 mechanism
code, which will never return TRUE prot_ready_state).
GSS−V2メカニズムがコンテキスト設立の完了前に、真の値の
prot_ready_stateを返すことは必要条件ではありません(実際に、あるメカ
ニズムは、コンテキスト設立が完了する前に、特にコンテキスト受信者で、
有効なメッセージ保護の鍵を生成しません)。GSS−V2メカニズムが、もし
常にメッセージ毎の保護をサポートするなら、コンテキスト設立を完成した
ら真のprot_ready_stateを返すと予期されますが、必要ではありません。
(GSS−V2アプリケーションは真のprot_ready_stateが常に
GSS_S_COMPLETE主状態と共に返されると想定するべきではないが、GSS−
V2がGSS−V1コードのサポートを続けるならば、真の
prot_ready_stateを返さないでしょう)。
When prot_ready_state is returned TRUE, mechanisms shall also set
those context service indicator flags (deleg_state, mutual_state,
replay_det_state, sequence_state, anon_state, trans_state,
conf_avail, integ_avail) which represent facilities confirmed, at
that time, to be available on the context being established. In
situations where prot_ready_state is returned before GSS_S_COMPLETE,
it is possible that additional facilities may be confirmed and
subsequently indicated when GSS_S_COMPLETE is returned.
prot_ready_stateが真で返される時、メカニズムがコンテキストサービス表
示フラグ (deleg_state、mutual_state、replay_det_state、sequence_state、
anon_state、trans_state、conf_avail、integ_avail) を設定すべきで、こ
れは確立されたコンテキスト上で利用可能な確証された機能の表示をします。
GSS_S_COMPLETEの前にprot_ready_stateが返される状態で、追加機能が確証
され、そしてGSS_S_COMPLETEが返される時、その後示されるかもしれないこ
とは可能です。
1.2.8: Implementation Robustness
1.2.8: 実行強靭性
This section recommends aspects of GSS-API implementation behavior in
the interests of overall robustness.
この章は全体的な強靭性の関係でGSS−APIの実装行動の推薦をします。
Invocation of GSS-API calls is to incur no undocumented side effects
visible at the GSS-API level.
GSS−API呼出しはGSS−APIレベルに見える文書化されていない
副作用がないはずです。
If a token is presented for processing on a GSS-API security context
and that token generates a fatal error in processing or is otherwise
determined to be invalid for that context, the context's state should
not be disrupted for purposes of processing subsequent valid tokens.
もしトークンがGSS−APIセキュリティコンテキストの処理に手渡され、
そしてそのトークン処理で致命的エラーが発生するか、あるいはそのコンテ
キストで無効と決定するなら、コンテキスト状態は次の有効なトークンを処
理するために混乱するべきではありません。
Certain local conditions at a GSS-API implementation (e.g.,
unavailability of memory) may preclude, temporarily or permanently,
the successful processing of tokens on a GSS-API security context,
typically generating GSS_S_FAILURE major_status returns along with
locally-significant minor_status. For robust operation under such
conditions, the following recommendations are made:
GSS−API実装でのあるローカルな状況(例えば、メモリの利用不可)
が、一時的あるいは永久的に、GSS−APIセキュリティコンテキストの
トークンの処理の成功を妨げるかもしれません、このとき典型的に
GSS_S_FAILURE主状態を生成し、locally-significant副状態とを返します。
強固なオペレーションのためにこのような状態下で、次が推薦されます:
Failing calls should free any memory they allocate, so that
callers may retry without causing further loss of resources.
呼出し失敗時に、割当てた全てのメモリを解放するべきです、それで呼出
し者がさらなる資源の消費無しにリトライしてもよいです。
Failure of an individual call on an established context should not
preclude subsequent calls from succeeding on the same context.
確定したコンテキスト上の個別の呼出しの失敗は、同じコンテキスト上の
続く呼出しの成功を不可能にするべきではありません。
Whenever possible, it should be possible for
GSS_Delete_sec_context() calls to be successfully processed even
if other calls cannot succeed, thereby enabling context-related
resources to be released.
可能であれば、たとえ他の呼出しができなくても、コンテキストの持って
いる資源を解放するために、GSS_Delete_sec_context()呼出しの処理の成
功が可能であるべきです。
A failure of GSS_GetMIC() or GSS_Wrap() due to an attempt to use an
unsupported QOP will not interfere with context validity, nor shall
such a failure impact the ability of the application to subsequently
invoke GSS_GetMIC() or GSS_Wrap() using a supported QOP. Any state
information concerning sequencing of outgoing messages shall be
unchanged by an unsuccessful call of GSS_GetMIC() or GSS_Wrap().
サポートしていないQOPの使用を試みた結果のGSS_GetMIC()やGSS_Wrap()
が失敗は、コンテキストの検証を妨害せず、またこのような故障はアプリケー
ションのその後サポートしているQOPを使用したGSS_GetMIC()やGSS_Wrap()
の実行をする能力に影響を与えるべきではありません。外向メッセージの順
序付けに関しての全ての状態情報は、不成功の GSS_GetMIC()やGSS_Wrap()
呼出しによって変化しないべきです。
1.2.9: Delegation
1.2.9: 委任
The GSS-API allows delegation to be controlled by the initiating
application via a Boolean parameter to GSS_Init_sec_context(), the
routine that establishes a security context. Some mechanisms do not
support delegation, and for such mechanisms attempts by an
application to enable delegation are ignored.
GSS−APIは開始アプリケーションが制御するために、セキュリティコ
ンテキストを設立するルーチンのGSS_Init_sec_context()のブールパラメー
タによって、委任を許します。あるメカニズムが委任をサポートしません、
そしてこのようなメカニズムに対するアプリケーションによる委任を可能に
する試みは無視されます。
The acceptor of a security context for which the initiator enabled
delegation will receive (via the delegated_cred_handle parameter of
GSS_Accept_sec_context()) a credential handle that contains the
delegated identity, and this credential handle may be used to
initiate subsequent GSS-API security contexts as an agent or delegate
of the initiator. If the original initiator's identity is "A" and
the delegate's identity is "B", then, depending on the underlying
mechanism, the identity embodied by the delegated credential may be
either "A" or "B acting for A".
発信者が委任を可能にした場合のセキュリティコンテキストの受信者は
(GSS_Accept_sec_context()のdelegated_cred_handleパラメータによって)
委任識別子を含む証明書ハンドルを受け取るでしょう、そしてこの証明書ハ
ンドルはエージェントあるいは開始者の委任として次のGSS−APIセキュ
リティコンテキストを始めるために使われるかもしれません。もし元の開始
者の識別子が「A」であり、委任者の識別子が「B」なら、基礎メカニズム
に依存して、委任証明書によって具体化される識別子は「A」あるいは「A
のために活動するB」であるかもしれません。
For many mechanisms that support delegation, a simple Boolean does
not provide enough control. Examples of additional aspects of
delegation control that a mechanism might provide to an application
are duration of delegation, network addresses from which delegation
is valid, and constraints on the tasks that may be performed by a
delegate. Such controls are presently outside the scope of the GSS-
API. GSS-API implementations supporting mechanisms offering
additional controls should provide extension routines that allow
these controls to be exercised (perhaps by modifying the initiator's
GSS-API credential prior to its use in establishing a context).
However, the simple delegation control provided by GSS-API should
always be able to over-ride other mechanism-specific delegation
controls; if the application instructs GSS_Init_sec_context() that
delegation is not desired, then the implementation must not permit
delegation to occur. This is an exception to the general rule that a
mechanism may enable services even if they are not requested;
delegation may only be provided at the explicit request of the
application.
委任をサポートする多くのメカニズムで、単純ブールは十分な制御を供給し
ません。メカニズムがアプリケーションに供給するかもしれない委任制御の
追加の例は、委任の持続時間や委任が正当なネットワークアドレスや、委任
により行われるかもしれない仕事の制約です。このような制御は現在GSS−
PIAの範囲外です。追加の制御を提供しているメカニズムをサポートして
いるGSS−API実装が(多分コンテキストの設立前に開始者のGSS−
API証明書を修正することによって)これらの制御のの実施を許す拡張ルー
チンを供給するべきです。しかしながら、GSS−APIによって供給され
た単純な委任制御は常に他のメカニズム特定の委任コ制御に優先することが
可能であるべきです;もしアプリケーションがGSS_Init_sec_context()に委
任が要望されないと指示するなら、実装は委任が起こるのを許してはなりま
せん。これはメカニズムが、たとえそれらが求められないとしても、サービ
スを可能にするかもしれないという一般的な規則の例外です;委任はアプリ
ケーションの明示的に要求する場合にだけ供給されるかもしれません。
1.2.10: Interprocess Context Transfer
1.2.10: 混合コンテキスト転送
GSS-API V2 provides routines (GSS_Export_sec_context() and
GSS_Import_sec_context()) which allow a security context to be
transferred between processes on a single machine. The most common
use for such a feature is a client-server design where the server is
implemented as a single process that accepts incoming security
contexts, which then launches child processes to deal with the data
on these contexts. In such a design, the child processes must have
access to the security context data structure created within the
parent by its call to GSS_Accept_sec_context() so that they can use
per-message protection services and delete the security context when
the communication session ends.
GSS−API V2がセキュリティコンテキストをひとつの機械上のプロセ
ス間で移されることを許すルーチンを供給します(GSS_Export_sec_context()
とGSS_Import_sec_context())。このような機能の最も一般的な用途は、入っ
てくるセキュリティコンテキストを受け入れるのがひとつのプロセスで、こ
のコンテキストでデータを扱う子プロセスを生成するように実装される、ク
ライアント・サーバのデザインです。このようなデザインで、メッセージ毎
の保護サービスを使い、そしてコミュニケーションセッションが終わる時セ
キュリティコンテキストを削除することため、子プロセスは
GSS_Accept_sec_context()呼出しによって親の中で作られたセキュリティコ
ンテキストデータ構造にアクセスを持たなくてはなりません。
Since the security context data structure is expected to contain
sequencing information, it is impractical in general to share a
context between processes. Thus GSS-API provides a call
(GSS_Export_sec_context()) that the process which currently owns the
context can call to declare that it has no intention to use the
context subsequently, and to create an inter-process token containing
information needed by the adopting process to successfully import the
context. After successful completion of this call, the original
security context is made inaccessible to the calling process by GSS-
API, and any context handles referring to this context are no longer
valid. The originating process transfers the inter-process token to
the adopting process, which passes it to GSS_Import_sec_context(),
and a fresh context handle is created such that it is functionally
identical to the original context.
セキュリティコンテキストデータ構造が順序付け情報を含んでいることを期
待されるので、プロセス間でコンテキストを共有することは一般に非実用的
です。それでGSS−APIは、現在コンテキストを所有するプロセスが、
コンテキストの続く利用を意図せず、受入れプロセスがコンテキストを受け
取るのに必要な情報を含むプロセス間トークンを生成します。この呼出の成
功後、オリジナルのセキュリティコンテキストはGSS−APIによって呼出し
アクセスできないようにされ、そしてこのコンテキストを参照するコンテキ
ストハンドラは無効になります。開始プロセスは受け取りプロセスにプロセ
ス間トークンを渡し、受け取りプロセスはこれをGSS_Import_sec_context()
に渡し、機能的に元のコンテキストハンドラと同じ更新されたコンテキスト
ハンドラが生成されます。
The inter-process token may contain sensitive data from the original
security context (including cryptographic keys). Applications using
inter-process tokens to transfer security contexts must take
appropriate steps to protect these tokens in transit.
Implementations are not required to support the inter-process
transfer of security contexts. The ability to transfer a security
context is indicated when the context is created, by
GSS_Init_sec_context() or GSS_Accept_sec_context() indicating a TRUE
trans_state return value.
プロセス間のトークンは(暗号鍵を含め)オリジナルのセキュリティコンテ
キストの機密性が高いデータを含んでいるかもしれません。セキュリティコ
ンテキストを転送するためにプロセス間トークンを使っているアプリケーショ
ンが、これらの転送中のトークンを守るのに適切なステップを取らなければ
なりません。実装はセキュリティコンテキストのプロセス間の転送をサポー
トするように要求されません。セキュリティコンテキストを移す能力は、
GSS_Init_sec_context()やGSS_Accept_sec_context()でコンテキストが作ら
れる時に、真のtrans_stateを示す帰り値で示されます。
2: Interface Descriptions
2: インタフェース記述
This section describes the GSS-API's service interface, dividing the
set of calls offered into four groups. Credential management calls
are related to the acquisition and release of credentials by
principals. Context-level calls are related to the management of
security contexts between principals. Per-message calls are related
to the protection of individual messages on established security
contexts. Support calls provide ancillary functions useful to GSS-API
callers. Table 2 groups and summarizes the calls in tabular fashion.
この章は、呼出しを4つのグループに分けて、GSS−APIのサービスイ
ンタフェースを記述します。証明書管理呼出が主体による証明書の獲得と開
放に関します。コンテキストレベル呼出は主体間のセキュリティコンテキス
トの管理と関係があります。メッセージ毎呼出は確立されたセキュリティコ
ンテキスト上の個別のメッセージの保護と関係があります。サポート呼出が
GSS−API呼出人に有用な補助的な機能を供給します。表2が表形式で
呼出のグループ化と要約をします。
Table 2: GSS-API Calls
表2:GSS−API呼出
CREDENTIAL MANAGEMENT
証明書管理
GSS_Acquire_cred acquire credentials for use
使用するために証明書を獲得
GSS_Release_cred release credentials after use
使用の後の証明書の開放
GSS_Inquire_cred display information about
credentials
証明書の情報表示
GSS_Add_cred construct credentials incrementally
徐々に証明書を組み立て
GSS_Inquire_cred_by_mech display per-mechanism credential
information
メッセージ毎証明書の情報表示
CONTEXT-LEVEL CALLS
コンテキストレベル呼出
GSS_Init_sec_context initiate outbound security context
外行きセキュリティコンテキスト開始
GSS_Accept_sec_context accept inbound security context
内行きセキュリティコンテキストを受入れ
GSS_Delete_sec_context flush context when no longer needed
必要でない時のコンテキスト消去
GSS_Process_context_token process received control token on
context
コンテキスト上の制御トークンの処理
GSS_Context_time indicate validity time remaining on
context
コンテキストの残りの正当な時間を示す
GSS_Inquire_context display information about context
コンテキストの情報を表示
GSS_Wrap_size_limit determine GSS_Wrap token size limit
GSS_Wrapトークンサイズの限界を決定
GSS_Export_sec_context transfer context to other process
他のプロセスへコンテキストを転送
GSS_Import_sec_context import transferred context
コンテキストを転入
PER-MESSAGE CALLS
メッセージ毎呼出
GSS_GetMIC apply integrity check, receive as
token separate from message
完全性検査を適用し、メッセージと独立にトー
クンを受信
GSS_VerifyMIC validate integrity check token
along with message
メッセージとともに完全性検査トークンを有
効にする
GSS_Wrap sign, optionally encrypt,
encapsulate
署名と、オプションで暗号化し、カプセル化
GSS_Unwrap decapsulate, decrypt if needed,
validate integrity check
カプセルを外し、必要なら解読し、完全性検
査を有効にする
SUPPORT CALLS
サポート呼出
GSS_Display_status translate status codes to printable
form
状態コードを印刷可能な形に翻訳
GSS_Indicate_mechs indicate mech_types supported on
local system
ローカルシステムのサポートするメカニズム
種別を示す
GSS_Compare_name compare two names for equality
2つの名前が同一か比較
GSS_Display_name translate name to printable form
名前を印刷可能な形に翻訳
GSS_Import_name convert printable name to
normalized form
印刷可能な名前を正規化形式に変換
GSS_Release_name free storage of normalized-form
name
正規化書式名のメモリの開放
GSS_Release_buffer free storage of general GSS-allocated
object
一般的なGSSの割当てオブジェクトのメモ
リ開放
GSS_Release_OID_set free storage of OID set object
OID集合オブジェクトのメモリ開放
GSS_Create_empty_OID_set create empty OID set
空のOID集合の生成
GSS_Add_OID_set_member add member to OID set
OID集合に要素を追加
GSS_Test_OID_set_member test if OID is member of OID set
OIDがOID集合の要素か検査
GSS_Inquire_names_for_mech indicate name types supported by
mechanism
メカニズムにサポートする名前タイプを示す
GSS_Inquire_mechs_for_name indicates mechanisms supporting name
type
名前タイプをサポートするメカニズムを示す
GSS_Canonicalize_name translate name to per-mechanism form
名前をメカニズム毎の形式に翻訳
GSS_Export_name externalize per-mechanism name
メカニズム毎の名を外面化
GSS_Duplicate_name duplicate name object
名前オブジェクトの複製生成
2.1: Credential management calls
2.1: 証明書管理呼出
These GSS-API calls provide functions related to the management of
credentials. Their characterization with regard to whether or not
they may block pending exchanges with other network entities (e.g.,
directories or authentication servers) depends in part on OS-specific
(extra-GSS-API) issues, so is not specified in this document.
これらのGSS−API呼出しは証明書管理と関係がある機能を供給します。
これら他のネットワークエンティティ(例えば、ディレクトリあるいは認証
サーバ)の現在行われている通信を阻止してもよいかに関しては、OS仕様
(GSS−APIの外)の問題なので、この文書で指定されません。
The GSS_Acquire_cred() call is defined within the GSS-API in support
of application portability, with a particular orientation towards
support of portable server applications. It is recognized that (for
certain systems and mechanisms) credentials for interactive users may
be managed differently from credentials for server processes; in such
environments, it is the GSS-API implementation's responsibility to
distinguish these cases and the procedures for making this
distinction are a local matter. The GSS_Release_cred() call provides
a means for callers to indicate to the GSS-API that use of a
credentials structure is no longer required. The GSS_Inquire_cred()
call allows callers to determine information about a credentials
structure. The GSS_Add_cred() call enables callers to append
elements to an existing credential structure, allowing iterative
construction of a multi-mechanism credential. The
GSS_Inquire_cred_by_mech() call enables callers to extract per-
mechanism information describing a credentials structure.
GSS_Acquire_cred()呼出しは移植性があるサーバーアプリケーションのサポー
トのためのアプリケーションポータビリティを支持し、特定の方針でGSS−
APIの中で定義されます。(ある特定のシステムとメカニズムで)対話型の
ユーザの証明書と、サーバプロセスの証明書が、異なる管理をされるかもし
れないことは認識されます;このような環境で、これらの場合を区別するの
はGSS−API実装の責任で、そしてこの区別をする手順はローカルな問
題です。GSS_Release_cred()呼出は呼出者がGSS−APIに証明書構造体
の使用がもう必要とされないことを示す手段を供給します。
GSS_Inquire_cred()呼出は呼出者に証明書構造体の情報を決定することを許
します。GSS_Add_cred()呼出は呼出人に、多数のメカニズムの証明書の反復
の建設を許して、既存の証明書構造体に要素を加えることができるようにし
ます。GSS_Inquire_cred_by_mech()要求は証明書構造体を記述する呼出し者
にメカニズム毎情報を得ることができるようにします。
2.1.1: GSS_Acquire_cred call
2.1.1: GSS_Acquire_cred呼出
Inputs:
入力:
o desired_name INTERNAL NAME, -- NULL requests locally-determined
-- default
-- NULLはローカルなデフォルトを要求
o lifetime_req INTEGER, -- in seconds; 0 requests default
-- 秒単位; 0 はデフォルトを要求
o desired_mechs SET OF OBJECT IDENTIFIER, -- NULL requests
-- system-selected default
-- NULLはシステム選択デフォルトを要求
o cred_usage INTEGER -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY,
-- 2=ACCEPT-ONLY
-- 0=開始と受入, 1=開始のみ, 2=受入のみ
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_cred_handle CREDENTIAL HANDLE, -- if returned non-NULL,
-- caller must release with GSS_Release_cred()
-- もしヌル以外が返ってこれば、呼出者はGSS_Release_cred()で
-- 開放しなければならない
o actual_mechs SET OF OBJECT IDENTIFIER, -- if returned non-NULL,
-- caller must release with GSS_Release_oid_set()
-- もしヌル以外が返ってこれば、呼出者はGSS_Release_cred()で
-- 開放しなければならない
o lifetime_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位、又は不明を示す予約値
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that requested credentials were
successfully established, for the duration indicated in lifetime_rec,
suitable for the usage requested in cred_usage, for the set of
mech_types indicated in actual_mechs, and that those credentials can
be referenced for subsequent use with the handle returned in
output_cred_handle.
o GSS_S_COMPLETEは要求した証明書の確立が、lifetime_recの期間と、
cred_usageの使用法が適切さと、actual_mechsで示されるmech_typesの集合
と、証明書がoutput_cred_handleが返したハンドルを使用した続く参照で使
用きることに関して、成功したことを示します。
o GSS_S_BAD_MECH indicates that a mech_type unsupported by the GSS-
API implementation type was requested, causing the credential
establishment operation to fail.
o GSS_S_BAD_MECHは、GSS−API実装のサポートしないメカニズム種別
が求められて、証明書設立に失敗した事を示します。
o GSS_S_BAD_NAMETYPE indicates that the provided desired_name is
uninterpretable or of a type unsupported by the applicable underlying
GSS-API mechanism(s), so no credentials could be established for the
accompanying desired_name.
o GSS_S_BAD_NAMETYPEは供給されたdesired_nameが翻訳できないか、適用可
能な基礎GSS−APIメカニズムでサポートしないかで、desired_nameに
関する証明書が設立できなかったことを示します。
o GSS_S_BAD_NAME indicates that the provided desired_name is
inconsistent in terms of internally-incorporated type specifier
information, so no credentials could be established for the
accompanying desired_name.
o GSS_S_BAD_NAMEは供給されたdesired_nameが内部タイプ指定情報に関して
整合せず、desired_nameに関する証明書が設立できなかったことを示します。
o GSS_S_CREDENTIALS_EXPIRED indicates that underlying credential
elements corresponding to the requested desired_name have expired, so
requested credentials could not be established.
o GSS_S_CREDENTIALS_EXPIREDは要求されたdesired_nameに対応している基
礎証明書要素の期限が切れたことを示します、それで求められた証明書が確
立しませんでした。
o GSS_S_NO_CRED indicates that no credential elements corresponding
to the requested desired_name and usage could be accessed, so
requested credentials could not be established. In particular, this
status should be returned upon temporary user-fixable conditions
preventing successful credential establishment and upon lack of
authorization to establish and use credentials associated with the
identity named in the input desired_name argument.
o GSS_S_NO_CREDは求められたdesired_nameと使用法に対応している証明書
要素がアクセスできなかったことを示します、それで求められた証明書が確
立できませんでした。特に、この招待は証明書設立を妨げている一時的なユー
ザ固有状態と、入力desired_name引数で指定された識別子と結び付けられた
証明書の確立と使用の認可がない場合に、返されるべきです。
o GSS_S_FAILURE indicates that credential establishment failed for
reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはその証明書設立がGSS−APIレベルで特定されてい
ない理由のために失敗したことを示します。
GSS_Acquire_cred() is used to acquire credentials so that a principal
can (as a function of the input cred_usage parameter) initiate and/or
accept security contexts under the identity represented by the
desired_name input argument. On successful completion, the returned
output_cred_handle result provides a handle for subsequent references
to the acquired credentials. Typically, single-user client processes
requesting that default credential behavior be applied for context
establishment purposes will have no need to invoke this call.
GSS_Acquire_cred()は、主体が(入力cred_usageパラメータの関数として)
desired_name入力引数で表される識別下でセキュリティコンテキストの開始
や受入れができるように、証明書を獲得するために使われます。成功した場
合、返されたoutput_cred_handleは獲得された証明書に対する続く参照のた
めにハンドルを提供します。一般にデフォルト証明書動作をコンテキスト設
立目的のために適用されることを要請しているシングルユーザークライアン
トプロセスがこの呼出をする必要がないでしょう。
A caller may provide the value NULL (GSS_C_NO_NAME) for desired_name,
which will be interpreted as a request for a credential handle that
will invoke default behavior when passed to GSS_Init_sec_context(),
if cred_usage is GSS_C_INITIATE or GSS_C_BOTH, or
GSS_Accept_sec_context(), if cred_usage is GSS_C_ACCEPT or
GSS_C_BOTH. It is possible that multiple pre-established credentials
may exist for the same principal identity (for example, as a result
of multiple user login sessions) when GSS_Acquire_cred() is called;
the means used in such cases to select a specific credential are
local matters. The input lifetime_req argument to GSS_Acquire_cred()
may provide useful information for local GSS-API implementations to
employ in making this disambiguation in a manner which will best
satisfy a caller's intent.
呼出者がdesired_nameに値ヌル(GSS_C_NO_NAME)を供給してもよく、これ
はもしcred_usageがGSS_C_INITIATEかGSS_C_BOTHならば
GSS_Init_sec_context()へ、cred_usageがGSS_C_ACCEPTかGSS_C_BOTHならば
GSS_Accept_sec_context()に渡されるときにデフォルト動作の証明書へのハ
ンドルの要求と翻訳されます。GSS_Acquire_cred()が呼ばれる時、多数の前
もって確立された証明書が、(例えば、多数のユーザーログインセッション
の結果として)同じ主体の識別子に存在ことは可能で、このような場合に特
定の証明書を選ぶのに使う手段はローカルな問題です。GSS_Acquire_cred()
への入力のlifetime_req引数は最も良く呼出者の意志を満足させる方法で明
確化するためローカルGSS−API実装に有用な情報を供給するかもしれ
ません。
This routine is expected to be used primarily by context acceptors,
since implementations are likely to provide mechanism-specific ways
of obtaining GSS-API initiator credentials from the system login
process. Some implementations may therefore not support the
acquisition of GSS_C_INITIATE or GSS_C_BOTH credentials via
GSS_Acquire_cred() for any name other than GSS_C_NO_NAME, or a name
resulting from applying GSS_Inquire_context() to an active context,
or a name resulting from applying GSS_Inquire_cred() against a
credential handle corresponding to default behavior. It is important
to recognize that the explicit name which is yielded by resolving a
default reference may change over time, e.g., as a result of local
credential element management operations outside GSS-API; once
resolved, however, the value of such an explicit name will remain
constant.
このルーチンは、実装がシステムログインプロセスからGSS−API設立
者証明書を得ることについてのメカニズム特定の方法を供給する可能性が高
いから、コンテキスト受信者に主に使われることを期待されます。従ってあ
る実装がGSS_C_NO_NAME以外の名前や、アクティブなコンテキストに
GSS_Inquire_context()を行った結果の名前や、デフォルト動作に対応する証
明書ハンドルにGSS_Inquire_context()を行った結果の名前、に対して
GSS_Acquire_cred()によってGSS_C_INITIATEかGSS_C_BOTHの証明書を獲得す
るのをサポートしないかもしれせん。時間が経つと、例えばGSS−API
の外でのローカル証明書要素管理オペレーションの結果として、デフォルト
参照を解決することによってもたらされる明示的な名前が変わるかもしれな
いことを認識することが重要です;かつて、しかしながら、このような明示
的な名前の値は定数でした。
The lifetime_rec result indicates the length of time for which the
acquired credentials will be valid, as an offset from the present. A
mechanism may return a reserved value indicating INDEFINITE if no
constraints on credential lifetime are imposed. A caller of
GSS_Acquire_cred() can request a length of time for which acquired
credentials are to be valid (lifetime_req argument), beginning at the
present, or can request credentials with a default validity interval.
(Requests for postdated credentials are not supported within the
GSS-API.) Certain mechanisms and implementations may bind in
credential validity period specifiers at a point preliminary to
invocation of the GSS_Acquire_cred() call (e.g., in conjunction with
user login procedures). As a result, callers requesting non-default
values for lifetime_req must recognize that such requests cannot
always be honored and must be prepared to accommodate the use of
returned credentials with different lifetimes as indicated in
lifetime_rec.
lifetime_rec結果は獲得された証明書が正当である期間の現在からの時間の
長さを示します。もし証明書の寿命の制約がないなら、メカニズムが
INDEFINITEを示す予約の値を返すかもしれません。GSS_Acquire_cred()の呼
出者が、現在からの獲得された資格証明が正当である期間の長さを求めるこ
とができるか(lifetime_req引数)、あるいはデフォルトの合法性間隔で証
明書を求めることができます。(未来日の証明書の要求はGSS−APIで
サポートされません。)ある特定のメカニズムと実装がGSS_Acquire_cred()
呼出の実施に対する予備のポイントにおいて証明書の正当な期間の指定を付
けるかもしれません(例えば、ユーザーログインプロシージャと関連して)。
結果として、lifetime_reqに非デフォルトの値を求めている呼出者がこのよ
うな要求が必ずしも受け入れられるわけではないことを認識しなくてはなら
ならず、そしてlifetime_recで示される異なる寿命で返された証明書の使用
を受け入れる用意ができているに違いありません。
The caller of GSS_Acquire_cred() can explicitly specify a set of
mech_types which are to be accommodated in the returned credentials
(desired_mechs argument), or can request credentials for a system-
defined default set of mech_types. Selection of the system-specified
default set is recommended in the interests of application
portability. The actual_mechs return value may be interrogated by the
caller to determine the set of mechanisms with which the returned
credentials may be used.
GSS_Acquire_cred()の呼出者は明示的に返された証明書(desired_mechs引数)
で受け入れられるはずであるmech_typesの集合を指定することができるか、
あるいはmech_typesのシステムによって定義されたデフォルト集合の証明書
を求めることができます。システム指定デフォルト集合の選択はアプリケー
ションポータビリティの関係で勧められます。actual_mechs帰り値は返され
た証明書が使われるかもしれないメカニズムのセットを決定するために呼出
者によって審査されるかもしれません。
2.1.2: GSS_Release_cred call
2.1.2: GSS_Release_cred呼出
Input:
入力:
o cred_handle CREDENTIAL HANDLE -- if GSS_C_NO_CREDENTIAL
-- is specified, the call will complete successfully, but
-- will have no effect; no credential elements will be
-- released.
--もしGSS_C_NO_CREDENTIALが指定されるなら、呼出は成功するでしょうが、
--効果を持たないでしょう;証明書要素が開放されないでしょう。
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the credentials referenced by the
input cred_handle were released for purposes of subsequent access by
the caller. The effect on other processes which may be authorized
shared access to such credentials is a local matter.
o GSS_S_COMPLETEは入力cred_handleの参照した資格書が呼出者の続くアク
セスの目的に対して開放されたことを示します。このような証明書の共有認
証アクセスを持つ他のプロセスに対する効果はローカルな問題です。
o GSS_S_NO_CRED indicates that no release operation was performed,
either because the input cred_handle was invalid or because the
caller lacks authorization to access the referenced credentials.
o GSS_S_NO_CREDは、入力cred_handleが無効であるか、呼出者が参照する
証明書にアクセス権利を持たないため、開放オペレーションが行われなかっ
たことを示します。
o GSS_S_FAILURE indicates that the release operation failed for
reasons unspecified at the GSS-API level.
o GSS_S_FAILUREは開放オペレーションがGSS−APIレベルで特定され
ていない理由のために失敗したことを示します。
Provides a means for a caller to explicitly request that credentials
be released when their use is no longer required. Note that system-
specific credential management functions are also likely to exist,
for example to assure that credentials shared among processes are
properly deleted when all affected processes terminate, even if no
explicit release requests are issued by those processes. Given the
fact that multiple callers are not precluded from gaining authorized
access to the same credentials, invocation of GSS_Release_cred()
cannot be assumed to delete a particular set of credentials on a
system-wide basis.
呼出者が証明書の使用がもう必要ない時、明示的に証明書の開放を要請する
手段を供給します。システム固有の証明書管理機能が同じく存在するかもし
れず、例えばプロセス間で共有された証明書が、すべての関係プロセスが明
白に開放要求をしなくてもそれらのプロセスが終了する時に正確に削除され
ることを確実にする可能性が高いことに注意してください。多数の呼出者が
同じ証明書のアクセス権を得るのを妨げられないという条件のもとで、
GSS_Release_cred()の実施はシステム規模の証明書の特定のセットを削除す
ると考えることはできません。
2.1.3: GSS_Inquire_cred call
2.1.3: GSS_Inquire_cred呼出
Input:
入力:
o cred_handle CREDENTIAL HANDLE -- if GSS_C_NO_CREDENTIAL
-- is specified, default initiator credentials are queried
-- もしGSS_C_NO_CREDENTIALが指定されるなら、デフォルト開始者証明書が
-- 要求されます。
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o cred_name INTERNAL NAME, -- caller must release with
-- GSS_Release_name()
-- 呼出者はGSS_Release_name()で開放しなければならない。
o lifetime_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位、またはINDEFINITEの予約値
o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY,
-- 2=ACCEPT-ONLY
-- 0=開始と受入れ、1=開始のみ、2=受入れ
o mech_set SET OF OBJECT IDENTIFIER -- caller must release
-- with GSS_Release_oid_set()
-- 呼出者はGSS_Release_name()で開放しなければならない。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the credentials referenced by the
input cred_handle argument were valid, and that the output cred_name,
lifetime_rec, and cred_usage values represent, respectively, the
credentials' associated principal name, remaining lifetime, suitable
usage modes, and supported mechanism types.
o GSS_S_COMPLETEは、入力cred_handle引数の参照する証明書が正当で、出
力のcred_nameとlifetime_recとcred_usage値がそれぞれ、証明書に関連した
主体の名前と、残りの寿命と、適切な使用モードと、サポートするメカニズ
ムタイプを表すことを、示します。
o GSS_S_NO_CRED indicates that no information could be returned
about the referenced credentials, either because the input
cred_handle was invalid or because the caller lacks authorization to
access the referenced credentials.
o GSS_S_NO_CREDは、入力cred_handleが無効か、あるいは呼出者が参照する
証明書のアクセス権を持たないため、参照された証明書に関する情報を返す
ことができなかったことを示します。
o GSS_S_DEFECTIVE_CREDENTIAL indicates that the referenced
credentials are invalid.
o GSS_S_DEFECTIVE_CREDENTIALは参照された証明書が無効であることを示し
ます。
o GSS_S_CREDENTIALS_EXPIRED indicates that the referenced
credentials have expired.
o GSS_S_CREDENTIALS_EXPIREDは参照された証明書の期限が切れたことを示
します。
o GSS_S_FAILURE indicates that the operation failed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはオペレーションがGSS−APIレベルで特定されてい
ない理由のために失敗したことを示します。
The GSS_Inquire_cred() call is defined primarily for the use of those
callers which request use of default credential behavior rather than
acquiring credentials explicitly with GSS_Acquire_cred(). It enables
callers to determine a credential structure's associated principal
name, remaining validity period, usability for security context
initiation and/or acceptance, and supported mechanisms.
GSS_Inquire_cred()呼出は、GSS_Acquire_cred()で明示的に証明書を獲得す
るより、デフォルト証明書の使用を求める呼出者の使用のために主に定義さ
れます。これは呼出者が証明書構造体に関連した主体名、残りの有効期間、
セキュリティコンテキスト設立/受入れの有用性と、サポートされた機構の
決定ができるようにします。
For a multi-mechanism credential, the returned "lifetime" specifier
indicates the shortest lifetime of any of the mechanisms' elements in
the credential (for either context initiation or acceptance
purposes).
多メカニズムの証明書のために、返された「寿命」識別子は(コンテキスト
の設立か受入れの目的で)証明書でメカニズムの要素の最も短い寿命でも示
します。
GSS_Inquire_cred() should indicate INITIATE-AND-ACCEPT for
"cred_usage" if both of the following conditions hold:
GSS_Inquire_cred()は、もし次の状態の両方を満たすなら、「cred_usage」
にのためにINITIATE-AND-ACCEPTを示すべきです:。
(1) there exists in the credential an element which allows context
initiation using some mechanism
(1) 何らかのメカニズムでコンテキストの開始を許す要素が証明書に存在
します。
(2) there exists in the credential an element which allows context
acceptance using some mechanism (allowably, but not necessarily,
one of the same mechanism(s) qualifying for (1)).
(2) 何らかのメカニズムでコンテキストの受入を許す要素が証明書に存在
します(必須ではないが、当然(1)と同じメカニズム)。
If condition (1) holds but not condition (2), GSS_Inquire_cred()
should indicate INITIATE-ONLY for "cred_usage". If condition (2)
holds but not condition (1), GSS_Inquire_cred() should indicate
ACCEPT-ONLY for "cred_usage".
Callers requiring finer disambiguation among available combinations
of lifetimes, usage modes, and mechanisms should call the
GSS_Inquire_cred_by_mech() routine, passing that routine one of the
mech OIDs returned by GSS_Inquire_cred().
もし状態(1)を満たし状態(2)を満たさないなら、GSS_Inquire_cred()は
「cred_usage」にINITIATE-ONLYを示すべきです。もし状態(2)を満たし状態
(1)を満たさないなら、GSS_Inquire_cred()はACCEPT-ONLYを示すべきです。
寿命と使用方法とメカニズムの利用可能な組合せに明快さを求める呼出者は、
そのルーチンを飛ばし、GSS_Inquire_cred()の返すメカニズムOIDの1つ
でGSS_Inquire_cred_by_mech()ルーチンを呼ぶべきです。
2.1.4: GSS_Add_cred call
2.1.4: GSS_Add_cred呼出
Inputs:
入力:
o input_cred_handle CREDENTIAL HANDLE -- handle to credential
-- structure created with prior GSS_Acquire_cred() or
-- GSS_Add_cred() call; see text for definition of behavior
-- when GSS_C_NO_CREDENTIAL provided.
-- 事前のGSS_Acquire_cred()かGSS_Add_cred()呼出で作られた証明書のハ
-- ンドル;GSS_C_NO_CREDENTIALを供給した時の行動の定義はテキストを見
-- てください。
o desired_name INTERNAL NAME
o initiator_time_req INTEGER -- in seconds; 0 requests default
-- 秒単位;0はデフォルトを要求
o acceptor_time_req INTEGER -- in seconds; 0 requests default
-- 秒単位;0はデフォルトを要求
o desired_mech OBJECT IDENTIFIER
o cred_usage INTEGER -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY,
-- 2=ACCEPT-ONLY
-- 0=開始と受入, 1=開始のみ, 2=受入のみ
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_cred_handle CREDENTIAL HANDLE, -- NULL to request that
-- credential elements be added "in place" to the credential
-- structure identified by input_cred_handle,
-- non-NULL pointer to request that
-- a new credential structure and handle be created.
-- if credential handle returned, caller must release with
-- GSS_Release_cred()
-- ヌルは証明書要素をinput_cred_handleで指定された証明書構造体の「決
-- まった場所」に追加することを要請します。ヌルでないポインタは新しい
-- 証明書構造体とハンドルが作られることを要請します。もし証明書ハンド
-- ルが戻ったなら、呼び出し人がGSS_Release_cred()で開放しなければなり
-- ません。
o actual_mechs SET OF OBJECT IDENTIFIER, -- if returned, caller must
-- release with GSS_Release_oid_set()
-- もし返ってきたら呼出者はGSS_Release_oid_set()で開放しなければなら
-- ない。
o initiator_time_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位か、INDEFINITEの予約値
o acceptor_time_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位か、INDEFINITEの予約値
o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY,
-- 2=ACCEPT-ONLY
-- 0=開始と受入, 1=開始のみ, 2=受入のみ
o mech_set SET OF OBJECT IDENTIFIER -- full set of mechanisms
-- supported by resulting credential.
-- 結果の証明書のサポートする完全なメカニズムの集合
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the credentials referenced by the
input_cred_handle argument were valid, and that the resulting
credential from GSS_Add_cred() is valid for the durations indicated
in initiator_time_rec and acceptor_time_rec, suitable for the usage
requested in cred_usage, and for the mechanisms indicated in
actual_mechs.
o GSS_S_COMPLETEはinput_cred_handle引数で参照された証明書が正当であ
り、GSS_Add_cred()の結果として生じる証明書がinitiator_time_recと
acceptor_time_recで示された期間で有効で、cred_usageで求められた使用法
に適合し、そしてactual_mechsで示されたメカニズムに適合することを示し
ます。
o GSS_S_DUPLICATE_ELEMENT indicates that the input desired_mech
specified a mechanism for which the referenced credential already
contained a credential element with overlapping cred_usage and
validity time specifiers.
o GSS_S_DUPLICATE_ELEMENTは入力desired_mechが、参照された証明書にす
でにcred_usageと有効期間が重なる証明書要素が含まていたことを示します。
o GSS_S_BAD_MECH indicates that the input desired_mech specified a
mechanism unsupported by the GSS-API implementation, causing the
GSS_Add_cred() operation to fail.
o GSS_S_BAD_MECHは入力desired_mechが、GSS−API実装がサポートし
ないメカニズムを指定し、GSS_Add_cred()オペレーションが失敗した事を示
します。
o GSS_S_BAD_NAMETYPE indicates that the provided desired_name is
uninterpretable or of a type unsupported by the applicable underlying
GSS-API mechanism(s), so the GSS_Add_cred() operation could not be
performed for that name.
o GSS_S_BAD_NAMETYPEは供給されたdesired_nameが翻訳できないか、適用可
能な基礎をGSS−APIメカニズムのサポートしないタイプであることを
示します、それでGSS_Add_cred()オペレーションはその名前のために行えま
せんでした。
o GSS_S_BAD_NAME indicates that the provided desired_name is
inconsistent in terms of internally-incorporated type specifier
information, so the GSS_Add_cred() operation could not be performed
for that name.
o GSS_S_BAD_NAMEは供給されたdesired_nameが内部に含まれたタイプ指定情
報に関して整合しないことを示します、それでGSS_Add_cred()オペレーショ
ンはその名前に対して行うことができませんでした。
o GSS_S_NO_CRED indicates that the input_cred_handle referenced
invalid or inaccessible credentials. In particular, this status
should be returned upon temporary user-fixable conditions preventing
successful credential establishment or upon lack of authorization to
establish or use credentials representing the requested identity.
o GSS_S_NO_CREDはinput_cred_handleが不正か、あるいはアクセスできない
証明書を参照したことを示します。特に、この状態は証明書設立を妨げる一
時的なユーザ固有状態や、求められた識別子の証明書の確立や使用の権利の
欠如で返されるべきです。
o GSS_S_CREDENTIALS_EXPIRED indicates that referenced credential
elements have expired, so the GSS_Add_cred() operation could not be
performed.
o GSS_S_CREDENTIALS_EXPIREDは参照された証明書要素の期限が切れたこと
を示します、それでGSS_Add_cred()オペレーションは行うことができません
でした。
o GSS_S_FAILURE indicates that the operation failed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはオペレーションがGSS−APIレベルで特定されてい
ない理由のために失敗したことを示します。
GSS_Add_cred() enables callers to construct credentials iteratively
by adding credential elements in successive operations, corresponding
to different mechanisms. This offers particular value in multi-
mechanism environments, as the major_status and minor_status values
returned on each iteration are individually visible and can therefore
be interpreted unambiguously on a per-mechanism basis. A credential
element is identified by the name of the principal to which it
refers. GSS-API implementations must impose a local access control
policy on callers of this routine to prevent unauthorized callers
from acquiring credential elements to which they are not entitled.
This routine is not intended to provide a "login to the network"
function, as such a function would involve the creation of new
mechanism-specific authentication data, rather than merely acquiring
a GSS-API handle to existing data. Such functions, if required,
should be defined in implementation-specific extension routines.
GSS_Add_cred()は連続したオペレーションで異なったメカニズムに対応する
証明書要素を加る事で呼出者に順次証明書を組み立てることができるように
します。これは、それぞれの繰り返し上で返されたmajor_statusと
minor_status値が個々に見えるから、多メカニズムの環境で特定の値を提供
して、そして従ってメカニズム毎に明瞭に翻訳ができます。証明書要素が参
照された主体の名前で識別されます。GSS−API実装が資格のない無許
可の呼出者が証明書要素を獲得するのを阻止するため、このルーチンの呼出
者のローカルなアクセス制御ポリシーを課さなくてはなりません。このルー
チンは、新しいメカニズム特定の認証データの作成に関連するので、既存の
データのGSS−APIハンドルの獲得に対し、「ネットワークログイン」
機能を供給するように意図されません。このような機能は、もし必要とされ
るなら、実装固有の拡張ルーチンで定義されるべきです。
If credential acquisition is time-consuming for a mechanism, the
mechanism may choose to delay the actual acquisition until the
credential is required (e.g. by GSS_Init_sec_context() or
GSS_Accept_sec_context()). Such mechanism-specific implementation
decisions should be invisible to the calling application; thus a call
of GSS_Inquire_cred() immediately following the call of
GSS_Acquire_cred() must return valid credential data, and may
therefore incur the overhead of a deferred credential acquisition.
もしメカニズムの証明書獲得に時間がかかるなら、メカニズムが証明書が必
要とされるまで実際の獲得を延期する選択をするかもしれません(例えば
GSS_Init_sec_context()やGSS_Accept_sec_context()で)。このようなメカニ
ズム固有の実装の決定は呼出アプリケーションに見えないべきです;それで
GSS_Acquire_cred()呼出の直後のGSS_Inquire_cred()要求が正当な証明書デー
タを返さなければならず、従って延期された証明書獲得のコストを受けても
よいです。
If GSS_C_NO_CREDENTIAL is specified as input_cred_handle, a non-NULL
output_cred_handle must be supplied. For the case of
GSS_C_NO_CREDENTIAL as input_cred_handle, GSS_Add_cred() will create
the credential referenced by its output_cred_handle based on default
behavior. That is, the call will have the same effect as if the
caller had previously called GSS_Acquire_cred(), specifying the same
usage and passing GSS_C_NO_NAME as the desired_name parameter
(thereby obtaining an explicit credential handle corresponding to
default behavior), had passed that credential handle to
GSS_Add_cred(), and had finally called GSS_Release_cred() on the
credential handle received from GSS_Acquire_cred().
もしinput_cred_handleでGSS_C_NO_CREDENTIALが指定されるなら、ヌルでな
いoutput_cred_handleが供給されなくてはなりません。input_cred_handleが
GSS_C_NO_CREDENTIALの場合、GSS_Add_cred()がデフォルト行動に基づいて
output_cred_handleで参照できる証明書を作るでしょう。すなわち、呼出し
者が同じ使用法を指定し、desired_nameパラメータとしてGSS_C_NO_NAMEを渡
して、前にGSS_Acquire_cred()を呼出し(これでデフォルト行動に対応して
いる明示的な証明書ハンドルを得る)、GSS_Add_cred()にその証明書ハンドル
を渡し、最後にGSS_Acquire_cred()から受け取った証明書ハンドルで
GSS_Release_cred()を呼出したのと、同じ呼出効果を持つでしょう。
This routine is expected to be used primarily by context acceptors,
since implementations are likely to provide mechanism-specific ways
of obtaining GSS-API initiator credentials from the system login
process. Some implementations may therefore not support the
acquisition of GSS_C_INITIATE or GSS_C_BOTH credentials via
GSS_Acquire_cred() for any name other than GSS_C_NO_NAME, or a name
resulting from applying GSS_Inquire_context() to an active context,
or a name resulting from applying GSS_Inquire_cred() against a
credential handle corresponding to default behavior. It is important
to recognize that the explicit name which is yielded by resolving a
default reference may change over time, e.g., as a result of local
credential element management operations outside GSS-API; once
resolved, however, the value of such an explicit name will remain
constant.
実装がシステムログインプロセスからGSS−API開始証明書を得るメカ
ニズム固有の方法を供給する可能性が高い時から、このルーチンは主にコン
テキスト受信者によって使われることを期待されます。従ってある実装が
GSS_C_NO_NAME以外の名前、あるいはGSS_Inquire_context()をアクティブコ
ンテキストに適用した結果の名前、あるいは名前がデフォルト行動に対応た
証明書ハンドルに対してGSS_Inquire_cred()を適用した結果の名前、に対し
GSS_Acquire_cred()で、GSS_C_INITIATEかGSS_C_BOTH証明書を獲得すること
をサポートしないかもしれません。デフォルト参照の結果示される明示的な
名前は時間と共に、つまりGSS−API外のローカル証明諸要素管理の結
果として、変わるかもしれません;しかしながらこのような明示的な名前の
値が不変とを決定するでしょう。
A caller may provide the value NULL (GSS_C_NO_NAME) for desired_name,
which will be interpreted as a request for a credential handle that
will invoke default behavior when passed to GSS_Init_sec_context(),
if cred_usage is GSS_C_INITIATE or GSS_C_BOTH, or
GSS_Accept_sec_context(), if cred_usage is GSS_C_ACCEPT or
GSS_C_BOTH.
呼出し者がdesired_nameにヌル値(GSS_C_NO_NAME)を設定するかも知れず、こ
れはもしcred_usageがGSS_C_INITIATEかGSS_C_BOTHなら
GSS_Init_sec_context()に渡したときの、cred_usageがGSS_C_ACCEPTか
GSS_C_BOTHならGSS_Accept_sec_context()に渡したときの、デフォルト行動に
よる証明書ハンドルの要求と解釈されます。
The same input desired_name, or default reference, should be used on
all GSS_Acquire_cred() and GSS_Add_cred() calls corresponding to a
particular credential.
同じ入力desired_nameかデフォルト参照が、特定の証明書に対応している全て
のGSS_Acquire_cred()とGSS_Add_cred()呼出しで使われるべきです。
2.1.5: GSS_Inquire_cred_by_mech call
2.1.5: GSS_Inquire_cred_by_mech呼出
Inputs:
入力:
o cred_handle CREDENTIAL HANDLE -- if GSS_C_NO_CREDENTIAL
-- specified, default initiator credentials are queried
-- もしGSS_C_NO_CREDENTIALを指定したなら、デフォルト開始証明書が要求
-- されます。
o mech_type OBJECT IDENTIFIER -- specific mechanism for
-- which credentials are being queried
-- 証明書を要求するメカニズムの指定。
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o cred_name INTERNAL NAME, -- guaranteed to be MN; caller must
-- release with GSS_Release_name()
-- MNであることを保証;呼出者はGSS_Release_name()で開放しなければなり
-- ません。
o lifetime_rec_initiate INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位か、INDEFINITEの予約値
o lifetime_rec_accept INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位か、INDEFINITEの予約値
o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY,
-- 2=ACCEPT-ONLY
-- 0=開始と受入, 1=開始のみ, 2=受入のみ
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the credentials referenced by the
input cred_handle argument were valid, that the mechanism indicated
by the input mech_type was represented with elements within those
credentials, and that the output cred_name, lifetime_rec_initiate,
lifetime_rec_accept, and cred_usage values represent, respectively,
the credentials' associated principal name, remaining lifetimes, and
suitable usage modes.
o GSS_S_COMPLETEは入力cred_handle引数で示された証明書が正当で、入力
mech_typeで示されたメカニズムが証明書の要素で表され、出力cred_nameと
lifetime_rec_initiateとlifetime_rec_acceptとcred_usage値が、それぞれ、
関連した主体名を表し、寿命が残っていて、使用方法に適合していることを
示します。
o GSS_S_NO_CRED indicates that no information could be returned
about the referenced credentials, either because the input
cred_handle was invalid or because the caller lacks authorization to
access the referenced credentials.
o GSS_S_NO_CREDは、入力cred_handleが無効であったか、あるいは呼出し者
が参照された証明書のアクセス権を持たないため、証明書に関する情報が返さ
れなかったことを示します。
o GSS_S_DEFECTIVE_CREDENTIAL indicates that the referenced
credentials are invalid.
o GSS_S_DEFECTIVE_CREDENTIALは参照された証明書が無効であることを示し
ます。
o GSS_S_CREDENTIALS_EXPIRED indicates that the referenced
credentials have expired.
o GSS_S_CREDENTIALS_EXPIREDは参照された証明書の期限が切れたことを示
します。
o GSS_S_BAD_MECH indicates that the referenced credentials do not
contain elements for the requested mechanism.
o GSS_S_BAD_MECHは参照された証明書が要求されたメカニズムの要素を含ん
でいないことを示します。
o GSS_S_FAILURE indicates that the operation failed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはオペレーションがGSS−APIレベルで特定されてい
ない理由のために失敗したことを示します。
The GSS_Inquire_cred_by_mech() call enables callers in multi-
mechanism environments to acquire specific data about available
combinations of lifetimes, usage modes, and mechanisms within a
credential structure. The lifetime_rec_initiate result indicates the
available lifetime for context initiation purposes; the
lifetime_rec_accept result indicates the available lifetime for
context acceptance purposes.
GSS_Inquire_cred_by_mech()呼出しは多メカニズム環境で呼出し者が証明書
構造体の中の寿命と使用方法とメカニズムの利用可能な組合せについての特
定のデータを獲得することができるようにします。lifetime_rec_initiate
結果はコンテキスト開始の目的で利用可能な寿命を示します;
lifetime_rec_accept結果はコンテキスト受入れの目的で利用可能な寿命を
示します。
2.2: Context-level calls
2.2: コンテンツレベル呼出し
This group of calls is devoted to the establishment and management of
security contexts between peers. A context's initiator calls
GSS_Init_sec_context(), resulting in generation of a token which the
caller passes to the target. At the target, that token is passed to
GSS_Accept_sec_context(). Depending on the underlying mech_type and
specified options, additional token exchanges may be performed in the
course of context establishment; such exchanges are accommodated by
GSS_S_CONTINUE_NEEDED status returns from GSS_Init_sec_context() and
GSS_Accept_sec_context().
この呼のグループはピア間のセキュリティコンテキストの開始と管理を行い
ます。コンテンツの開始者はGSS_Init_sec_context()を呼出し、相手に渡す
トークンの世代をします。通信相手はそのトークンを
GSS_Accept_sec_context()に渡たします。基礎メカニズム種別と指定された
オプションによって、追加トークンの交換がコンテキスト開始の間に行われ
るかもしれません、このような交換はGSS_Init_sec_context()と
GSS_Accept_sec_context()のGSS_S_CONTINUE_NEEDED状態返り値によって受
け入れられます。
Either party to an established context may invoke
GSS_Delete_sec_context() to flush context information when a context
is no longer required. GSS_Process_context_token() is used to process
received tokens carrying context-level control information.
GSS_Context_time() allows a caller to determine the length of time
for which an established context will remain valid.
GSS_Inquire_context() returns status information describing context
characteristics. GSS_Wrap_size_limit() allows a caller to determine
the size of a token which will be generated by a GSS_Wrap()
operation. GSS_Export_sec_context() and GSS_Import_sec_context()
enable transfer of active contexts between processes on an end
system.
いずれかの確定したコンテキストのどちらかで、コンテキストが必要ない時、
コンテキスト情報をクリアするために GSS_Delete_sec_context()が呼出され
るかもしれません。GSS_Process_context_token()はコンテキストレベル制御
情報を運む受信トークンを処理するために使われます。GSS_Context_time()
は呼出し者が確立したコンテキストが有効な時間の長さを決定を可能にしま
す。GSS_Inquire_context()はコンテキストの特徴を記述した状態情報を返し
ます。GSS_Wrap_size_limit()は呼出し者にGSS_Wrap()オペレーションで生成
されるトークンの大きさの決定を可能にします。GSS_Export_sec_context()
とGSS_Import_sec_context()は末端システム上のプロセス間にアクティブな
コンテキスト転送を可能にします。
2.2.1: GSS_Init_sec_context call
2.2.1: GSS_Init_sec_context呼出
Inputs:
入力:
o claimant_cred_handle CREDENTIAL HANDLE, -- NULL specifies "use
-- default"
-- ヌルは「デフォルトを使用」を意味します。
o input_context_handle CONTEXT HANDLE, -- 0
-- (GSS_C_NO_CONTEXT) specifies "none assigned yet"
-- 0(GSS_C_NO_CONTEXT)は「まだ未割当て」を意味します。
o targ_name INTERNAL NAME,
o mech_type OBJECT IDENTIFIER, -- NULL parameter specifies "use
-- default"
-- ヌルパラメータは「デフォルトを使用」を意味します。
o deleg_req_flag BOOLEAN,
o mutual_req_flag BOOLEAN,
o replay_det_req_flag BOOLEAN,
o sequence_req_flag BOOLEAN,
o anon_req_flag BOOLEAN,
o conf_req_flag BOOLEAN,
o integ_req_flag BOOLEAN,
o lifetime_req INTEGER, -- 0 specifies default lifetime
-- 0はデフォルト寿命を指定します。
o chan_bindings OCTET STRING,
o input_token OCTET STRING -- NULL or token received from target
-- ヌルまたは相手から得たトークン
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_context_handle CONTEXT HANDLE, -- once returned non-NULL,
-- caller must release with GSS_Delete_sec_context()
-- 非ヌルが帰ってきたら、呼出者はGSS_Delete_sec_context()で開放しなけ
-- ればならない。
o mech_type OBJECT IDENTIFIER, -- actual mechanism always
-- indicated, never NULL; caller should treat as read-only
-- and should not attempt to release
-- 決してヌルではなく、常に実際のメカニズムを示す;呼出し者は読出しの
-- みと扱うべきで、開放すべきではありません。
o output_token OCTET STRING, -- NULL or token to pass to context
-- target; caller must release with GSS_Release_buffer()
-- ヌルかコンテキストの相手に渡すトークン;呼出し者は
-- GSS_Release_buffer()で開放しなければなりません。
o deleg_state BOOLEAN,
o mutual_state BOOLEAN,
o replay_det_state BOOLEAN,
o sequence_state BOOLEAN,
o anon_state BOOLEAN,
o trans_state BOOLEAN,
o prot_ready_state BOOLEAN, -- see Section 1.2.7
-- 1.2.7章参照。
o conf_avail BOOLEAN,
o integ_avail BOOLEAN,
o lifetime_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位か、INDEFINITEの予約値
This call may block pending network interactions for those mech_types
in which an authentication server or other network entity must be
consulted on behalf of a context initiator in order to generate an
output_token suitable for presentation to a specified target.
この要求は、認証サービスや他のネットワークエンティティが指定された相
手への提示に適した出力トークンをを生成するため、コンテキスト開始者に
相談するため、mech_typesの対象のネットワーク対話を阻止するかもしれま
せん。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that context-level information was
successfully initialized, and that the returned output_token will
provide sufficient information for the target to perform per-message
processing on the newly-established context.
o GSS_S_COMPLETEはコンテキストレベル情報の初期化が成功し、そして返さ
れたoutput_tokenが新たに確立されたコンテキスト上でメッセージ毎の処理
を行うのに十分な相手の情報を供給するであろうことを示します。
o GSS_S_CONTINUE_NEEDED indicates that control information in the
returned output_token must be sent to the target, and that a reply
must be received and passed as the input_token argument
to a continuation call to GSS_Init_sec_context(), before per-message
processing can be performed in conjunction with this context (unless
the prot_ready_state value is concurrently returned TRUE).
o GSS_S_CONTINUE_NEEDEDは返されたoutput_token内の制御情報が相手に送
られなくてはならず、そして、コンテキストに関するメッセージ毎の処理が
実行される前に、応答を受信し続くGSS_Init_sec_context()呼出の
input_token引数に渡さなくてはならないことを示します。
o GSS_S_DEFECTIVE_TOKEN indicates that consistency checks performed
on the input_token failed, preventing further processing from being
performed based on that token.
o GSS_S_DEFECTIVE_TOKENは、入力トークン上の整合性検査が失敗し、トー
クンに基づくこれ以上の処理が止められた事を示します。
o GSS_S_DEFECTIVE_CREDENTIAL indicates that consistency checks
performed on the credential structure referenced by
claimant_cred_handle failed, preventing further processing from being
performed using that credential structure.
o GSS_S_DEFECTIVE_CREDENTIALclaimant_cred_handleで参照された証明書
構造体上の整合性検査が失敗し、この証明書構造体を使う以降の処理が止め
られた事を示します。
o GSS_S_BAD_SIG (GSS_S_BAD_MIC) indicates that the received
input_token contains an incorrect integrity check, so context setup
cannot be accomplished.
o GSS_S_BAD_SIG(GSS_S_BAD_MIC)は受信入力トークンが正しくない完全
性検査を含むことを示し、それでコンテキスト設立は達成されていません。
o GSS_S_NO_CRED indicates that no context was established, either
because the input cred_handle was invalid, because the referenced
credentials are valid for context acceptor use only, because the
caller lacks authorization to access the referenced credentials, or
because the resolution of default credentials failed.
o GSS_S_NO_CREDは、入力cred_handleが無効であったか、参照証明書がコン
テキスト受入れにのみ使えるか、呼出者に参照証明書にアクセスする権限が
欠けるか、デフォルト証明書解決に失敗したかで、コンテキストが確立され
なかった事を示します。
o GSS_S_CREDENTIALS_EXPIRED indicates that the credentials provided
through the input claimant_cred_handle argument are no longer valid,
so context establishment cannot be completed.
o GSS_S_CREDENTIALS_EXPIREDは入力claimant_cred_handle引数を通して供
給された証明書がもう正当ではないことを示します、それでコンテキスト設
立が完了しませんでした。
o GSS_S_BAD_BINDINGS indicates that a mismatch between the caller-
provided chan_bindings and those extracted from the input_token was
detected, signifying a security-relevant event and preventing context
establishment. (This result will be returned by
GSS_Init_sec_context() only for contexts where mutual_state is TRUE.)
o GSS_S_BAD_BINDINGSは、呼出者の供給したchan_bindingsと、入力トーク
ンから引き出したものが一致しなかった事の検出を示します、セキュリティ
関連イベントを意味し、コンテキスト設立を止めます。(この結果は
mutual_stateが真であるコンテキストでGSS_Init_sec_context()によって返
されるでしょう。)
o GSS_S_OLD_TOKEN indicates that the input_token is too old to be
checked for integrity. This is a fatal error during context
establishment.
o GSS_S_OLD_TOKENは入力トークンが完全性検査をするには古すぎることを
示します。これはコンテキスト設立の致命的エラーです。
o GSS_S_DUPLICATE_TOKEN indicates that the input token has a correct
integrity check, but is a duplicate of a token already processed.
This is a fatal error during context establishment.
o GSS_S_DUPLICATE_TOKENは入力トークンが完全性検査で正しいが、処理す
るトークンが重複している事を示します。これはコンテキスト設立の間の致
命的エラーです。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided; this major status will be
returned only for successor calls following GSS_S_CONTINUE_ NEEDED
status returns.
o GSS_S_NO_CONTEXTは入力context_handleから正当なコンテキストが供給
されなかったことを示します;この主状態はGSS_S_CONTINUE状態が返って来
た呼出の後の呼出でだけ返されるでしょう。
o GSS_S_BAD_NAMETYPE indicates that the provided targ_name is of a
type uninterpretable or unsupported by the applicable underlying
GSS-API mechanism(s), so context establishment cannot be completed.
o GSS_S_BAD_NAMETYPEは供給されたtarg_nameが適用可能なGSS−API
メカニズムで翻訳できないかサポートできない事を示します、それでコンテ
キスト設立が完了していません。
o GSS_S_BAD_NAME indicates that the provided targ_name is
inconsistent in terms of internally-incorporated type specifier
information, so context establishment cannot be accomplished.
o GSS_S_BAD_NAMEは供給されたtarg_nameが内部のタイプ固有情報に関して
整合していない事を示します、それでコンテキスト設立は完了していません。
o GSS_S_BAD_MECH indicates receipt of a context establishment token
or of a caller request specifying a mechanism unsupported by the
local system or with the caller's active credentials
o GSS_S_BAD_MECHはローカルシステムあるいは呼出者の活性化された証明
書でがサポートしないメカニズムを指定したコンテキスト設立トークンの受
信や呼出者要求を示します。
o GSS_S_FAILURE indicates that context setup could not be
accomplished for reasons unspecified at the GSS-API level, and that
no interface-defined recovery action is available.
o GSS_S_FAILUREはコンテキスト設立がGSS−APIレベルで特定されて
いない理由で完了していない事を示します、それでインタフェースで定義さ
れた回復行動が利用可能ではないことを示します。
This routine is used by a context initiator, and ordinarily emits an
output_token suitable for use by the target within the selected
mech_type's protocol. For the case of a multi-step exchange, this
output_token will be one in a series, each generated by a successive
call. Using information in the credentials structure referenced by
claimant_cred_handle, GSS_Init_sec_context() initializes the data
structures required to establish a security context with target
targ_name.
このルーチンはコンテキスト開始者によって使われ、そして通常選択された
mech_typeのプロトコルの中から相手との使用に適した出力トークンを発行し
ます。多ステップ交換の場合に、この出力トークンはそれぞれ連続した呼び
出して生成された列であるでしょう。claimant_cred_handleで示された証明
書構造体内の情報を使い、GSS_Init_sec_context()は相手targ_nameとのセキュ
リティコンテキストを確立するために必要なデータ構造体を初期化します。
The targ_name may be any valid INTERNAL NAME; it need not be an MN.
In addition to support for other name types, it is recommended (newly
as of GSS-V2, Update 1) that mechanisms be able to accept
GSS_C_NO_NAME as an input type for targ_name. While recommended,
such support is not required, and it is recognized that not all
mechanisms can construct tokens without explicitly naming the context
target, even when mutual authentication of the target is not
obtained. Callers wishing to make use of this facility and concerned
with portability should be aware that support for GSS_C_NO_NAME as
input targ_name type is unlikely to be provided within mechanism
definitions specified prior to GSS-V2, Update 1.
targ_nameは正当な内部名かもしれません;それはMNである必要がありません。
他の名前タイプをサポートのほかに、(新たにGSS−V2の更新1で)メカ
ニズムが GSS_C_NO_NAMEでtarg_nameの入力名で受入れできることが勧められ
ます。これが推薦されているが、このようなサポートは必要ではなく、そし
てすべてのメカニズムが、相手との相互認証が得られない時に、明示的にコ
ンテキストの相手を指定しないトークンを作れるとは限りません。この機能
を利用することを望みポータビリティに関連した呼出者は、入力targ_name
タイプとしてGSS_C_NO_NAMEのサポートがGSS−V2の更新1の前に定義し
たメカニズムで供給されなさそうなことを知っているべきです。
The claimant_cred_handle must correspond to the same valid
credentials structure on the initial call to GSS_Init_sec_context()
and on any successor calls resulting from GSS_S_CONTINUE_NEEDED
status returns; different protocol sequences modeled by the
GSS_S_CONTINUE_NEEDED facility will require access to credentials at
different points in the context establishment sequence.
claimant_cred_handleはGSS_Init_sec_context()への最初の呼出と、
GSS_S_CONTINUE_NEEDED状態が返り値である、正しい証明書証明書と同じもの
に対応しなければなりません;GSS_S_CONTINUE_NEEDED機能で設計された異な
るプロトコル列が、コンテキスト設立の連続で異なる点で証明書にアクセス
を必要とするでしょう。
The caller-provided input_context_handle argument is to be 0
(GSS_C_NO_CONTEXT), specifying "not yet assigned", on the first
GSS_Init_sec_context() call relating to a given context. If
successful (i.e., if accompanied by major_status GSS_S_COMPLETE or
GSS_S_CONTINUE_NEEDED), and only if successful, the initial
GSS_Init_sec_context() call returns a non-zero output_context_handle
for use in future references to this context. Once a non-zero
output_context_handle has been returned, GSS-API callers should call
GSS_Delete_sec_context() to release context-related resources if
errors occur in later phases of context establishment, or when an
established context is no longer required. If GSS_Init_sec_context()
is passed the handle of a context which is already fully established,
GSS_S_FAILURE status is returned.
呼出し者によって供給されたinput_context_handle引数は
0(GSS_C_NO_CONTEXT)で、「見割当て」を指定し、そのコンテキストに関する
最初のGSS_Init_sec_context()呼出であるはずです。もし成功したら(すな
わち、主状態がGSS_S_COMPLETEかGSS_S_CONTINUE_NEEDEDなら)、そしてもし
成功したなら、最初のGSS_Init_sec_context()呼出は、将来のコンテキスト
での参照のため非ゼロoutput_context_handleを返します。非ゼロの
output_context_handleが返されたら、もしコンテキスト確立の後のフェーズ
でエラーが生じたら、あるいは確立したコンテキストがもう必要ないなら、
GSS−API 呼出し者がコンテキストに関連する資源を解放するために
GSS_Delete_sec_context()を呼び出すべきです。もし
GSS_Init_sec_context()がすでに完全に確立されているコンテキストのハン
ドルを渡すなら、GSS_S_FAILURE状態が返されます。
When continuation attempts to GSS_Init_sec_context() are needed to
perform context establishment, the previously-returned non-zero
handle value is entered into the input_context_handle argument and
will be echoed in the returned output_context_handle argument. On
such continuation attempts (and only on continuation attempts) the
input_token value is used, to provide the token returned from the
context's target.
コンテキスト確立のためにGSS_Init_sec_context()呼出の継続が必要な時、
前に返されたゼロ以外のハンドル値は input_context_handle引数に入力され、
そして返されたoutput_context_handle引数に戻されるでしょう。このような
継続呼出で(そして継続呼出でだけ)、コンテキストの相手から返されたトー
クンを供給するために、入力トークン値は使われます。
The chan_bindings argument is used by the caller to provide
information binding the security context to security-related
characteristics (e.g., addresses, cryptographic keys) of the
underlying communications channel. See Section 1.1.6 of this document
for more discussion of this argument's usage.
chan_bindings引数は、セキュリティコンテキストを基礎通信チャンネルのセ
キュリティ関連の特徴(例えば、アドレス、暗号鍵)に対応付ける情報を供
給するために呼出し者によって使われます。このこの引数の使用法のより多
くの論議は文書の1.1.6章を見てください。
The input_token argument contains a message received from the target,
and is significant only on a call to GSS_Init_sec_context() which
follows a previous return indicating GSS_S_CONTINUE_NEEDED
major_status.
入力トークン引数は相手から受け取ったメッセージを含み、そして
GSS_S_CONTINUE_NEEDED主状態を示している前の返り値
GSS_Init_sec_context()の後に続く呼出で重要です。
It is the caller's responsibility to establish a communications path
to the target, and to transmit any returned output_token (independent
of the accompanying returned major_status value) to the target over
that path. The output_token can, however, be transmitted along with
the first application-provided input message to be processed by
GSS_GetMIC() or GSS_Wrap() in conjunction with a successfully-
established context. (Note: when the GSS-V2 prot_ready_state
indicator is returned TRUE, it can be possible to transfer a
protected message before context establishment is complete: see also
Section 1.2.7)
相手への通信パスを設立し、返された出力トークンを(返って来た主状態に
関わらず)パス上で相手へ転送するのは呼出者の責任です。しかし、出力トー
クンは、確立が成功したコンテキストと関連してGSS_GetMIC()かGSS_Wrap()
によって処理される最初のアプリケーション供給入力メッセージで伝達する
ことができます。(メモ:GSS−V2prot_ready_state表示が真で返され
る時、コンテキスト設立が完全である前に、保護されたメッセージを転送す
ることは可能す:同1.2.7章を見てください)。
The initiator may request various context-level functions through
input flags: the deleg_req_flag requests delegation of access rights,
the mutual_req_flag requests mutual authentication, the
replay_det_req_flag requests that replay detection features be
applied to messages transferred on the established context, and the
sequence_req_flag requests that sequencing be enforced. (See Section
1.2.3 for more information on replay detection and sequencing
features.) The anon_req_flag requests that the initiator's identity
not be transferred within tokens to be sent to the acceptor.
開始者は入力フラグを通して様々なコンテキストレベル機能を求めてもよい
です:deleg_req_flagはアクセス権利の委任を求めます、 mutual_req_flag
は相互の認証を求めます、replay_det_req_flagは確定したコンテキスト上
で転送するメッセージで再生検出機能が適用される事を求めます、
sequence_req_flagは順序付けが実施されることを求めます。(再生発見と順
序付け機能のより多くの情報は1.2.3章を見てください。)anon_req_flag
は開始者の識別子が受信者へ送られるトークンで送らないことを求めます。
The conf_req_flag and integ_req_flag provide informatory inputs to
the GSS-API implementation as to whether, respectively, per-message
confidentiality and per-message integrity services will be required
on the context. This information is important as an input to
negotiating mechanisms. It is important to recognize, however, that
the inclusion of these flags (which are newly defined for GSS-V2)
introduces a backward incompatibility with callers implemented to
GSS-V1, where the flags were not defined. Since no GSS-V1 callers
would set these flags, even if per-message services are desired,
GSS-V2 mechanism implementations which enable such services
selectively based on the flags' values may fail to provide them to
contexts established for GSS-V1 callers. It may be appropriate under
certain circumstances, therefore, for such mechanism implementations
to infer these service request flags to be set if a caller is known
to be implemented to GSS-V1.
conf_req_flagとinteg_req_flagはそれぞれ、メッセージ毎機密性とメッセー
ジ毎完全性サービスがコンテキスト上で必要とされるかについて、GSS−
API 実装に情報入力を供給します。この情報はメカニズム交渉での入力と
して重要です。しかしながら、(GSS−V2で新たに定義される)これらの
フラグの存在は、フラグが定義されていないGSS−V1の実装呼出者と後
方非互換性を発生すると認識するのは重要です。GSS−V1呼出し者がこ
れらのフラグを設定しないので、たとえメッセージ毎のサービスが要望され
ても、選択フラグの値に基づいたサービスを可能にするGSS−V2メカニ
ズム実装がGSS−V1呼出し者のために確立されたコンテキストでそれら
を供給し損ねるかもしれません。ある状況下で、つまり、このようなメカニ
ズムの実装者が、呼出者がGSS−V1を実装していると知っているなら、
要求フラグが設定されていると推測するのは、適当であるかもしれません。
Not all of the optionally-requestable features will be available in
all underlying mech_types. The corresponding return state values
deleg_state, mutual_state, replay_det_state, and sequence_state
indicate, as a function of mech_type processing capabilities and
initiator-provided input flags, the set of features which will be
active on the context. The returned trans_state value indicates
whether the context is transferable to other processes through use of
GSS_Export_sec_context(). These state indicators' values are
undefined unless either the routine's major_status indicates
GSS_S_COMPLETE, or TRUE prot_ready_state is returned along with
GSS_S_CONTINUE_NEEDED major_status; for the latter case, it is
possible that additional features, not confirmed or indicated along
with TRUE prot_ready_state, will be confirmed and indicated when
GSS_S_COMPLETE is subsequently returned.
任意要求機能の全てが基礎mech_typesで利用可能なわけではありません。対
応する応答状態値deleg_stateとmutual_stateとreplay_det_stateと
sequence_stateは、mech_type処理能力の機能と創始者によって供給された
入力フラグの関数で、コンテキストで活性化している機能を示します。返さ
れたtrans_state値はコンテキストがGSS_Export_sec_context()の使用を通
して他のプロセスに譲渡可能であるかどうか示します。これらの状態表示値
は、ルーチンの主状態がGSS_S_COMPLETEを示すか、GSS_S_CONTINUE_NEEDED
主状態で真のprot_ready_stateが示されなければ、不確定です;後者で、確
証されてないか、あるいは真のprot_ready_stateとともに示されなかった追
加の機能が確証されて、そしてGSS_S_COMPLETEがその後返される時、示され
ることは可能です。
The returned anon_state and prot_ready_state values are significant
for both GSS_S_COMPLETE and GSS_S_CONTINUE_NEEDED major_status
returns from GSS_Init_sec_context(). When anon_state is returned
TRUE, this indicates that neither the current token nor its
predecessors delivers or has delivered the initiator's identity.
Callers wishing to perform context establishment only if anonymity
support is provided should transfer a returned token from
GSS_Init_sec_context() to the peer only if it is accompanied by a
TRUE anon_state indicator. When prot_ready_state is returned TRUE in
conjunction with GSS_S_CONTINUE_NEEDED major_status, this indicates
that per-message protection operations may be applied on the context:
see Section 1.2.7 for further discussion of this facility.
返されたanon_stateとprot_ready_state値はGSS_Init_sec_context()から返
されたGSS_S_COMPLETEとGSS_S_CONTINUE_NEEDEDの両方の主状態で重要です。
anon_stateが真で返される時、これは現在トークンや前ので開始者の識別子
が転送されないことを示します。匿名サポートが供給される場合に限り、コ
ンテキスト設立を行うことを望んでいる呼出し者が、真のanon_state表示が
ある場合に限り、GSS_Init_sec_context()から返されたトークンを相手へ送
るべきです。GSS_S_CONTINUE_NEEDED主状態で、prot_ready_stateが真で返
される時、これはメッセージ毎の保護がコンテキスト上で適用されるかもし
れません:この機能のこれ以上の論議は1.2.7章を見てください。
Failure to provide the precise set of features requested by the
caller does not cause context establishment to fail; it is the
caller's prerogative to delete the context if the feature set
provided is unsuitable for the caller's use.
呼出し者に求められた全ての機能の供給に関しての失敗がコンテキスト設立
を失敗させません;供給された機能群が呼出し者の使用に不適当であるなら、
コンテキストを削除するのは呼出し者の権限です。
The returned mech_type value indicates the specific mechanism
employed on the context; it will never indicate the value for
"default". A valid mech_type result must be returned along with a
GSS_S_COMPLETE status return; GSS-API implementations may (but are
not required to) also return mech_type along with predecessor calls
indicating GSS_S_CONTINUE_NEEDED status or (if a mechanism is
determinable) in conjunction with fatal error cases. For the case of
mechanisms which themselves perform negotiation, the returned
mech_type result may indicate selection of a mechanism identified by
an OID different than that passed in the input mech_type argument,
and the returned value may change between successive calls returning
GSS_S_CONTINUE_NEEDED and the final call returning GSS_S_COMPLETE.
返されたmech_type値はコンテキスト上で使用される特定のメカニズムを示し
ます;これは決して「デフォルト」値を示さないでしょう。有効なmech_type
結果がGSS_S_COMPLETE状態ととともに返されなくてはなりません;GSS−
API実装が前の呼出がGSS_S_CONTINUE_NEEDED状態か、(もしメカニズムが
決定可能なら)致命的エラーの場合に関連して、mech_typeを返すかもしれま
せん(必須ではありません)。自ら交渉を行うメカニズムの場合に、返された
mech_typeは入力mech_type引数で渡されたのと異なるOIDで識別された選
択されたメカニズムを示すかもしれません、そして返された値は
GSS_S_CONTINUE_NEEDED を返している連続した呼び出しと GSS_S_COMPLETEを
返している最終呼出しで変化するかもしれません。
The conf_avail return value indicates whether the context supports
per-message confidentiality services, and so informs the caller
whether or not a request for encryption through the conf_req_flag
input to GSS_Wrap() can be honored. In similar fashion, the
integ_avail return value indicates whether per-message integrity
services are available (through either GSS_GetMIC() or GSS_Wrap()) on
the established context. These state indicators' values are undefined
unless either the routine's major_status indicates GSS_S_COMPLETE, or
TRUE prot_ready_state is returned along with GSS_S_CONTINUE_NEEDED
major_status.
conf_avail返り値はコンテキストがメッセージ毎の機密性サービスをサポー
トするかどうかと、そして呼出し者にGSS_Wrap()へのconf_req_flag入力を通
しての暗号化の要請が受け容れられるかについて通知を示します。類似の方
法で、integ_avail返り値はメッセージ毎完全性サービスが確定したコンテキ
スト上で(GSS_GetMIC()やGSS_Wrap()を通して)利用可能であるかどうか示
します。これらの状態表示値は、ルーチンの主状態がGSS_S_COMPLETEである
か、GSS_S_CONTINUE_NEEDED主状態と共にprot_ready_stateが返されるなら、
不確定です。
The lifetime_req input specifies a desired upper bound for the
lifetime of the context to be established, with a value of 0 used to
request a default lifetime. The lifetime_rec return value indicates
the length of time for which the context will be valid, expressed as
an offset from the present; depending on mechanism capabilities,
credential lifetimes, and local policy, it may not correspond to the
value requested in lifetime_req. If no constraints on context
lifetime are imposed, this may be indicated by returning a reserved
value representing INDEFINITE lifetime_req. The value of lifetime_rec
is undefined unless the routine's major_status indicates
GSS_S_COMPLETE.
lifetime_req入力はコンテキストの望ましい寿命の上限が確立され、0の値
がデフォルト寿命の要求を指定します。lifetime_rec返り値はコンテキスト
が有効である時間を現在からのオフセットとして示します;メカニズム能力
と証明書とローカルポリシに依存して、lifetime_reqで要求した値とは対応
しないかもしれません。もしコンテキスト寿命の制約がないなら、これは不
明確なlifetime_reqを表す予約値を返すことで示されるかもしれません。
lifetime_rec値は、ルーチンの主状態がGSS_S_COMPLETEを示さないなら、不
確定です。
If the mutual_state is TRUE, this fact will be reflected within the
output_token. A call to GSS_Accept_sec_context() at the target in
conjunction with such a context will return a token, to be processed
by a continuation call to GSS_Init_sec_context(), in order to achieve
mutual authentication.
もしmutual_stateが真であるなら、この事実は出力トークン内で反映される
でしょう。このようなコンテキストに関連しての相手での
GSS_Accept_sec_context()呼出しはトークンを返し、相互認証を成し遂げる
ためにGSS_Init_sec_context()への継続呼び出しで処理ます。
2.2.2: GSS_Accept_sec_context call
2.2.2: GSS_Accept_sec_context呼出
Inputs:
入力:
o acceptor_cred_handle CREDENTIAL HANDLE, -- NULL specifies
-- "use default"
-- ヌルは「デフォルトを使用」を意味します。
o input_context_handle CONTEXT HANDLE, -- 0
-- (GSS_C_NO_CONTEXT) specifies "not yet assigned"
-- 0(GSS_C_NO_CONTEXT)は「まだ未割当て」を意味します。
o chan_bindings OCTET STRING,
o input_token OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o src_name INTERNAL NAME, -- guaranteed to be MN
-- once returned, caller must release with GSS_Release_name()
-- MNであることを保障します、返ってくる場合、呼出し者は
-- GSS_Release_name()で開放しなければなりません。
o mech_type OBJECT IDENTIFIER, -- caller should treat as
-- read-only; does not need to be released
-- 呼出し者は読出し専用と扱うべきで、解放する必要はありません。
o output_context_handle CONTEXT HANDLE, -- once returned
-- non-NULL in context establishment sequence, caller
-- must release with GSS_Delete_sec_context()
-- コンテキスト確立時に非ヌルが帰ってきたら、呼出者は
-- GSS_Delete_sec_context()で開放しなければなりません
o deleg_state BOOLEAN,
o mutual_state BOOLEAN,
o replay_det_state BOOLEAN,
o sequence_state BOOLEAN,
o anon_state BOOLEAN,
o trans_state BOOLEAN,
o prot_ready_state BOOLEAN, -- see Section 1.2.7 for discussion
-- 1.2.7章の議論を参照
o conf_avail BOOLEAN,
o integ_avail BOOLEAN,
o lifetime_rec INTEGER, -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位、またはINDEFINITEの予約値
o delegated_cred_handle CREDENTIAL HANDLE, -- if returned non-NULL,
-- caller must release with GSS_Release_cred()
-- 非ヌルが返って来たら呼出者はGSS_Release_name()で開放しなければなら
-- ない。
o output_token OCTET STRING -- NULL or token to pass to context
-- initiator; if returned non-NULL, caller must release with
-- GSS_Release_buffer()
-- ヌルかコンテキスト開始者に渡すトークン;非ヌルが返って来たら呼出者
-- はGSS_Release_name()で開放しなければならない。
This call may block pending network interactions for those mech_types
in which a directory service or other network entity must be
consulted on behalf of a context acceptor in order to validate a
received input_token.
この要求は、ディレクリサービスや他のネットワークエンティティが入力
トークンをを生成するため、コンテキスト受信者に相談するため、
mech_typesの対象のネットワーク対話を阻止するかもしれません。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that context-level data structures were
successfully initialized, and that per-message processing can now be
performed in conjunction with this context.
o GSS_S_COMPLETEはコンテキストレベルデータ構造体の初期化に成功したこ
とを示します、そしてこのこのコンテキストに関するメッセージ毎の処理は
今できます。
o GSS_S_CONTINUE_NEEDED indicates that control information in the
returned output_token must be sent to the initiator, and that a
response must be received and passed as the input_token argument to a
continuation call to GSS_Accept_sec_context(), before per-message
processing can be performed in conjunction with this context.
o GSS_S_CONTINUE_NEEDEDは、コンテキストに関するメッセージ毎の処理が
行われる前に、返された出力トークンのの制御情報が開始者に送られなくて
はならず、そして応答を受信し、入力トークン引数に設定し、
GSS_Accept_sec_context()呼出しを継続しなければないことを示します。
o GSS_S_DEFECTIVE_TOKEN indicates that consistency checks performed
on the input_token failed, preventing further processing from being
performed based on that token.
o GSS_S_DEFECTIVE_TOKENは、入力トークン上の整合性検査に失敗し、この
トークンに基づくこれ以上の処理を終えるべきことを示します。
o GSS_S_DEFECTIVE_CREDENTIAL indicates that consistency checks
performed on the credential structure referenced by
acceptor_cred_handle failed, preventing further processing from being
performed using that credential structure.
o GSS_S_DEFECTIVE_CREDENTIALは、が acceptor_cred_handleによって参照
された証明書構造体上の整合性検査に失敗しに、この証明書構造体を使うこ
れ以上の処理が行われるのを阻止することを示します。
o GSS_S_BAD_SIG (GSS_S_BAD_MIC) indicates that the received
input_token contains an incorrect integrity check, so context setup
cannot be accomplished.
o GSS_S_BAD_SIG(GSS_S_BAD_MIC)は受信入力トークンが正しくない完全
性検査を含むことを示します、それでコンテキスト確立は達成されていませ
ん。
o GSS_S_DUPLICATE_TOKEN indicates that the integrity check on the
received input_token was correct, but that the input_token was
recognized as a duplicate of an input_token already processed. No new
context is established.
o GSS_S_DUPLICATE_TOKENは受信入力トークン上の完全性検査が正しかった
が、しかし入力トークンがすでに処理された入力トークンと重複とている認
知されたことを示します。新しいコンテキストが確立されていません。
o GSS_S_OLD_TOKEN indicates that the integrity check on the received
input_token was correct, but that the input_token is too old to be
checked for duplication against previously-processed input_tokens. No
new context is established.
o GSS_S_OLD_TOKENは受信入力トークンの完全性検査が正しかったが、入力
トークンがが重複検査のために前に処理された入力トークンと照合するには
古すぎることを示します。新しいコンテキストが確立されていません。
o GSS_S_NO_CRED indicates that no context was established, either
because the input cred_handle was invalid, because the referenced
credentials are valid for context initiator use only, because the
caller lacks authorization to access the referenced credentials, or
because the procedure for default credential resolution failed.
o GSS_S_NO_CREDは、入力cred_handleが無効であるか、参照された証明書が
コンテキスト開始専用であるか、呼出者が参照された証明書のアクセス権を
持たないか、デフォルト証明書解決手順が失敗したかで、コンテキストが確
立していない事を示します。
o GSS_S_CREDENTIALS_EXPIRED indicates that the credentials provided
through the input acceptor_cred_handle argument are no longer valid,
so context establishment cannot be completed.
o GSS_S_CREDENTIALS_EXPIREDは入力acceptor_cred_handle引数で供給され
た証明書がもう正当ではないく、コンテキスト確立が完了できなかったこと
を示します。
o GSS_S_BAD_BINDINGS indicates that a mismatch between the caller-
provided chan_bindings and those extracted from the input_token was
detected, signifying a security-relevant event and preventing context
establishment.
o GSS_S_BAD_BINDINGSは、呼出し者の供給したchan_bindingsと入力トーク
ンから抽出されたものの不適当な組合わせが検出され、セキュリティ関連イ
ベントを意味し、コンテキスト確立が妨げられたことを示します。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided; this major status will be
returned only for successor calls following GSS_S_CONTINUE_ NEEDED
status returns.
o GSS_S_NO_CONTEXTは供給された入力context_handleに対する正しいコン
テキストが認識されなかったことを示します;この主状態はGSS_S_CONTINUE
状態を応答の後の呼び出しでだけ返されるでしょう。
o GSS_S_BAD_MECH indicates receipt of a context establishment token
specifying a mechanism unsupported by the local system or with the
caller's active credentials.
o GSS_S_BAD_MECHはローカルシステムか呼出者の活性化された証明書でサポー
トされていないメカニズムを指定したコンテキスト確立トークンの受信を示
します。
o GSS_S_FAILURE indicates that context setup could not be
accomplished for reasons unspecified at the GSS-API level, and that
no interface-defined recovery action is available.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由でコンテ
キスト設立が達成されず、インタフェースによって定義された回復動作が利
用可能ではないことを示します。
The GSS_Accept_sec_context() routine is used by a context target.
Using information in the credentials structure referenced by the
input acceptor_cred_handle, it verifies the incoming input_token and
(following the successful completion of a context establishment
sequence) returns the authenticated src_name and the mech_type used.
The returned src_name is guaranteed to be an MN, processed by the
mechanism under which the context was established. The
acceptor_cred_handle must correspond to the same valid credentials
structure on the initial call to GSS_Accept_sec_context() and on any
successor calls resulting from GSS_S_CONTINUE_NEEDED status returns;
different protocol sequences modeled by the GSS_S_CONTINUE_NEEDED
mechanism will require access to credentials at different points in
the context establishment sequence.
GSS_Accept_sec_context()ルーチンはコンテキストの相手によって使われま
す。入力acceptor_cred_handleの参照する証明書構造体の情報を使って、入
input_tokenを検証し、(コンテキスト設立シーケンスの成功後に)が認証さ
れたsrc_nameと使われたmech_typeを返します。返されたsrc_nameは、確立さ
れたコンテキストメカニズムによって処理されて、MNであることを保証さ
れます。GSS_Accept_sec_context()への最初の呼出しと以降の
GSS_S_CONTINUE_NEEDED状態が返った後でacceptor_cred_handleは同じ正当な
証明書に対応しなくてはなりません;GSS_S_CONTINUE_NEEDEDメカニズムによっ
て設計された異なるプロトコルシーケンスがコンテキスト設立シーケンスの
異なるポイントで証明書アクセスを必要とするでしょう。
The caller-provided input_context_handle argument is to be 0
(GSS_C_NO_CONTEXT), specifying "not yet assigned", on the first
GSS_Accept_sec_context() call relating to a given context. If
successful (i.e., if accompanied by major_status GSS_S_COMPLETE or
GSS_S_CONTINUE_NEEDED), and only if successful, the initial
GSS_Accept_sec_context() call returns a non-zero
output_context_handle for use in future references to this context.
Once a non-zero output_context_handle has been returned, GSS-API
callers should call GSS_Delete_sec_context() to release context-
related resources if errors occur in later phases of context
establishment, or when an established context is no longer required.
If GSS_Accept_sec_context() is passed the handle of a context which
is already fully established, GSS_S_FAILURE status is returned.
与えられたコンテキストに関連しする最初のGSS_Accept_sec_context()呼出
しで、呼出者の供給したinput_context_handle引数は「未割当て」を明示す
る0( GSS_C_NO_CONTEXT )であるはずです。もし成功したなら(すなわち、
もし主状態がGSS_S_COMPLETEかGSS_S_CONTINUE_NEEDEDなら)、そして成功し
た場合だけ、最初のGSS_Accept_sec_context()呼出しはゼロでない
output_context_handleをこのコンテキストの今後の参照として返します。
非ゼロのoutput_context_handleが返されたら、コンテキスト確立の後の
フェーズでエラーが出たり、確立したコンテキストが必要なくなった場合に、
GSS−API呼出し者がコンテキスト関連資源の解放のために
GSS_Delete_sec_context()を呼出すべきです。もしGSS_Accept_sec_context()
にすでに完全に確立されているコンテキストのハンドルを渡されるなら、
GSS_S_FAILURE状態が返されます。
The chan_bindings argument is used by the caller to provide
information binding the security context to security-related
characteristics (e.g., addresses, cryptographic keys) of the
underlying communications channel. See Section 1.1.6 of this document
for more discussion of this argument's usage.
chan_bindings引数は基礎通信チャンネルのセキュリティ関連の特徴(例えば、
アドレスや暗号鍵)とセキュリティコンテキストを関連付ける情報を供給す
るために呼出し者によって使われます。このこの引数の使用法のより多くの
論議はこの文書の1.1.6章を見てください。
The returned state results (deleg_state, mutual_state,
replay_det_state, sequence_state, anon_state, trans_state, and
prot_ready_state) reflect the same information as described for
GSS_Init_sec_context(), and their values are significant under the
same return state conditions.
返された状態結果(deleg_stateとmutual_stateとreplay_det_stateと
sequence_stateとanon_stateとtrans_stateとprot_ready_state)は
GSS_Init_sec_context()のために記述されるのと同じ情報を反映し、そして
これらの値は同じ返り状態下で重要です。
The conf_avail return value indicates whether the context supports
per-message confidentiality services, and so informs the caller
whether or not a request for encryption through the conf_req_flag
input to GSS_Wrap() can be honored. In similar fashion, the
integ_avail return value indicates whether per-message integrity
services are available (through either GSS_GetMIC() or GSS_Wrap())
on the established context. These values are significant under the
same return state conditions as described under
GSS_Init_sec_context().
conf_avail返り値はコンテキストがメッセージ毎機密性サービスをサポート
するかどうかを示し、それで呼出し者にGSS_Wrap()へのconf_req_flag入力を
通しての暗号化の要請が受け容れられるかどうかを通知します。類似の方法
で、integ_avail返り値はメッセージ毎完全性サービスが確立したコンテキス
ト上で(GSS_GetMIC()やGSS_Wrap()を通して)利用可能であるかどうか示し
ます。これらの値 GSS_Init_sec_context()下で記述されるのと同じ返り状態
下で重要です。
The lifetime_rec return value is significant only in conjunction with
GSS_S_COMPLETE major_status, and indicates the length of time for
which the context will be valid, expressed as an offset from the
present.
lifetime_rec返り値値はGSS_S_COMPLETE主状態でだけ重要であり、現在から
のオフセットでコンテキストが有効な時間長を示します。
The returned mech_type value indicates the specific mechanism
employed on the context; it will never indicate the value for
"default". A valid mech_type result must be returned whenever
GSS_S_COMPLETE status is indicated; GSS-API implementations may (but
are not required to) also return mech_type along with predecessor
calls indicating GSS_S_CONTINUE_NEEDED status or (if a mechanism is
determinable) in conjunction with fatal error cases. For the case of
mechanisms which themselves perform negotiation, the returned
mech_type result may indicate selection of a mechanism identified by
an OID different than that passed in the input mech_type argument,
and the returned value may change between successive calls returning
GSS_S_CONTINUE_NEEDED and the final call returning GSS_S_COMPLETE.
返されたメカニズムタイプ値はコンテキスト上で利用される特定のメカニズ
ムを示します;これは決して「デフォルト」値を示さないでしょう。有効な
メカニズム種別の結果はGSS_S_COMPLETE状態が示される時は常に返されなく
てはなりません;GSS−API実装が前のGSS_S_CONTINUE_NEEDED状態を
示す呼出しにより、あるいは致命的エラーの場合に関連してメカニズム種別
を返すかもしれません (しかし必須ではありません)。自ら交渉を行うメカ
ニズムの場合に、入力mech_type引数で渡されたのとは異なり、OIDで識
別される選択されたメカニズム種別を返すかもしれません、そして返された
値はGSS_S_CONTINUE_NEEDEDを返す連続した呼出しとGSS_S_COMPLETEを返す
最終呼出しで変化するかもしれません。
The delegated_cred_handle result is significant only when deleg_state
is TRUE, and provides a means for the target to reference the
delegated credentials. The output_token result, when non-NULL,
provides a context-level token to be returned to the context
initiator to continue a multi-step context establishment sequence. As
noted with GSS_Init_sec_context(), any returned token should be
transferred to the context's peer (in this case, the context
initiator), independent of the value of the accompanying returned
major_status.
delegated_cred_handle結果は、deleg_stateが真で、そして相手が委任され
た証明書を参照する手段を供給する時にだけ重要です。output_token結果は、
ヌルでない時、多ステップのコンテキスト設立シーケンスを続けるためにコ
ンテキスト開始者に返されるコンテキストレベルのトークンを供給します。
GSS_Init_sec_context()で記載したように、返された主状態値に無関係に、
どんな返されたトークンもコンテキストの相手(この場合、コンテキスト開
始者)文に渡されるべきです。
Note: A target must be able to distinguish a context-level
input_token, which is passed to GSS_Accept_sec_context(), from the
per-message data elements passed to GSS_VerifyMIC() or GSS_Unwrap().
These data elements may arrive in a single application message, and
GSS_Accept_sec_context() must be performed before per-message
processing can be performed successfully.
ノート:相手はGSS_Accept_sec_context()に渡されるコンテキストレベル
input_tokenと、GSS_VerifyMIC()やGSS_Unwrap()に渡されるメッセージ毎の
データ要素を区別することができなければなりません。これらのデータ要素
はひとつのアプリケーションメッセージで到着するかもしれず、そしてメッ
セージ毎の処理が行われる前に、GSS_Accept_sec_context()が行われなくて
はなりません。
2.2.3: GSS_Delete_sec_context call
2.2.3: GSS_Delete_sec_context呼出
Input:
入力:
o context_handle CONTEXT HANDLE
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_context_token OCTET STRING
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the context was recognized, and that
relevant context-specific information was flushed. If the caller
provides a non-null buffer to receive an output_context_token, and
the mechanism returns a non-NULL token into that buffer, the returned
output_context_token is ready for transfer to the context's peer.
o GSS_S_COMPLETEはコンテキストが認識されたことを示し、そして適切なコ
ンテキスト固有情報はクリアされました。もし呼出し者がoutput_context_token
を受信するためにヌルでないバッファを供給し、そしてメカニズムがそのバッ
ファ内にヌルでないトークンを返すなら、返されたoutput_context_tokenは
コンテキストの相手へ転送する準備ができています。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided, so no deletion was performed.
o GSS_S_NO_CONTEXTは入力context_handleで供給した正当なコンテキストが
認識されなかったことを示します、それで削除が行われませんでした。
o GSS_S_FAILURE indicates that the context is recognized, but that
the GSS_Delete_sec_context() operation could not be performed for
reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはコンテキストが認識されたが、GSS_Delete_sec_context()
オペレーションがGSS−APIレベルで特定されていない理由で行われな
かったことを示します。
This call can be made by either peer in a security context, to flush
context-specific information. Once a non-zero output_context_handle
has been returned by context establishment calls, GSS-API callers
should call GSS_Delete_sec_context() to release context-related
resources if errors occur in later phases of context establishment,
or when an established context is no longer required. This call may
block pending network interactions for mech_types in which active
notification must be made to a central server when a security context
is to be deleted.
この呼出しコンテキスト固有情報をクリアするために、セキュリティコンテ
キストのどちらかのピアで呼出しできます。非ヌルのoutput_context_handle
がコンテキスト設立呼出しで返されたら、もしコンテキスト設立呼出しの後
の段階でエラーが生じたか、あるいは確立したコンテキストがもう必要ない
時に、GSS−API呼出し者はコンテキスト関連資源を解放するために
GSS_Delete_sec_context()を呼出すべきです。この呼出しは、セキュリティ
コンテキストを削除するときに、中央サーバに活性化通知を送っている、メ
カニズムタイプのネットワーク処理を阻止するかもしれません。
If a non-null output_context_token parameter is provided by the
caller, an output_context_token may be returned to the caller. If an
output_context_token is provided to the caller, it can be passed to
the context's peer to inform the peer's GSS-API implementation that
the peer's corresponding context information can also be flushed.
(Once a context is established, the peers involved are expected to
retain cached credential and context-related information until the
information's expiration time is reached or until a
GSS_Delete_sec_context() call is made.)
もしヌルでないoutput_context_tokenパラメータが呼出し者から供給される
なら、output_context_tokenが呼出し者に返されるかもしれません。もし
output_context_tokenが呼出し者に供給されるなら、ピアのGSS−API
実装にピアの対応するコンテキスト情報をクリアできるということを知らせ
るためコンテキストのピアに渡す事が出来ます。(コンテキストが確立され
ると、関係者は、情報の利用期限に達するか、GSS_Delete_sec_context()呼
出が行われるまで、キャッシュされた証明書とコンテキスト関連情報を維持
することが期待されます。)
The facility for context_token usage to signal context deletion is
retained for compatibility with GSS-API Version 1. For current
usage, it is recommended that both peers to a context invoke
GSS_Delete_sec_context() independently, passing a null
output_context_token buffer to indicate that no context_token is
required. Implementations of GSS_Delete_sec_context() should delete
relevant locally-stored context information.
コンテキスト削除を示すために使うcontext_tokenのための機能が、GSS−
APIバージョン1との互換性のために維持されます。現在の使用法で、コ
ンテキストの両者が、context_tokenが必要ないことを示すために空の
output_context_tokenバッファを渡して、独立にGSS_Delete_sec_context()
を行う事が勧められます。GSS_Delete_sec_context()の実装がローカルに保
管されたコンテキスト情報を適切に削除するべきです。
Attempts to perform per-message processing on a deleted context will
result in error returns.
削除されたコンテキスト上のメッセージ毎の処理の試みはエラーが返るで
しょう。
2.2.4: GSS_Process_context_token call
2.2.4: GSS_Process_context_token呼出
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o input_context_token OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the input_context_token was
successfully processed in conjunction with the context referenced by
context_handle.
o GSS_S_COMPLETEはinput_context_tokenがcontext_handleで参照されたコ
ンテキストと関連して処理に成功したことを示します。
o GSS_S_DEFECTIVE_TOKEN indicates that consistency checks performed
on the received context_token failed, preventing further processing
from being performed with that token.
o GSS_S_DEFECTIVE_TOKENは、受信context_tokenに対する整合性検査が失
敗し、そのトークンで以降の処理が行われるのを阻止することを示します。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleで供給された正当なコンテキスト
が認識されなかったことを示します。
o GSS_S_FAILURE indicates that the context is recognized, but that
the GSS_Process_context_token() operation could not be performed for
reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはコンテキストが認識されたが、GSS_Process_context_token()
オペレーションがGSS−APIレベルで特定されていない理由で行えなかっ
たことを示します。
This call is used to process context_tokens received from a peer once
a context has been established, with corresponding impact on
context-level state information. One use for this facility is
processing of the context_tokens generated by
GSS_Delete_sec_context(); GSS_Process_context_token() will not block
pending network interactions for that purpose. Another use is to
process tokens indicating remote-peer context establishment failures
after the point where the local GSS-API implementation has already
indicated GSS_S_COMPLETE status.
この呼出しは、コンテキスト確立後に相手から受信したcontext_tokensを処
理するのに使われ、対応するコンテキストレベル状態情報に影響を与えます。
この機能の1つの用途はGSS_Delete_sec_context()によって生成される
context_tokensの処理です; GSS_Process_context_token()はこの目的で実
施中のネットワーク相互作用を阻止しないでしょう。もう1つの用途はロー
カルGSS−API実装がすでにGSS_S_COMPLETE状態を示した時点で、相手
がコンテキスト設立失敗を示しているトークンを処理する事です。
2.2.5: GSS_Context_time call
2.2.5: GSS_Context_time呼出
Input:
入力:
o context_handle CONTEXT HANDLE,
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o lifetime_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE
-- 秒単位、またはINDEFINITEの予約値
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the referenced context is valid, and
will remain valid for the amount of time indicated in lifetime_rec.
o GSS_S_COMPLETEは参照されたコンテキストが有効で、lifetime_recで示さ
れた時間後も有効なままでいるであろうことを示します。
o GSS_S_CONTEXT_EXPIRED indicates that data items related to the
referenced context have expired.
o GSS_S_CONTEXT_EXPIREDは参照されたコンテキストと関係があるデータ項
目の期限が切れたことを示します。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleが供給した正当なコンテキストが
認識されなかったことを示します。
o GSS_S_FAILURE indicates that the requested operation failed for
reasons unspecified at the GSS-API level.
o GSS_S_FAILUREは求められたオペレーションがGSS−APIレベルで特
定されていない理由のために失敗したことを示します。
This call is used to determine the amount of time for which a
currently established context will remain valid.
この呼び出しは現在確定しているコンテキストが有効な時間量を決定するた
めに使われます。
2.2.6: GSS_Inquire_context call
2.2.6: GSS_Inquire_context呼出
Input:
入力:
o context_handle CONTEXT HANDLE,
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o src_name INTERNAL NAME, -- name of context initiator,
-- guaranteed to be MN;
-- caller must release with GSS_Release_name() if returned
-- MNであることを保証されたコンテキスト開始者の名前;もし返されるな
-- ら、 呼出し者がGSS_Release_name()で解放しなければなりません。
o targ_name INTERNAL NAME, -- name of context target,
-- guaranteed to be MN;
-- caller must release with GSS_Release_name() if returned
-- MNであることを保証されたコンテキストの相手の名前;もし返されるな
-- ら、 呼出し者がGSS_Release_name()で解放しなければなりません。
o lifetime_rec INTEGER -- in seconds, or reserved value for
-- INDEFINITE or EXPIRED
-- 秒単位、あるいはINDEFINITEかEXPIREDの予約値。
o mech_type OBJECT IDENTIFIER, -- the mechanism supporting this
-- security context; caller should treat as read-only and not
-- attempt to release
-- このセキュリティコンテキストをサポートしているメカニズム;呼出し者
-- が読み出し専用と扱うべきで、解放を試みてはなりません。
o deleg_state BOOLEAN,
o mutual_state BOOLEAN,
o replay_det_state BOOLEAN,
o sequence_state BOOLEAN,
o anon_state BOOLEAN,
o trans_state BOOLEAN,
o prot_ready_state BOOLEAN,
o conf_avail BOOLEAN,
o integ_avail BOOLEAN,
o locally_initiated BOOLEAN, -- TRUE if initiator, FALSE if acceptor
-- 開始者なら真、受入れ者なら偽
o open BOOLEAN, -- TRUE if context fully established, FALSE
-- if partly established (in CONTINUE_NEEDED state)
-- もしコンテキストが確立してるなら真、もし確立中なら偽
-- (CONTINUE_NEEDED状態)
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the referenced context is valid and
that deleg_state, mutual_state, replay_det_state, sequence_state,
anon_state, trans_state, prot_ready_state, conf_avail, integ_avail,
locally_initiated, and open return values describe the corresponding
characteristics of the context. If open is TRUE, lifetime_rec is
also returned: if open is TRUE and the context peer's name is known,
src_name and targ_name are valid in addition to the values listed
above. The mech_type value must be returned for contexts where open
is TRUE and may be returned for contexts where open is FALSE.
o GSS_S_COMPLETE は参照されたコンテキストが正しく、deleg_stateと
mutual_stateとreplay_det_stateとsequence_stateとanon_stateと
trans_stateとprot_ready_stateとconf_availとinteg_availと
locally_initiatedとopen返り値がコンテキストの対応する特徴を記述した
事を示します。もしopenが真なら、lifetime_recも返されます:もしopen
が真でコンテキストの相手の名前がわかるならsrc_nameとtarg_nameも正し
い値です。もしopenが真ならメカニズム種別値が返されなければならず、
もしopenが偽なら返されるかもしれません。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided. Return values other than
major_status and minor_status are undefined.
o GSS_S_NO_CONTEXTは入力context_handleが供給した正当なコンテキスト
が認識されなかったことを示します。主状態と副状態以外の返り値は不確定
です。
o GSS_S_FAILURE indicates that the requested operation failed for
reasons unspecified at the GSS-API level. Return values other than
major_status and minor_status are undefined.
o GSS_S_FAILUREは求められたオペレーションがGSS−APIレベルで特
定されていない理由で失敗したことを示します。主状態と副状態以外の返り
値は不確定です。
This call is used to extract information describing characteristics
of a security context. Note that GSS-API implementations are
expected to retain inquirable context data on a context until the
context is released by a caller, even after the context has expired,
although underlying cryptographic data elements may be deleted after
expiration in order to limit their exposure.
この呼出しはセキュリティコンテキストの特徴を記述している情報を得るた
めに使われます。GSS−API実装は、例えコンテキストの期限が切れて
も、呼出し者が解放するまで、呼ばれたコンテキストのデータを維持を期待
される事に注意してください、但し。基礎暗号のデータ要素は露出を制限す
るために期限後に削除されるかもしれません。
2.2.7: GSS_Wrap_size_limit call
2.2.7: GSS_Wrap_size_limit呼出
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o conf_req_flag BOOLEAN,
o qop INTEGER,
o output_size INTEGER
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o max_input_size INTEGER
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates a successful token size determination:
an input message with a length in octets equal to the returned
max_input_size value will, when passed to GSS_Wrap() for processing
on the context identified by the context_handle parameter with the
confidentiality request state as provided in conf_req_flag and with
the quality of protection specifier provided in the qop parameter,
yield an output token no larger than the value of the provided
output_size parameter.
o GSS_S_COMPLETEはトークンの大きさの確定の成功を示します:返された
max_input_size値と等しいオクテット長の入力メッセージが、
conf_req_flagで供給される機密性要求状態で、そしてqopパラメータで供給
した保護指定の品質で、context_handleパラメータで識別されたコンテキス
ト上の処理のためにGSS_Wrap()に渡される時、供給されたoutput_sizeパラ
メータ値より大きくない出力トークンをもたらすでしょう。
o GSS_S_CONTEXT_EXPIRED indicates that the provided input
context_handle is recognized, but that the referenced context has
expired. Return values other than major_status and minor_status are
undefined.
o GSS_S_CONTEXT_EXPIREDは供給された入力context_handleが認識されたが、
参照されたコンテキストの期限が切れたことを示します。主状態と副状態以
外の返り値は不確定です。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided. Return values other than
major_status and minor_status are undefined.
o GSS_S_NO_CONTEXTは入力context_handleが供給した正当なコンテキスト
が認識されなかったことを示します。主状態と副状態以外の返り値は不確定
です。
o GSS_S_BAD_QOP indicates that the provided QOP value is not
recognized or supported for the context.
o GSS_S_BAD_QOPは供給されたQOP値が認識されないか、コンテキストでサ
ポートされないことを示します。
o GSS_S_FAILURE indicates that the requested operation failed for
reasons unspecified at the GSS-API level. Return values other than
major_status and minor_status are undefined.
o GSS_S_FAILUREは求められたオペレーションがGSS−APIレベルで特
定されていない理由で失敗したことを示します。主状態と副状態以外の返り
値は不確定です。
This call is used to determine the largest input datum which may be
passed to GSS_Wrap() without yielding an output token larger than a
caller-specified value.
この呼出しは、呼出し者が指定した値より大きい出力トークンをもたらさず
に、GSS_Wrap()に手渡されるかもしれない最大入力データを決定するために
使われます。
2.2.8: GSS_Export_sec_context call
2.2.8: GSS_Export_sec_context呼出
Inputs:
入力:
o context_handle CONTEXT HANDLE
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o interprocess_token OCTET STRING -- caller must release
-- with GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければならない。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the referenced context has been
successfully exported to a representation in the interprocess_token,
and is no longer available for use by the caller.
o GSS_S_COMPLETEは参照されたコンテキストをinterprocess_tokenで示され
たプロセスに移譲するのに成功し、呼出し者が使用が利用可能できなくなっ
た事を示します。
o GSS_S_UNAVAILABLE indicates that the context export facility is
not available for use on the referenced context. (This status should
occur only for contexts for which the trans_state value is FALSE.)
Return values other than major_status and minor_status are undefined.
o GSS_S_UNAVAILABLEは参照されたコンテキストではコンテキスト移譲機能
が利用可能ではないことを示します。(この状態はtrans_state値が偽である
コンテキストでだけ存在するべきです。)主状態と副状態以外の返り値は不
確定です。
o GSS_S_CONTEXT_EXPIRED indicates that the provided input
context_handle is recognized, but that the referenced context has
expired. Return values other than major_status and minor_status are
undefined.
o GSS_S_CONTEXT_EXPIREDは供給された入力context_handleが認識されたが、
コンテキストの期限が切れたことを示します。主状態と副状態以外の返り値
は不確定です。
o GSS_S_NO_CONTEXT indicates that no valid context was recognized
for the input context_handle provided. Return values other than
major_status and minor_status are undefined.
o GSS_S_NO_CONTEXTは入力context_handleで供給された正当なコンテキスト
が認識されなかったことを示します。主状態と副状態以外の返り値は不確定
です。
o GSS_S_FAILURE indicates that the requested operation failed for
reasons unspecified at the GSS-API level. Return values other than
major_status and minor_status are undefined.
o GSS_S_FAILUREは求められたオペレーションがGSS−APIレベルで特
定されていない理由で失敗したことを示します。主状態と副状態以外の返り
値は不確定です。
This call generates an interprocess token for transfer to another
process within an end system, in order to transfer control of a
security context to that process. The recipient of the interprocess
token will call GSS_Import_sec_context() to accept the transfer. The
GSS_Export_sec_context() operation is defined for use only with
security contexts which are fully and successfully established (i.e.,
those for which GSS_Init_sec_context() and GSS_Accept_sec_context()
have returned GSS_S_COMPLETE major_status).
この呼出しはエンドシステム内の他のプロセスへ、セキュリティコンテキス
ト制御を移譲するためのプロセス間トークンを生成します。プロセス間トー
クンの受取人は受取りのためにGSS_Import_sec_context()を呼び出すでしょ
う。GSS_Export_sec_context()オペレーションは完全に確立が成功したセ
キュリティコンテキスト(すなわち、GSS_Init_sec_context()と
GSS_Accept_sec_context()がGSS_S_COMPLETE主状態を返したもの)でだけ使
用するために定義されます。
A successful GSS_Export_sec_context() operation deactivates the
security context for the calling process; for this case, the GSS-API
implementation shall deallocate all process-wide resources associated
with the security context and shall set the context_handle to
GSS_C_NO_CONTEXT. In the event of an error that makes it impossible
to complete export of the security context, the GSS-API
implementation must not return an interprocess token and should
strive to leave the security context referenced by the context_handle
untouched. If this is impossible, it is permissible for the
implementation to delete the security context, provided that it also
sets the context_handle parameter to GSS_C_NO_CONTEXT.
成功したGSS_Export_sec_context()オペレーションは、呼出しプロセスのセ
キュリティコンテキストを不活性にします;この場合、GSS−API実装
はすべてのセキュリティコンテキストと関連したプロセス単位の資源を解放
するべきで、そしてcontext_handleをGSS_C_NO_CONTEXTに設定するべきです。
セキュリティコンテキストの移譲の完了が不可能になるエラーの場合、GS
S−API実装はプロセス間トークンを返してはならず、そして
context_handleで参照されたセキュリティコンテキストを動かないままにし
ておく努力をするべきです。もしこれが不可能なら、実装がcontext_handle
パラメータをGSS_C_NO_CONTEXTに設定して、セキュリティコンテキストを削
除することは許されます。
Portable callers must not assume that a given interprocess token can
be imported by GSS_Import_sec_context() more than once, thereby
creating multiple instantiations of a single context. GSS-API
implementations may detect and reject attempted multiple imports, but
are not required to do so.
呼出し者はプロセス間トークンを複数回使用し、それで1つのコンテキスト
の複数の実体ができると想定してはなりません。GSS−API実装は複数
回の利用を検出し、拒絶するかもしれませんが、するように要求されません。
The internal representation contained within the interprocess token
is an implementation-defined local matter. Interprocess tokens
cannot be assumed to be transferable across different GSS-API
implementations.
プロセス間トークン内の内部表現は実装定義ローカル問題です。プロセス間
トークンを異なるGSS−API実装を超えて譲渡可能とは考えられません。
It is recommended that GSS-API implementations adopt policies suited
to their operational environments in order to define the set of
processes eligible to import a context, but specific constraints in
this area are local matters. Candidate examples include transfers
between processes operating on behalf of the same user identity, or
processes comprising a common job. However, it may be impossible to
enforce such policies in some implementations.
GSS−API実装が、コンテキストを得る資格があるプロセス集合を定義
するために、運用環境に適したポリシを採用することが勧められますが、こ
のエリアの特定の制約はローカルな問題です。例えば、同じユーザ識別子で
動作しているプロセスや、共通の仕事を含むプロセス間での転送です。しか
しながら、ある実装でこのようなポリシを実施することは不可能かもしれま
せん。
In support of the above goals, implementations may protect the
transferred context data by using cryptography to protect data within
the interprocess token, or by using interprocess tokens as a means to
reference local interprocess communication facilities (protected by
other means) rather than storing the context data directly within the
tokens.
上記を達成するために、実装がプロセス間トークンの中のデータを守るため
に暗号を使ったり、プロセス間トークンにコンテキストを直接保存せず、
(他の手段で保護される)ローカルなプロセス間通信機能を参照する手段と
して用いることで、転送されたコンテキストデータを保護するかもしれませ
ん。
Transfer of an open context may, for certain mechanisms and
implementations, reveal data about the credential which was used to
establish the context. Callers should, therefore, be cautious about
the trustworthiness of processes to which they transfer contexts.
Although the GSS-API implementation may provide its own set of
protections over the exported context, the caller is responsible for
protecting the interprocess token from disclosure, and for taking
care that the context is transferred to an appropriate destination
process.
特定のメカニズムと実装での保護されないコンテキストの転送は、コンテキ
スト確立で使われた証明書のデータを明らかにするかもしれません。呼出し
者が、従って、コンテキストを転送するプロセスの信用について用心深くあ
るべきです。GSS−API実装が転送するコンテキストに自身の保護を供
給するかもしれないが、呼出し者はプロセス間トークンの暴露を避け、適切
な宛先プロセスにコンテキストが転送される注意をする責任があります。
2.2.9: GSS_Import_sec_context call
2.2.9: GSS_Import_sec_context呼出
Inputs:
入力:
o interprocess_token OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o context_handle CONTEXT HANDLE -- if successfully returned,
-- caller must release with GSS_Delete_sec_context()
-- もし成功なら、呼出し者はGSS_Delete_sec_context()で解放しなければ
-- ならない。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the context represented by the input
interprocess_token has been successfully transferred to the caller,
and is available for future use via the output context_handle.
o GSS_S_COMPLETEは入力プロセス間トークンで示されるコンテキストの呼出
し者への転送が成功した事を示し、そして出力コンテキストハンドルが今後
の使用に利用可能です。
o GSS_S_NO_CONTEXT indicates that the context represented by the
input interprocess_token was invalid. Return values other than
major_status and minor_status are undefined.
o GSS_S_NO_CONTEXTは入力プロセス間トークンで示されるコンテキストが
無効であったことを示します。主状態と副状態以外の返り値は不確定です。
o GSS_S_DEFECTIVE_TOKEN indicates that the input interprocess_token
was defective. Return values other than major_status and
minor_status are undefined.
o GSS_S_DEFECTIVE_TOKENは入力プロセス間トークンが不完全であったこと
を示します。主状態と副状態以外の返り値は不確定です。
o GSS_S_UNAVAILABLE indicates that the context import facility is
not available for use on the referenced context. Return values other
than major_status and minor_status are undefined.
o GSS_S_UNAVAILABLEはコンテキスト転送機能が参照されたコンテキスト上
で使用するために利用可能でないことを示します。主状態と副状態以外の返
り値は不確定です。
o GSS_S_UNAUTHORIZED indicates that the context represented by the
input interprocess_token is unauthorized for transfer to the caller.
Return values other than major_status and minor_status are undefined.
o GSS_S_UNAUTHORIZEDは入力プロセス間トークンで示されるコンテキスト
を呼出し者へ転送する許可がないことを示します。主状態と副状態以外の返
り値は不確定です。
o GSS_S_FAILURE indicates that the requested operation failed for
reasons unspecified at the GSS-API level. Return values other than
major_status and minor_status are undefined.
o GSS_S_FAILUREは求められたオペレーションがGSS−APIレベルで特
定されていない理由のために失敗したことを示します。主状態と副状態以外
の返り値は不確定です。
This call processes an interprocess token generated by
GSS_Export_sec_context(), making the transferred context available
for use by the caller. After a successful GSS_Import_sec_context()
operation, the imported context is available for use by the importing
process. In particular, the imported context is usable for all per-
message operations and may be deleted or exported by its importer.
The inability to receive delegated credentials through
gss_import_sec_context() precludes establishment of new contexts
based on information delegated to the importer's end system within
the context which is being imported, unless those delegated
credentials are obtained through separate routines (e.g., XGSS-API
calls) outside the GSS-V2 definition.
この呼出しは、呼出し者が使用出来る転送コンテキストを作る
GSS_Export_sec_context()が生成した、プロセス間トークンを処理します。
GSS_Import_sec_context()オペレーションの成功後に、得られたコンテキス
トはプロセスによって使用可能です。特に、得られたコンテキストはメッセー
ジ毎オペレーションの全てで利用可能で、そして得たプロセスが削除するか、
他に転送するかもしれません。gss_import_sec_context()を通して委任され
た証明書を受け取る能力不足は、GSS−V2定義外の別のルーチン(例え
ばXGSS−API呼出し)で委任されない限り、得られたコンテキスト内
の情報に基づいた新しいコンテキスト設立を受取りエンドシステムに委任さ
れるのを妨げます。
For further discussion of the security and authorization issues
regarding this call, please see the discussion in Section 2.2.8.
この呼び出しに関する安全と認可問題のこれ以上の論議は、2.2.8章の論
議を見てください。
2.3: Per-message calls
2.3: メッセージ毎呼出し
This group of calls is used to perform per-message protection
processing on an established security context. None of these calls
block pending network interactions. These calls may be invoked by a
context's initiator or by the context's target. The four members of
this group should be considered as two pairs; the output from
GSS_GetMIC() is properly input to GSS_VerifyMIC(), and the output
from GSS_Wrap() is properly input to GSS_Unwrap().
この呼出しグループは確立されたセキュリティコンテキストの上でのメッセー
ジ毎の保護処理を行うために使われます。これらの呼出しは実施中のネット
ワーク相互作用を止めません。これらの呼出しはコンテキスト開始者かコン
テキストの相手によって実施されるかもしれません。このグループの4つの
呼出しは、2つに分けられます;GSS_GetMIC()の出力は正確にGSS_VerifyMIC()
に入力され、GSS_Wrap()の出力は正確にGSS_Unwrap()に入力されます。
GSS_GetMIC() and GSS_VerifyMIC() support data origin authentication
and data integrity services. When GSS_GetMIC() is invoked on an input
message, it yields a per-message token containing data items which
allow underlying mechanisms to provide the specified security
services. The original message, along with the generated per-message
token, is passed to the remote peer; these two data elements are
processed by GSS_VerifyMIC(), which validates the message in
conjunction with the separate token.
GSS_GetMIC()とGSS_VerifyMIC()はデータ源認証とデータ完全性サービスをサ
ポートします。GSS_GetMIC()が入力メッセージ上で実行される時、基礎メカ
ニズムに指定されたセキュリティサービスを供給可能にするデータ項目を含
むメッセージ毎のトークンをもたらします。オリジナルのメッセージは、生
成されたメッセージ毎トークンとともに、通信相手に渡されます;これらの
2つのデータ要素はGSS_VerifyMIC()によって処理され、そしてこれは別の
トークンと関連してメッセージを有効にします。
GSS_Wrap() and GSS_Unwrap() support caller-requested confidentiality
in addition to the data origin authentication and data integrity
services offered by GSS_GetMIC() and GSS_VerifyMIC(). GSS_Wrap()
outputs a single data element, encapsulating optionally enciphered
user data as well as associated token data items. The data element
output from GSS_Wrap() is passed to the remote peer and processed by
GSS_Unwrap() at that system. GSS_Unwrap() combines decipherment (as
required) with validation of data items related to authentication and
integrity.
GSS_Wrap()とGSS_Unwrap()は、GSS_GetMIC()とGSS_VerifyMIC()の供給するデー
タ源認証とデータ完全性サービスのほかに呼出し者に求められた機密性をサ
ポートします。GSS_Wrap()は、関連したトークデータ項目と、オプションで
暗号化ユーザーデータを、カプセル化したデータ要素を出力します。
GSS_Wrap()から出力されたデータ要素は相手に渡され、そのシステムの
GSS_Unwrap()で処理されます。GSS_Unwrap()は解読(必要なら)と、認証と
完全性に関係するデータ項目検証を、一緒にします。
Although zero-length tokens are never returned by GSS calls for
transfer to a context's peer, a zero-length object may be passed by a
caller into GSS_Wrap(), in which case the corresponding peer calling
GSS_Unwrap() on the transferred token will receive a zero-length
object as output from GSS_Unwrap(). Similarly, GSS_GetMIC() can be
called on an empty object, yielding a MIC which GSS_VerifyMIC() will
successfully verify against the active security context in
conjunction with a zero-length object.
相手へ転送する長さゼロのトークンをGSSは生成しないが、長さゼロのオブ
ジェクトが呼出し者からGSS_Wrap()へ渡されるかもしれず、この場合転送さ
れたトークンを転送のGSS_Unwrap()呼出しをする相手は、GSS_Unwrap()の出
力として長さゼロのオブジェクトを受取るでしょう。同様に、GSS_GetMIC()
は空オブジェクトで呼出し可能で、GSS_VerifyMIC()の生成するMICは長
さゼロのオブジェクトに対するアクティブなセキュリティコンテキストの
検証に成功するでしょう。
2.3.1: GSS_GetMIC call
2.3.1: GSS_GetMIC呼出
Note: This call is functionally equivalent to the GSS_Sign call as
defined in previous versions of this specification. In the interests
of backward compatibility, it is recommended that implementations
support this function under both names for the present; future
references to this function as GSS_Sign are deprecated.
ノート:この呼出しは機能上この仕様書の前の版で定義されるGSS_Sign呼出
しと等しいです。後方互換性のため、実装が当分両方の名前でこの機能をサ
ポートすることが勧められます;GSS_Signとしてこの関数を参照するのは将
来望ましくなくされます。
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o qop_req INTEGER, -- 0 specifies default QOP
-- 0はデフォルトQOPを示します
o message OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o per_msg_token OCTET STRING -- caller must release
-- with GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければなりません
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that an integrity check, suitable for an
established security context, was successfully applied and that the
message and corresponding per_msg_token are ready for transmission.
o GSS_S_COMPLETEは確立されたセキュリティコンテキストに適した完全性検
査が成功し、メッセージと対応するper_msg_tokenを伝達する準備ができたこ
とを示します。
o GSS_S_CONTEXT_EXPIRED indicates that context-related data items
have expired, so that the requested operation cannot be performed.
o GSS_S_CONTEXT_EXPIREDはコンテキスト関連データ項目の期限が切れたこ
とを示します、それで求められたオペレーションは行うことができません。
o GSS_S_NO_CONTEXT indicates that no context was recognized for the
input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleが供給したコンテキストが認識
されなかったことを示します。
o GSS_S_BAD_QOP indicates that the provided QOP value is not
recognized or supported for the context.
o GSS_S_BAD_QOPは供給されたQOP値がコンテキストで認識されないかサ
ポートされないことを示します。
o GSS_S_FAILURE indicates that the context is recognized, but that
the requested operation could not be performed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはコンテキストが認識されたが、求められたオペレーショ
ンがGSS−APIレベルで特定されていない理由で行われなかったことを
示します。
Using the security context referenced by context_handle, apply an
integrity check to the input message (along with timestamps and/or
other data included in support of mech_type-specific mechanisms) and
(if GSS_S_COMPLETE status is indicated) return the result in
per_msg_token. The qop_req parameter, interpretation of which is
discussed in Section 1.2.4, allows quality-of-protection control. The
caller passes the message and the per_msg_token to the target.
context_handleによって参照されてセキュリティコンテキストを使って、
(メカニズムタイプ固有でサポートするタイムスタンプや他のデータととも
に)完全性検査を入力メッセージに適用し、そして(もしGSS_S_COMPLETE状
態が示されるなら)per_msg_tokenに結果を返します。その解釈が1.2.4
章で論じられるqop_reqパラメータは「保護の品質」制御を許します。呼出
し者は相手にメッセージとper_msg_tokenを渡します。
The GSS_GetMIC() function completes before the message and
per_msg_token is sent to the peer; successful application of
GSS_GetMIC() does not guarantee that a corresponding GSS_VerifyMIC()
has been (or can necessarily be) performed successfully when the
message arrives at the destination.
GSS_GetMIC()関数はは、メッセージとper_msg_tokenが相手に送られる前に、
完了します;GSS_GetMIC()の成功は、メッセージが目的地に到着する時対応
するGSS_VerifyMIC()が成功する事を(しなければならない事を)保証しま
せん。
Mechanisms which do not support per-message protection services
should return GSS_S_FAILURE if this routine is called.
メッセージ毎保護サービスをサポートしないメカニズムは、もしこのルーチ
ンが呼び出されるなら、GSS_S_FAILUREを返すべきです。
2.3.2: GSS_VerifyMIC call
2.3.2: GSS_VerifyMIC呼出
Note: This call is functionally equivalent to the GSS_Verify call as
defined in previous versions of this specification. In the interests
of backward compatibility, it is recommended that implementations
support this function under both names for the present; future
references to this function as GSS_Verify are deprecated.
ノート:この呼出しは機能上この仕様書の前の版で定義されるGSS_Verify呼
出しと等しいです。後方互換性のため、実装が当分両方の名前でこの機能を
サポートすることが勧められます;GSS_Verifyとしてこの関数を参照するの
は将来望ましくなくされます。
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o message OCTET STRING,
o per_msg_token OCTET STRING
Outputs:
出力:
o qop_state INTEGER,
o major_status INTEGER,
o minor_status INTEGER,
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the message was successfully
verified.
o GSS_S_COMPLETEはメッセージ検証が成功したことを示します。
o GSS_S_DEFECTIVE_TOKEN indicates that consistency checks performed
on the received per_msg_token failed, preventing further processing
from being performed with that token.
o GSS_S_DEFECTIVE_TOKENは受信したper_msg_token上の整合性検査が失敗し、
トークンの以降の処理がその行われるのを阻止することを示します。
o GSS_S_BAD_SIG (GSS_S_BAD_MIC) indicates that the received
per_msg_token contains an incorrect integrity check for the message.
o GSS_S_BAD_SIG(GSS_S_BAD_MIC)は受信per_msg_tokenのメッセージ完全
性検査が正しくないことを示します。
o GSS_S_DUPLICATE_TOKEN, GSS_S_OLD_TOKEN, GSS_S_UNSEQ_TOKEN, and
GSS_S_GAP_TOKEN values appear in conjunction with the optional per-
message replay detection features described in Section 1.2.3; their
semantics are described in that section.
o GSS_S_DUPLICATE_TOKENとGSS_S_OLD_TOKENとGSS_S_UNSEQ_TOKENと
GSS_S_GAP_TOKEN値は1.2.3章で記述したメッセージ毎の再生攻撃発見機
能と関連して現われます;それらの意味はその章で記述されます。
o GSS_S_CONTEXT_EXPIRED indicates that context-related data items
have expired, so that the requested operation cannot be performed.
o GSS_S_CONTEXT_EXPIREDはコンテキスト関連のデータ項目の期限が切れた
ことを示します、それで求められたオペレーションは行うことができません。
o GSS_S_NO_CONTEXT indicates that no context was recognized for the
input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleが供給したコンテキストが認識
されなかったことを示します。
o GSS_S_FAILURE indicates that the context is recognized, but that
the GSS_VerifyMIC() operation could not be performed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはコンテキストが認識されたが、GSS−APIレベル
で特定されていない理由のためにGSS_VerifyMIC()オペレーションが行えな
かったことを示します。
Using the security context referenced by context_handle, verify that
the input per_msg_token contains an appropriate integrity check for
the input message, and apply any active replay detection or
sequencing features. Returns an indication of the quality-of-
protection applied to the processed message in the qop_state result.
context_handleによって参照されてセキュリティコンテキストを使い、入力
per_msg_tokenが入力メッセージに適切な完全性検査を含むことを確かめ、
そして活性化されている再生攻撃検出や順序機能を適用してください。
qop_state結果で処理されたメッセージに適用された「保護の品質」の表示
を返します。
Mechanisms which do not support per-message protection services
should return GSS_S_FAILURE if this routine is called.
メッセージ毎保護サービスをサポートしない機構は、もしこのルーチンが呼
び出されるなら、GSS_S_FAILUREを返すべきです。
2.3.3: GSS_Wrap call
2.3.3: GSS_Wrap呼出
Note: This call is functionally equivalent to the GSS_Seal call as
defined in previous versions of this specification. In the interests
of backward compatibility, it is recommended that implementations
support this function under both names for the present; future
references to this function as GSS_Seal are deprecated.
ノート:この呼出しは機能上この仕様書の前の版で定義されるGSS_Seal呼出
しと等しいです。後方互換性のため、実装が当分両方の名前でこの機能をサ
ポートすることが勧められます;GSS_Sealとしてこの関数を参照するのは将
来望ましくなくされます。
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o conf_req_flag BOOLEAN,
o qop_req INTEGER, -- 0 specifies default QOP
-- 0はデフォルトQOPを指定する。
o input_message OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o conf_state BOOLEAN,
o output_message OCTET STRING -- caller must release with
-- GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければなりません。
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the input_message was successfully
processed and that the output_message is ready for transmission.
o GSS_S_COMPLETEはinput_messageの処理が成功し、伝達すべき
output_messageの準備ができていることを示します。
o GSS_S_CONTEXT_EXPIRED indicates that context-related data items
have expired, so that the requested operation cannot be performed.
o GSS_S_CONTEXT_EXPIREDはコンテキスト関連のデータ項目の期限が切れた
ことを示し、それで求められたオペレーションを行うことができません。
o GSS_S_NO_CONTEXT indicates that no context was recognized for the
input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleで供給されたコンテキストが認
識されなかったことを示します。
o GSS_S_BAD_QOP indicates that the provided QOP value is not
recognized or supported for the context.
o GSS_S_BAD_QOPは供給されたQOP値が認識できないか、コンテキストで
サポートされていないことを示します。
o GSS_S_FAILURE indicates that the context is recognized, but that
the GSS_Wrap() operation could not be performed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREはコンテキストが認識されたがGSS−APIレベルで特
定されていない理由でGSS_Wrap()オペレーションが行えなかったことを示し
ます。
Performs the data origin authentication and data integrity functions
of GSS_GetMIC(). If the input conf_req_flag is TRUE, requests that
confidentiality be applied to the input_message. Confidentiality may
not be supported in all mech_types or by all implementations; the
returned conf_state flag indicates whether confidentiality was
provided for the input_message. The qop_req parameter, interpretation
of which is discussed in Section 1.2.4, allows quality-of-protection
control.
GSS_GetMIC()のデータ源認証とデータ完全性機能を実行します。もし入力
conf_req_flagが真なら、input_messageに適用される機密性を求めます。機
密性がすべてのメカニズムタイプや全ての実装でサポートされるのではあり
ません;返されたconf_stateフラグは機密性がinput_messageに提供された
かどうか示します。1.2.4で解釈が論じられるqop_reqパラメータは「保
護品質」の制御を許します。
When GSS_S_COMPLETE status is returned, the GSS_Wrap() call yields a
single output_message data element containing (optionally enciphered)
user data as well as control information.
GSS_S_COMPLETE状態が返される時、GSS_Wrap()呼出しは、制御情報と、(オプ
ションで暗号化にされた)ユーザデータを含むひとつのoutput_messageデー
タ要素をもたらします。
Mechanisms which do not support per-message protection services
should return GSS_S_FAILURE if this routine is called.
メッセージ毎保護サービスをサポートしないメカニズムは、もしこのルーチ
ンが呼び出されるなら、GSS_S_FAILUREを返すべきです。
2.3.4: GSS_Unwrap call
2.3.4: GSS_Unwrap呼出
Note: This call is functionally equivalent to the GSS_Unseal call as
defined in previous versions of this specification. In the interests
of backward compatibility, it is recommended that implementations
support this function under both names for the present; future
references to this function as GSS_Unseal are deprecated.
ノート:この呼出しは機能上この仕様書の前の版で定義されるGSS_Unseal呼出
しと等しいです。後方互換性のため、実装が当分両方の名前でこの機能をサ
ポートすることが勧められます;GSS_Unsealとしてこの関数を参照するのは将
来望ましくなくされます。
Inputs:
入力:
o context_handle CONTEXT HANDLE,
o input_message OCTET STRING
Outputs:
出力:
o conf_state BOOLEAN,
o qop_state INTEGER,
o major_status INTEGER,
o minor_status INTEGER,
o output_message OCTET STRING -- caller must release with
-- GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければなりません
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the input_message was successfully
processed and that the resulting output_message is available.
o GSS_S_COMPLETEはinput_messageの処理が成功し、結果のoutput_message
が利用可能であることを示します。
o GSS_S_DEFECTIVE_TOKEN indicates that consistency checks performed
on the per_msg_token extracted from the input_message failed,
preventing further processing from being performed.
o GSS_S_DEFECTIVE_TOKENは、input_messageから抽出したper_msg_token上
の検査が失敗したことを示し、以降の処理が行われるのを阻止します。
o GSS_S_BAD_SIG (GSS_S_BAD_MIC) indicates that an incorrect
integrity check was detected for the message.
o GSS_S_BAD_SIG(GSS_S_BAD_MIC)はメッセージで正しくない完全検査が
検出されたことを示します。
o GSS_S_DUPLICATE_TOKEN, GSS_S_OLD_TOKEN, GSS_S_UNSEQ_TOKEN, and
GSS_S_GAP_TOKEN values appear in conjunction with the optional per-
message replay detection features described in Section 1.2.3; their
semantics are described in that section.
o GSS_S_DUPLICATE_TOKENとGSS_S_OLD_TOKENとGSS_S_UNSEQ_TOKENと
GSS_S_GAP_TOKEN値は1.2.3で記述したメッセージ毎再生発見機能と関連し
て現われます;それらの意味はその章で記述されます。
o GSS_S_CONTEXT_EXPIRED indicates that context-related data items
have expired, so that the requested operation cannot be performed.
o GSS_S_CONTEXT_EXPIREDはコンテキスト関連のデータ項目の期限が切れた
ことを示し、それで求められたオペレーションは行えません。
o GSS_S_NO_CONTEXT indicates that no context was recognized for the
input context_handle provided.
o GSS_S_NO_CONTEXTは入力context_handleで供給したコンテキストが認識さ
れなかったことを示します。
o GSS_S_FAILURE indicates that the context is recognized, but that
the GSS_Unwrap() operation could not be performed for reasons
unspecified at the GSS-API level.
o GSS_S_FAILUREは、コンテキストが認識されたが、GSS−APIレベル
で特定されていない理由でGSS_Unwrap()オペレーションが行われなかったこ
とを示します。
Processes a data element generated (and optionally enciphered) by
GSS_Wrap(), provided as input_message. The returned conf_state value
indicates whether confidentiality was applied to the input_message.
If conf_state is TRUE, GSS_Unwrap() has deciphered the input_message.
Returns an indication of the quality-of-protection applied to the
processed message in the qop_state result. GSS_Unwrap() performs the
data integrity and data origin authentication checking functions of
GSS_VerifyMIC() on the plaintext data. Plaintext data is returned in
output_message.
input_messageとして提供された、GSS_Wrap()が生成(とオプションの暗号化)
したデータ要素の処理。返されたconf_state値は機密性がinput_messageに適
用されたかどうか示します。もしconf_stateが真であるなら、GSS_Unwrap()
はinput_messageを解読しました。qop_state結果は処理されたメッセージに
適用された「保護品質」の表示を返します。GSS_Unwrap()は平文データ上の
GSS_VerifyMIC()のデータ完全性とデータ源認証検査を実施します。平文デー
タがoutput_messageで返されます。
Mechanisms which do not support per-message protection services
should return GSS_S_FAILURE if this routine is called.
メッセージ毎保護サービスをサポートしない機構は、もしこのルーチンが呼
び出されるなら、GSS_S_FAILUREを返すべきです。
2.4: Support calls
2.4: サポート呼出
This group of calls provides support functions useful to GSS-API
callers, independent of the state of established contexts. Their
characterization with regard to blocking or non-blocking status in
terms of network interactions is unspecified.
この呼出グループはGSS−API呼出し者に有用で、確定したコンテキス
トの状態から独立した、サポート機能を供給します。これらのネットワーク
作用に関するブロックや非ブロック状態は特定されていません。
2.4.1: GSS_Display_status call
2.4.1: GSS_Display_status呼出
Inputs:
入力:
o status_value INTEGER, -- GSS-API major_status or minor_status
-- return value
-- GSS−APIの主状態か副状態返り値
o status_type INTEGER, -- 1 if major_status, 2 if minor_status
-- 1なら主状態、2なら副状態
o mech_type OBJECT IDENTIFIER -- mech_type to be used for
-- minor_status translation
-- 副状態変換で使うメカニズム種別
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o status_string_set SET OF OCTET STRING -- required calls for
-- release by caller are specific to language bindings
-- 呼出し者のよる解放呼出しの要求は言語固有です
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a valid printable status
representation (possibly representing more than one status event
encoded within the status_value) is available in the returned
status_string_set.
o GSS_S_COMPLETEは(多分status_valueでコードされた1つ以上のイベント
を表している)status_string_setで返された正当な印刷可能な状態表示が利
用可能なことを示します。
o GSS_S_BAD_MECH indicates that translation in accordance with an
unsupported mech_type was requested, so translation could not be
performed.
o GSS_S_BAD_MECHは対応していないメカニズムタイプの翻訳が求められたこ
とを示し、それで翻訳が行えませんでした。
o GSS_S_BAD_STATUS indicates that the input status_value was
invalid, or that the input status_type carried a value other than 1
or 2, so translation could not be performed.
o GSS_S_BAD_STATUSは入力status_valueが無効であるか、あるいは入力
status_typeが1か2以外の値であることを示します、それで翻訳ができませ
んでした。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由で求めら
れたオペレーションが行えなかったことを示します。
Provides a means for callers to translate GSS-API-returned major and
minor status codes into printable string representations. Note: some
language bindings may employ an iterative approach in order to emit
successive status components; this approach is acceptable but not
required for conformance with the current specification.
呼出し者にGSS−APIが返した主状態と副状態コードを印刷可能文字列
表示に変換する手段を供給します。メモ:ある言語結合は連続した状態要素
を発生する反復方法を使用するかもしれません;この方法は受容できますが、
現在の仕様の適合に必要ではありません。
Although not contemplated in [RFC-2078], it has been observed that
some existing GSS-API implementations return GSS_S_CONTINUE_NEEDED
status when iterating through successive messages returned from
GSS_Display_status(). This behavior is deprecated;
GSS_S_CONTINUE_NEEDED should be returned only by
GSS_Init_sec_context() and GSS_Accept_sec_context(). For maximal
portability, however, it is recommended that defensive callers be
able to accept and ignore GSS_S_CONTINUE_NEEDED status if indicated
by GSS_Display_status() or any other call other than
GSS_Init_sec_context() or GSS_Accept_sec_context().
[RFC-2078]で規定されていないけれども、ある既存のGSS−API実装が、
連続したメッセージの反復のGSS_Display_status()から戻った時、
GSS_S_CONTINUE_NEEDED状態を返すことが観察されました。この行動は望ま
しありません;GSS_S_CONTINUE_NEEDEDはGSS_Init_sec_context()と
GSS_Accept_sec_context()でだけ返されるべきです。しかしながら、移植性
を考えて、保守的な呼出し者は、GSS_Display_status()や、他の
GSS_Init_sec_context()かGSS_Accept_sec_context()以外の呼出し、
GSS_S_CONTINUE_NEEDED状態を受入れて無視する事が薦められます。
2.4.2: GSS_Indicate_mechs call
2.4.2: GSS_Indicate_mechs呼出
Input:
入力:
o (none)
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o mech_set SET OF OBJECT IDENTIFIER -- caller must release
-- with GSS_Release_oid_set()
-- 呼出し者はGSS_Release_oid_set()で解放しなければなりません
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a set of available mechanisms has
been returned in mech_set.
o GSS_S_COMPLETEは利用可能なメカニズムの一覧がmech_setで返されたこ
とを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のため
に求められたオペレーションが行われなかったことを示します。
Allows callers to determine the set of mechanism types available on
the local system. This call is intended for support of specialized
callers who need to request non-default mech_type sets from GSS-API
calls which accept input mechanism type specifiers.
呼出し者がローカルシステム上で利用可能なメカニズムタイプを決定するこ
とを許します。この呼出しは、入力メカニズムタイプ指定を受入れるGSS−
API呼出しで、非デフォルトのメカニズム種別の設定を求める専門的な呼
出し者のサポートのために意図されます。
2.4.3: GSS_Compare_name call
2.4.3: GSS_Compare_name呼出
Inputs:
入力:
o name1 INTERNAL NAME,
o name2 INTERNAL NAME
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o name_equal BOOLEAN
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that name1 and name2 were comparable, and
that the name_equal result indicates whether name1 and name2
represent the same entity.
o GSS_S_COMPLETEはname1とname2が比較可能で、そしてname_equal結果が
name1とname2が同じ項目を表すかどうかを示します。
o GSS_S_BAD_NAMETYPE indicates that the two input names' types are
different and incomparable, so that the comparison operation could
not be completed.
o GSS_S_BAD_NAMETYPEは2つの入力名のタイプが異なり、そして比較できな
いことを示します、それで比較オペレーションは完了できませんでした。
o GSS_S_BAD_NAME indicates that one or both of the input names was
ill-formed in terms of its internal type specifier, so the comparison
operation could not be completed.
o GSS_S_BAD_NAMEは入力名の1つあるいは両方が内部タイプ指定子に関して
構成が正しくないことを示します、それで比較オペレーションは完了できま
せんでした。
o GSS_S_FAILURE indicates that the call's operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREは呼出しオペレーションがGSS−APIでレベルで特定
されていない理由で行えなかったことを示します。
Allows callers to compare two internal name representations to
determine whether they refer to the same entity. If either name
presented to GSS_Compare_name() denotes an anonymous principal,
GSS_Compare_name() shall indicate FALSE. It is not required that
either or both inputs name1 and name2 be MNs; for some
implementations and cases, GSS_S_BAD_NAMETYPE may be returned,
indicating name incomparability, for the case where neither input
name is an MN.
呼出し者が2つの内部の名表現を比較し同じ項目を参照するか決定すること
を許します。もしGSS_Compare_name()に提出された名前のいずれかが匿名主
体を意味するなら、GSS_Compare_name()はFALSEを示すべきです。name1と
name2のどちらもMNでなくてもかまいません;ある実装と事例で入力のい
ずれかがMNでない場合に名前の比較が不可能を示すのに
GSS_S_BAD_NAMETYPEが返ってくるかもしれません。
2.4.4: GSS_Display_name call
2.4.4: GSS_Display_name呼出
Inputs:
入力:
o name INTERNAL NAME
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o name_string OCTET STRING, -- caller must release
-- with GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければなりません
o name_type OBJECT IDENTIFIER -- caller should treat
-- as read-only; does not need to be released
-- 呼出し者読出し専用で扱うべきです;解放する必要はありません
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a valid printable name
representation is available in the returned name_string.
o GSS_S_COMPLETEはname_stringで返した正当な印刷可能な名前表示が利用
可能なことを示します。
o GSS_S_BAD_NAME indicates that the contents of the provided name
were inconsistent with the internally-indicated name type, so no
printable representation could be generated.
o GSS_S_BAD_NAMEは供給された名前の内容が内部名前タイプと一致しなかっ
たことを示します、それで印刷可能表現が生み出でませんでした。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由で求めら
れたオペレーションが行われなかったことを示します。
Allows callers to translate an internal name representation into a
printable form with associated namespace type descriptor. The syntax
of the printable form is a local matter.
呼出し者が、内部名表現を、名前空間タイプディスクプリタで関連した印刷
可能な形に変換することを許します。印刷可能な形の構文はローカルな問題
です。
If the input name represents an anonymous identity, a reserved value
(GSS_C_NT_ANONYMOUS) shall be returned for name_type.
もし入力名が匿名識別子を表すなら、name_typeで予約値
(GSS_C_NT_ANONYMOUS)が返されるべきです。
The GSS_C_NO_OID name type is to be returned only when the
corresponding internal name was created through import with
GSS_C_NO_OID. It is acceptable for mechanisms to normalize names
imported with GSS_C_NO_OID into other supported types and, therefore,
to display them with types other than GSS_C_NO_OID.
GSS_C_NO_OID名前タイプは、対応する内部の名前がGSS_C_NO_OIDの入力と共
に作られた時だけ、返されるはずです。メカニズムにとってGSS_C_NO_OIDと
共に読み込まれた名を他のサポートされたタイプに正規化し、従って、
GSS_C_NO_OID以外のタイプで示すことは許容できます。
2.4.5: GSS_Import_name call
2.4.5: GSS_Import_name呼出
Inputs:
入力:
o input_name_string OCTET STRING,
o input_name_type OBJECT IDENTIFIER
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_name INTERNAL NAME -- caller must release with
-- GSS_Release_name()
-- 呼出し者はGSS_Release_name()で解放しなければなりません
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a valid name representation is
output in output_name and described by the type value in
output_name_type.
o GSS_S_COMPLETEは正当な名前表示がoutput_nameに出力され、
output_name_typeのタイプ価値で記述されることを示します。
o GSS_S_BAD_NAMETYPE indicates that the input_name_type is
unsupported by the applicable underlying GSS-API mechanism(s), so the
import operation could not be completed.
o GSS_S_BAD_NAMETYPEはinput_name_typeが適用可能な基礎GSS−API
メカニズムでサポートされていないことを示します、それで読み込みオペレー
ションは完了できませんでした。
o GSS_S_BAD_NAME indicates that the provided input_name_string is
ill-formed in terms of the input_name_type, so the import operation
could not be completed.
o GSS_S_BAD_NAMEは供給されたinput_name_stringがinput_name_typeに関
して正しく構成されてないことを示します、それで入力オペレーションは完
了きませんでした。
o GSS_S_BAD_MECH indicates that the input presented for import was
an exported name object and that its enclosed mechanism type was not
recognized or was unsupported by the GSS-API implementation.
o GSS_S_BAD_MECHは入力提出されたものが出力名前オブジェクトで、その囲
まれたメカニズムタイプが認識されなかったか、あるいはGSS−API実
装でサポートされていなかったことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由で求めら
れたオペレーションが行われなかったことを示します。
Allows callers to provide a name representation as a contiguous octet
string, designate the type of namespace in conjunction with which it
should be parsed, and convert that representation to an internal form
suitable for input to other GSS-API routines. The syntax of the
input_name_string is defined in conjunction with its associated name
type; depending on the input_name_type, the associated
input_name_string may or may not be a printable string. If the
input_name_type's value is GSS_C_NO_OID, a mechanism-specific default
printable syntax (which shall be specified in the corresponding GSS-
V2 mechanism specification) is assumed for the input_name_string;
other input_name_type values as registered by GSS-API implementations
can be used to indicate specific non-default name syntaxes. Note: The
input_name_type argument serves to describe and qualify the
interpretation of the associated input_name_string; it does not
specify the data type of the returned output_name.
呼出し者が連続オクテット文字列の名前表示を供給して、解析されるべき名
前空間タイプを指名し、表示を他のGSS−APIルーチンに適した内部形
式へ変換することを許します。input_name_stringの構文は関連した名前タ
イプと関連して定義されます;input_name_typeに依存して、関連づけられ
たinput_name_stringは印刷可能文字列かもしれない、そうでないかもしれ
ません。もしinput_name_type値がGSS_C_NO_OIDなら、メカニズム固有のデ
フォルト印刷可能構文(対応するGSS−V2メカニズム仕様書で指定さ
れるべきである)がinput_name_stringのために想定されます;同じくGS
S−API実装で登録された他のinput_name_type値が特定の非デフォルト
名構文を示すために使われることができます。メモ:input_name_type引数
は関連したinput_name_stringの解釈を記述し、制限するのに役立ちます;
これは返されたoutput_nameのデータタイプを指定しません。
If a mechanism claims support for a particular name type, its
GSS_Import_name() operation shall be able to accept all possible
values conformant to the external name syntax as defined for that
name type. These imported values may correspond to:
もしメカニズムが特定の名前タイプに対するサポートを要求するなら、その
GSS_Import_name()オペレーションはその名前タイプのために定義される外
部名構文に適合するすべての可能な値を受け入れ可能であるべきです。
読み込まれた値が以下に対応するかもしれません:。
(1) locally registered entities (for which credentials may be
acquired),
(1) ローカル登録項目(証明書が獲得されるかもしれない)、
(2) non-local entities (for which local credentials cannot be
acquired, but which may be referenced as targets of initiated
security contexts or initiators of accepted security contexts), or
to
(2) 非ローカル項目(ローカル証明書が獲得できないが、しかし開始した
セキュリティコンテキストの相手や、受け入れられたセキュリティコンテ
キストの開始者として参照されるかもしれない)、
(3) neither of the above.
(3) 上記ののいずれも。
Determination of whether a particular name belongs to class (1), (2),
or (3) as described above is not guaranteed to be performed by the
GSS_Import_name() function.
特定の名前が、上記の(1)か(2)か(3)に属するかどうかの決定は
GSS_Import_name()関数で行われることを保証されません。
The internal name generated by a GSS_Import_name() operation may be a
single-mechanism MN, and is likely to be an MN within a single-
mechanism implementation, but portable callers must not depend on
this property (and must not, therefore, assume that the output from
GSS_Import_name() can be passed directly to GSS_Export_name() without
first being processed through GSS_Canonicalize_name()).
GSS_Import_name()オペレーションで生成された内部名はひとつのメカニズム
のMNであるかもしれません、そしてひとつのメカニズム実装の中のひとつ
のMNである可能性が高いです、しかしポータブル呼出し者がこの特性に依
存してはなりません(従って、GSS_Import_name()からの出力が最初に
GSS_Canonicalize_name()を通して処理されないで直接GSS_Export_name()に
渡されることができると想定しなくてはなりません)。
2.4.6: GSS_Release_name call
2.4.6: GSS_Release_name呼出
Inputs:
入力:
o name INTERNAL NAME
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the storage associated with the
input name was successfully released.
o GSS_S_COMPLETEは入力名と結び付けられた記憶装置の解放に成功したこ
とを示します。
o GSS_S_BAD_NAME indicates that the input name argument did not
contain a valid name.
o GSS_S_BAD_NAMEは入力名引数が正当な名前を含んでいなかったことを示
します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のために
求められたオペレーションが行われなかったことを示します。
Allows callers to release the storage associated with an internal
name representation. This call's specific behavior depends on the
language and programming environment within which a GSS-API
implementation operates, and is therefore detailed within applicable
bindings specifications; in particular, implementation and invocation
of this call may be superfluous (and may be omitted) within bindings
where memory management is automatic.
呼出し者が内部名表示と結び付けられた記憶装置を解放することを許します。
この呼出しの特定の同社はGSS−API実装が動作する言語とプログラム
環境に依存し、従って適用可能な仕様の中で詳述されます;特に、メモリ管
理が自動である場合、この呼び出しの実装と実施は余分で(そして除かれる)
かもしれません。
2.4.7: GSS_Release_buffer call
2.4.7: GSS_Release_buffer呼出
Inputs:
入力:
o buffer OCTET STRING
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the storage associated with the
input buffer was successfully released.
o GSS_S_COMPLETEは入力バッファと結び付けられた記憶装置の解放が成功し
たことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のために
求められたオペレーションが行われなかったことを示します。
Allows callers to release the storage associated with an OCTET STRING
buffer allocated by another GSS-API call. This call's specific
behavior depends on the language and programming environment within
which a GSS-API implementation operates, and is therefore detailed
within applicable bindings specifications; in particular,
implementation and invocation of this call may be superfluous (and
may be omitted) within bindings where memory management is automatic.
呼出し者に他のGSS−API呼出しで割り当てられたオクテットストリン
グバッファと結び付けられた記憶装置を解放することを許します。この呼出
しの特定の同社はGSS−API実装が動作する言語とプログラム環境に依
存し、従って適用可能な仕様の中で詳述されます;特に、メモリ管理が自動
である場合、この呼び出しの実装と実施は余分で(そして除かれる)かもし
れません。
2.4.8: GSS_Release_OID_set call
2.4.8: GSS_Release_OID_set呼出
Inputs:
入力:
o buffer SET OF OBJECT IDENTIFIER
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the storage associated with the
input object identifier set was successfully released.
o GSS_S_COMPLETEは入力オブジェクト識別子集合と結び付けられた記憶装置
の解放が成功したことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のために
求められたオペレーションが行われなかったことを示します。
Allows callers to release the storage associated with an object
identifier set object allocated by another GSS-API call. This call's
specific behavior depends on the language and programming environment
within which a GSS-API implementation operates, and is therefore
detailed within applicable bindings specifications; in particular,
implementation and invocation of this call may be superfluous (and
may be omitted) within bindings where memory management is automatic.
呼出し者に他のGSS−API呼び出しで割り当てられたオブジェクト識別
子集合オブジェクトと結び付けられた記憶装置の解放をを許します。この呼
出しの特定の同社はGSS−API実装が動作する言語とプログラム環境に
依存し、従って適用可能な仕様の中で詳述されます;特に、メモリ管理が自
動である場合、この呼び出しの実装と実施は余分で(そして除かれる)かも
しれません。
2.4.9: GSS_Create_empty_OID_set call
2.4.9: GSS_Create_empty_OID_set呼出
Inputs:
入力:
o (none)
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o oid_set SET OF OBJECT IDENTIFIER -- caller must release
-- with GSS_Release_oid_set()
-- 呼出し者はGSS_Release_oid_set()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates successful completion
o GSS_S_COMPLETEは成功を示します。
o GSS_S_FAILURE indicates that the operation failed
o GSS_S_FAILUREはオペレーションが失敗したことを示します。
Creates an object identifier set containing no object identifiers, to
which members may be subsequently added using the
GSS_Add_OID_set_member() routine. These routines are intended to be
used to construct sets of mechanism object identifiers, for input to
GSS_Acquire_cred().
オブジェクト識別子を含んでいないオブジェクト識別子集合を作ります、そ
の後GSS_Add_OID_set_member()ルーチンを使ってメンバが加えられるかもし
れません。これらのルーチンはGSS_Acquire_cred()への入力のために、メカ
ニズムオブジェクト識別子の集合を作るために使われる事を意図します。
2.4.10: GSS_Add_OID_set_member call
2.4.10: GSS_Add_OID_set_member呼出
Inputs:
入力:
o member_oid OBJECT IDENTIFIER,
o oid_set SET OF OBJECT IDENTIFIER
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates successful completion
o GSS_S_COMPLETEは成功を示します。
o GSS_S_FAILURE indicates that the operation failed
o GSS_S_FAILUREはオペレーションが失敗したことを示します。
Adds an Object Identifier to an Object Identifier set. This routine
is intended for use in conjunction with GSS_Create_empty_OID_set()
when constructing a set of mechanism OIDs for input to
GSS_Acquire_cred().
オブジェクト識別子集合にオブジェクト識別子を加えます。このルーチンは、
GSS_Acquire_cred()への入力のために、メカニズムオブジェクト識別子の集
合を作る時、GSS_Create_empty_OID_set()と関連して使用するのを意図され
ます。
2.4.11: GSS_Test_OID_set_member call
2.4.11: GSS_Test_OID_set_member呼出
Inputs:
入力:
o member OBJECT IDENTIFIER,
o set SET OF OBJECT IDENTIFIER
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o present BOOLEAN
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates successful completion
o GSS_S_COMPLETEは成功を示します。
o GSS_S_FAILURE indicates that the operation failed
o GSS_S_FAILUREはオペレーションが失敗したことを示します。
Interrogates an Object Identifier set to determine whether a
specified Object Identifier is a member. This routine is intended to
be used with OID sets returned by GSS_Indicate_mechs(),
GSS_Acquire_cred(), and GSS_Inquire_cred().
指定されたオブジェクト識別子が、オブジェクト識別子集合のメンバーであ
るかどうか決定します。このルーチンはGSS_Indicate_mechs()や
GSS_Acquire_cred()やGSS_Inquire_cred()によって返されたOID集合で使
われるように意図されます。
2.4.12: GSS_Inquire_names_for_mech call
2.4.12: GSS_Inquire_names_for_mech呼出
Input:
入力:
o input_mech_type OBJECT IDENTIFIER, -- mechanism type
-- メカニズム種別
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o name_type_set SET OF OBJECT IDENTIFIER -- caller must release
-- with GSS_Release_oid_set()
-- 呼出し者はGSS_Release_oid_set()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that the output name_type_set contains a
list of name types which are supported by the locally available
mechanism identified by input_mech_type.
o GSS_S_COMPLETEは、input_mech_typeで指定されるローカルに利用可能な
メカニズムの名前リストに、出力name_type_setが含まれることを示します。
o GSS_S_BAD_MECH indicates that the mechanism identified by
input_mech_type was unsupported within the local implementation,
causing the query to fail.
o GSS_S_BAD_MECHは、input_mech_typeで指定されたメカニズムがローカル
な実行の中でサポートされず、問合せは失敗したことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由で求めら
れたオペレーションが行えなかったことを示します。
Allows callers to determine the set of name types which are
supportable by a specific locally-available mechanism.
呼出し者に特定のローカル利用メカニズムでサポートされた名前タイプの集
合を決定することを許します。
2.4.13: GSS_Inquire_mechs_for_name call
2.4.13: GSS_Inquire_mechs_for_name呼出
Inputs:
入力:
o input_name INTERNAL NAME,
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o mech_types SET OF OBJECT IDENTIFIER -- caller must release
-- with GSS_Release_oid_set()
-- 呼出し者はGSS_Release_oid_set()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a set of object identifiers,
corresponding to the set of mechanisms suitable for processing the
input_name, is available in mech_types.
o GSS_S_COMPLETEはオブジェクト識別子の集合が、input_nameを処理する
ことにふさわしいメカニズムの集合に対応し、mech_typesで利用可能である
ことを示します。
o GSS_S_BAD_NAME indicates that the input_name was ill-formed and
could not be processed.
o GSS_S_BAD_NAMEはinput_nameの構成が悪く、処理できなかったことを示
します。
o GSS_S_BAD_NAMETYPE indicates that the input_name parameter
contained an invalid name type or a name type unsupported by the
GSS-API implementation.
o GSS_S_BAD_NAMETYPEはinput_nameパラメータが無効な名前タイプあるい
はGSS−API実装でサポートされない名前タイプを含んでいたことを
示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルにおいて特定されていない理由の
ために求められたオペレーションが行われなかったことを示します。
This routine returns the mechanism set with which the input_name may
be processed.
このルーチンはinput_nameを処理するかもしれないメカニズムの集合を返し
ます。
Each mechanism returned will recognize at least one element within
the name. It is permissible for this routine to be implemented within
a mechanism-independent GSS-API layer, using the type information
contained within the presented name, and based on registration
information provided by individual mechanism implementations. This
means that the returned mech_types result may indicate that a
particular mechanism will understand a particular name when in fact
it would refuse to accept that name as input to
GSS_Canonicalize_name(), GSS_Init_sec_context(), GSS_Acquire_cred(),
or GSS_Add_cred(), due to some property of the particular name rather
than a property of the name type. Thus, this routine should be used
only as a pre-filter for a call to a subsequent mechanism-specific
routine.
それぞれの返されたメカニズムは名前の中の少なくとも1つの要素を認識す
るでしょう。このルーチンが、個別のメカニズム実装の供給した登録情報に
基づき、提出された名前の中の種別情報を使い、メカニズムに依存しないG
SS−APIレイヤで実装されることは許されます。これは、返された
mech_types結果は、GSS_Canonicalize_name()かGSS_Init_sec_context()か
GSS_Acquire_cred()かGSS_Add_cred()の入力として名前の受入れを拒否す
るとき、特定のメカニズムが特定の名前を、名前種別の属性より特定の名
前の属性により、理解する事を示すかもしれない事を、意味します。それ
で、このルーチンは、続くメカニズム固有のルーチンの呼出しの、事前フィ
ルタとしてだけ利用できます。
2.4.14: GSS_Canonicalize_name call
2.4.14: GSS_Canonicalize_name呼出
Inputs:
入力:
o input_name INTERNAL NAME,
o mech_type OBJECT IDENTIFIER -- must be explicit mechanism,
-- not "default" specifier or identifier of negotiating mechanism
-- 「デフォルト」指定やメカニズム交渉の識別子ではなく、メカニズム
-- の明示に違いありません。
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_name INTERNAL NAME -- caller must release with
-- GSS_Release_name()
-- 呼出し者はGSS_Release_name()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a mechanism-specific reduction of
the input_name, as processed by the mechanism identified by
mech_type, is available in output_name.
o GSS_S_COMPLETはinput_nameの、mech_typeで識別されたメカニズムで処理
するための、メカニズム固有縮退がoutput_nameで利用可能であることを示し
ます。
o GSS_S_BAD_MECH indicates that the identified mechanism is
unsupported for this operation; this may correspond either to a
mechanism wholly unsupported by the local GSS-API implementation or
to a negotiating mechanism with which the canonicalization operation
cannot be performed.
o GSS_S_BAD_MECHは指定されたメカニズムがこのオペレーションのためにサ
ポートされていないことを示します;これはローカルGSS−API実装で
サポートされないメカニズムか、正規化オペレーションが行えない交渉メカ
ニズムに対応するかもしれません。
o GSS_S_BAD_NAMETYPE indicates that the input name does not contain
an element with suitable type for processing by the identified
mechanism.
o GSS_S_BAD_NAMETYPEは入力名が指定メカニズムでの処理に適当なタイプ要
素を含んでいないことを示します。
o GSS_S_BAD_NAME indicates that the input name contains an element
with suitable type for processing by the identified mechanism, but
that this element could not be processed successfully.
o GSS_S_BAD_NAMEは入力名が指定したメカニズムで処理するのに適当なタイ
プ要素を含んでいるが、この要素の処理に成功しなかったことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のために
求められたオペレーションが行えなかったことを示します。
This routine reduces a GSS-API internal name input_name, which may in
general contain elements corresponding to multiple mechanisms, to a
mechanism-specific Mechanism Name (MN) output_name by applying the
translations corresponding to the mechanism identified by mech_type.
The contents of input_name are unaffected by the
GSS_Canonicalize_name() operation. References to output_name will
remain valid until output_name is released, independent of whether or
not input_name is subsequently released.
このルーチンはGSS−API内部名input_nameを縮退します、input_name
は一般に多数のメカニズムに対応する要素を持ち、mech_typeで指定されるメ
カニズムに対応翻訳を適用することで、メカニズム固有メカニズム名(MN)
のoutput_nameにします。input_nameの内容はGSS_Canonicalize_name()オペ
レーションによって影響はされません。output_nameへの参照は、
input_nameがその後解放されるかに関わらず、output_nameが解放されるまで
有効でしょう。
2.4.15: GSS_Export_name call
2.4.15: GSS_Export_name呼出
Inputs:
入力:
o input_name INTERNAL NAME, -- required to be MN
-- MNでなければならない
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o output_name OCTET STRING -- caller must release
-- with GSS_Release_buffer()
-- 呼出し者はGSS_Release_buffer()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that a flat representation of the input
name is available in output_name.
o GSS_S_COMPLETEは入力名のフラット表現がoutput_nameで利用可能である
ことを示します。
o GSS_S_NAME_NOT_MN indicates that the input name contained elements
corresponding to multiple mechanisms, so cannot be exported into a
single-mechanism flat form.
o GSS_S_NAME_NOT_MNは入力名が多数のメカニズムに対応している要素を含
み、それでひとつのメカニズムのフラット形式に書き出でないことを示しま
す。
o GSS_S_BAD_NAME indicates that the input name was an MN, but could
not be processed.
o GSS_S_BAD_NAMEは入力名がNMであるが、処理できなかったことを示しま
す。
o GSS_S_BAD_NAMETYPE indicates that the input name was an MN, but
that its type is unsupported by the GSS-API implementation.
o GSS_S_BAD_NAMETYPEは入力名がMNであるが、そのタイプがGSS−AP
I実装でサポートされていないことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由で求めら
れたオペレーションが行われなかったことを示します。
This routine creates a flat name representation, suitable for
bytewise comparison or for input to GSS_Import_name() in conjunction
with the reserved GSS-API Exported Name Object OID, from a internal-
form Mechanism Name (MN) as emitted, e.g., by GSS_Canonicalize_name()
or GSS_Accept_sec_context().
このルーチンは、例えばGSS_Canonicalize_name()やGSS_Accept_sec_context()
の出力した、メカニズム名(MN)の内部形式から、バイト比較に、あるい
は予約GSS−API書出し名オブジェクトOIDと関連たGSS_Import_name()
の入力に、適してるフラット名を作ります。
The emitted GSS-API Exported Name Object is self-describing; no
associated parameter-level OID need be emitted by this call. This
flat representation consists of a mechanism-independent wrapper
layer, defined in Section 3.2 of this document, enclosing a
mechanism-defined name representation.
出力GSS−API書出し前オブジェクトは自己記述です;関連パラメータ
レベルOIDがこの呼び出しで出力される必要がありません。このフラット
表現は、この文書の3.2章で定義される、メカニズム定義名表示を囲む、
メカニズムに非依存の包み層から成り立ちます。
In all cases, the flat name output by GSS_Export_name() to correspond
to a particular input MN must be invariant over time within a
particular installation.
例外なく、特定の入力MNに対応するGSS_Export_name()のフラット名出力は
特定の装置内で長期間不変に違いありません。
The GSS_S_NAME_NOT_MN status code is provided to enable
implementations to reject input names which are not MNs. It is not,
however, required for purposes of conformance to this specification
that all non-MN input names must necessarily be rejected.
GSS_S_NAME_NOT_MN状態コードはMNでない入力名を拒絶する実装を可能にす
るために供給されます。この仕様書の適合に関して、すべての非MN入力名
が必ず拒絶される、という必要はありません。
2.4.16: GSS_Duplicate_name call
2.4.16: GSS_Duplicate_name呼出
Inputs:
入力:
o src_name INTERNAL NAME
Outputs:
出力:
o major_status INTEGER,
o minor_status INTEGER,
o dest_name INTERNAL NAME -- caller must release
-- with GSS_Release_name()
-- 呼出し者はGSS_Release_name()で解放しなければならない
Return major_status codes:
返ってきた主状態値:
o GSS_S_COMPLETE indicates that dest_name references an internal
name object containing the same name as passed to src_name.
o GSS_S_COMPLETEはdest_nameがsrc_nameで渡されるものと同じ名前を含む
内部名前オブジェクトを参照することを示します。
o GSS_S_BAD_NAME indicates that the input name was invalid.
o GSS_S_BAD_NAMEは入力名が無効なことを示します。
o GSS_S_FAILURE indicates that the requested operation could not be
performed for reasons unspecified at the GSS-API level.
o GSS_S_FAILUREはGSS−APIレベルで特定されていない理由のために
求められたオペレーションが行えなかったことを示します。
This routine takes input internal name src_name, and returns another
reference (dest_name) to that name which can be used even if src_name
is later freed. (Note: This may be implemented by copying or through
use of reference counts.)
このルーチンは入力された内部名前src_nameを取り出し、そして、たとえ
src_nameが後で解放されても使うことができるその名前のほかの参照
(dest_name)を返します。(メモ:これはコピーや、参照カウントの使用を
通して実装されるかもしれません。)
3: Data Structure Definitions for GSS-V2 Usage
3: GSS−V2で使用するデータ構造体定義
Subsections of this section define, for interoperability and
portability purposes, certain data structures for use with GSS-V2.
この章は、互換性と移植性の目的のために、GSS−V2で使用するある特
定のデータ構造体を定義します。
3.1: Mechanism-Independent Token Format
3.1: メカニズム非依存トークンフォーマット
This section specifies a mechanism-independent level of encapsulating
representation for the initial token of a GSS-API context
establishment sequence, incorporating an identifier of the mechanism
type to be used on that context and enabling tokens to be interpreted
unambiguously at GSS-API peers. Use of this format is required for
initial context establishment tokens of Internet standards-track
GSS-API mechanisms; use in non-initial tokens is optional.
この章はGSS−APIコンテキスト設立シーケンスの、コンテキスト上で
使われるメカニズムタイプ識別子を含み、トークンがGSS−APIの相手
で明瞭に解釈できる、最初のトークンの、カプセル化表現のメカニズム非依
存レベルを指定します。このフォーマットの使用はインターネット標準化G
SS−APIメカニズムの最初のコンテキスト設立トークンで必要です;最
初でないトークンでの使用は任意です。
The encoding format for the token tag is derived from ASN.1 and DER
(per illustrative ASN.1 syntax included later within this
subsection), but its concrete representation is defined directly in
terms of octets rather than at the ASN.1 level in order to facilitate
interoperable implementation without use of general ASN.1 processing
code. The token tag consists of the following elements, in order:
トークンタグのためのコーディングフォーマットはASN.1とDER(こ
の章の後に含まれる説明的なASN.1構文論毎に)から得られます、しか
しその具体的な表現は一般的なASN.1処理コードの使用がない総合運用
可能な実装を容易にするためのASN.1レベルよりオクテットで直接定義
されます。トークンタグは、次の要素が、この順番で成り立ちます:
1. 0x60 -- Tag for [APPLICATION 0] SEQUENCE; indicates that
-- constructed form, definite length encoding follows.
1. 0x60 -- [アプリケーション 0]のシーケンスタグ;組立て形式、明
確な長さコーディングが次に続く−事を示します。
2. Token length octets, specifying length of subsequent data
(i.e., the summed lengths of elements 3-5 in this list, and of the
mechanism-defined token object following the tag). This element
comprises a variable number of octets:
2. トークン長オクテット、続くデータ長の指定(すなわち、このリスト
の要素3〜5とタグに続くメカニズム固有トークンオブジェクトの合計
長)。この要素は可変個のオクテットを含みます:
2a. If the indicated value is less than 128, it shall be
represented in a single octet with bit 8 (high order) set to
"0" and the remaining bits representing the value.
2a. もし示された値が128未満であるなら、ビット8(最上位)を
「0」に設定した1オクテットで表すべきです。
2b. If the indicated value is 128 or more, it shall be
represented in two or more octets, with bit 8 of the first
octet set to "1" and the remaining bits of the first octet
specifying the number of additional octets. The subsequent
octets carry the value, 8 bits per octet, most significant
digit first. The minimum number of octets shall be used to
encode the length (i.e., no octets representing leading zeros
shall be included within the length encoding).
2b. もし示された値が128以上なら2オクテット以上で表現します、
最初のオクテットのビット8は「1」を設定し、最初のオクテットの
残りのビットは追加オクテットの数を示します。次のオクテットは値
で、オクテット毎に8ビットで、最上位桁が最初です。長さのコード
化で最少数のオクテットが使われるべきです(すなわち、長さコード
の頭にゼロが含まれるべきでありません)。
3. 0x06 -- Tag for OBJECT IDENTIFIER
3. 0x06 -- オブジェクト識別子のタグ
4. Object identifier length -- length (number of octets) of
-- the encoded object identifier contained in element 5,
-- encoded per rules as described in 2a. and 2b. above.
4. オブジェクト識別子長 -- 要素5に含まれるコード化されたオブジェ
-- クト識別子の長さ(オクテット数)、コード化規則は上記2aと2bで記
-- 述された通りです。
5. Object identifier octets -- variable number of octets,
-- encoded per ASN.1 BER rules:
5. オブジェクト識別子オクテット−可変長オクテット
− ASN.1のBER規則でコード化:
5a. The first octet contains the sum of two values: (1) the
top-level object identifier component, multiplied by 40
(decimal), and (2) the second-level object identifier
component. This special case is the only point within an
object identifier encoding where a single octet represents
contents of more than one component.
5a. 最初のオクテットは2つの値の合計を含んでいます:(1) 最上位
レベルオブジェクト識別子要素、掛ける40(10進数)と、(2) 第
二レベルのオブジェクト識別子要素。これは、ひとつのオクテットが
複数の要素の中身を表す、オブジェクト識別子コーディングの中の唯
一の特別な場所です。
5b. Subsequent octets, if required, encode successively-lower
components in the represented object identifier. A component's
encoding may span multiple octets, encoding 7 bits per octet
(most significant bits first) and with bit 8 set to "1" on all
but the final octet in the component's encoding. The minimum
number of octets shall be used to encode each component (i.e.,
no octets representing leading zeros shall be included within a
component's encoding).
5b. 続くオクテットは、必要な場合に、オブジェクト識別子の後の要
素をコード化します。要素のコーディングは複数オクテットかもしれ
ず、1オクテット毎に7ビットがコード化され(最上位桁が先)、8
ビット目は要素のコーディングの最終オクテット以外はすべて「1」
が設定されます。要素をコード化する際に最小数のオクテットが使
われるべきです(すなわち、オクテットのコード化で先行するゼロが
ないべきです)。
(Note: In many implementations, elements 3-5 may be stored and
referenced as a contiguous string constant.)
(ノート:多くの実装で、要素3−5が連続的文字列定数として保存と参
照がされるかもしれません。)
The token tag is immediately followed by a mechanism-defined token
object. Note that no independent size specifier intervenes following
the object identifier value to indicate the size of the mechanism-
defined token object. While ASN.1 usage within mechanism-defined
tokens is permitted, there is no requirement that the mechanism-
specific innerContextToken, innerMsgToken, and sealedUserData data
elements must employ ASN.1 BER/DER encoding conventions.
トークンタグはメカニズム定義トークンオブジェクトの直後に続きます。独
立サイズ指定が、以下のメカニズム定義オブジェクトのサイズを示すオブジェ
クト識別子の値に介入しないに注意してください。メカニズム定義トークン
でASN.1の使用が認められるが、メカニズム固有のinnerContextToken
とinnerMsgTokenとsealedUserDataデータ要素がASN.1のBER/DE
Rコーディング規則を使用しなくてはならないという必要条件がありません。
The following ASN.1 syntax is included for descriptive purposes only,
to illustrate structural relationships among token and tag objects.
For interoperability purposes, token and tag encoding shall be
performed using the concrete encoding procedures described earlier in
this subsection.
次のASN.1構文はトークンとタグオブジェクトの間の構造的な関係を示
すために、記述目的で含まれます。互換性の目的のため、トークンとタグの
コーディングがこの章の前に記述した具体的なコーディング手順を使って行
われるべきです。
GSS-API DEFINITIONS ::=
BEGIN
MechType ::= OBJECT IDENTIFIER
-- data structure definitions
-- callers must be able to distinguish among
-- InitialContextToken, SubsequentContextToken,
-- PerMsgToken, and SealedMessage data elements
-- based on the usage in which they occur
-- データ構造定義
-- 呼出し者は存在する使用法に基づいてInitialContextTokenと
-- SubsequentContextTokenとPerMsgTokenとSealedMessageデータ要素
-- の間の区別ができなければなりません。
InitialContextToken ::=
-- option indication (delegation, etc.) indicated within
-- mechanism-specific token
-- オプション表示(委任など)がメカニズム固有トークン中で示され
-- ます。
[APPLICATION 0] IMPLICIT SEQUENCE {
thisMech MechType,
innerContextToken ANY DEFINED BY thisMech
-- contents mechanism-specific
-- ASN.1 structure not required
-- メカニズム固有ASN.1構造体、必要でない。
}
SubsequentContextToken ::= innerContextToken ANY
-- interpretation based on predecessor InitialContextToken
-- ASN.1 structure not required
-- 前のInitialContextTokenのASN.1構造体に基づく解釈、必要で
-- ない。
PerMsgToken ::=
-- as emitted by GSS_GetMIC and processed by GSS_VerifyMIC
-- ASN.1 structure not required
innerMsgToken ANY
-- GSS_GetMICが生成し、GSS_VerifyMICが処理、ASN.1構造体、必
-- 要でない。
SealedMessage ::=
-- as emitted by GSS_Wrap and processed by GSS_Unwrap
-- includes internal, mechanism-defined indicator
-- of whether or not encrypted
-- ASN.1 structure not required
sealedUserData ANY
-- GSS_Unwrapが生成し、内部を含むGSS_Unwrapで処理する、ASN.1
-- 構造体を暗号化するかどうかのメカニズム定義表示、必要でない。
END
3.2: Mechanism-Independent Exported Name Object Format
3.2: メカニズムに依存しない書出し名オブジェクトフォーマット
This section specifies a mechanism-independent level of encapsulating
representation for names exported via the GSS_Export_name() call,
including an object identifier representing the exporting mechanism.
The format of names encapsulated via this representation shall be
defined within individual mechanism drafts. The Object Identifier
value to indicate names of this type is defined in Section 4.7 of
this document.
この章は、GSS_Export_name()呼出しで書き出される、書きだしメカニズムを
示すオブジェクト識別子を含む、名前のはメカニズムと独立なレベルのカプ
セル化表現を示します。この表現でカプセル化される名前のフォーマットは
個別のメカニズムドラフトの中で定義されるべきです。このタ名前種別を示
すオブジェクト識別子値はこの文書の4.7章で定義されます。
No name type OID is included in this mechanism-independent level of
format definition, since (depending on individual mechanism
specifications) the enclosed name may be implicitly typed or may be
explicitly typed using a means other than OID encoding.
(個別のメカニズム仕様により)囲まれた名前が種別を暗示するか、OID
のコーディング以外の手段で種別が指定されるので、名前タイプOIDはこ
のメカニズムと独立なレベルのフォーマットの定義に含まれません。
The bytes within MECH_OID_LEN and NAME_LEN elements are represented
most significant byte first (equivalently, in IP network byte order).
MECH_OID_LENとNAME_LEN要素のバイトは最上位バイトが先頭です(IPネッ
トワークバイト順に等しい)。
Length Name Description
長さ 名前 記述
2 TOK_ID Token Identifier
For exported name objects, this
must be hex 04 01.
トークン識別子
書き出された名前オブジェクトの、
これは16進数の0401です。
2 MECH_OID_LEN Length of the Mechanism OID
メカニズムOID長
MECH_OID_LEN MECH_OID Mechanism OID, in DER
DERでの、メカニズムOID
4 NAME_LEN Length of name
名前長
NAME_LEN NAME Exported name; format defined in
applicable mechanism draft.
書きだし名前;適用可能なメカニズ
ムドラフトで定義されたフォーマット
A concrete example of the contents of an exported name object,
derived from the Kerberos Version 5 mechanism, is as follows:
書き出された名前オブジェクトの中身の具体的な例は、ケルベロスバージョ
ン5メカニズムから得られる、次の通りです:。
04 01 00 0B 06 09 2A 86 48 86 F7 12 01 02 02 hx xx xx xl pp qq ... zz
04 01 mandatory token identifier
必須のトークン識別子
00 0B 2-byte length of the immediately following DER-encoded
ASN.1 value of type OID, most significant octet first
直後のOIDのDERコード化ANS.1値の長さの2バイ
ト、最上位オクテットが先
06 09 2A 86 48 86 F7 12 01 02 02 DER-encoded ASN.1 value
of type OID; Kerberos V5
mechanism OID indicates
Kerberos V5 exported name
OIDのDERコード化ANS.1
値;ケルベロスV5書きだし名を示
す、ケルベロスV5メカニズムOID
in Detail: 06 Identifier octet (6=OID)
詳細: 識別子オクテット(6=ID)
09 Length octet(s)
長さオクテット
2A 86 48 86 F7 12 01 02 02 Content octet(s)
内容オクテット
hx xx xx xl 4-byte length of the immediately following exported
name blob, most significant octet first
直後の書きだし名の塊の長さの4バイト、最上位オクテット
が先
pp qq ... zz exported name blob of specified length,
bits and bytes specified in the
(Kerberos 5) GSS-API v2 mechanism spec
(ケルベロス5)GSS−APIV2メカニズム仕様で指定
された指定長とビットとバイトの書きだし名の塊
4: Name Type Definitions
4: 名前種別定義
This section includes definitions for name types and associated
syntaxes which are defined in a mechanism-independent fashion at the
GSS-API level rather than being defined in individual mechanism
specifications.
この章は名前種別定義と関連した文法を含みます、これらは個別のメカニズ
ム仕様書で定義されるのではなくGSS−APIレベルでメカニズムに独立
に定義されます。
4.1: Host-Based Service Name Form
4.1: ホストベースのサービス名前形式
This name form shall be represented by the Object Identifier:
この名前形式はオブジェクト識別子で表されるべきです:
{iso(1) member-body(2) United States(840) mit(113554) infosys(1)
"gssapi(2) generic(1) service_name(4)}.
The recommended symbolic name for this type is
"GSS_C_NT_HOSTBASED_SERVICE".
このタイプの推薦された象徴名は"GSS_C_NT_HOSTBASED_SERVICE"です。
For reasons of compatibility with existing implementations, it is
recommended that this OID be used rather than the alternate value as
included in [RFC-2078]:
既存の実装との互換性のため、[RFC-2078]の以下の代替値よりこのOIDを
使うことが薦められます:
{1(iso), 3(org), 6(dod), 1(internet), 5(security), 6(nametypes),
2(gss-host-based-services)}
While it is not recommended that this alternate value be emitted on
output by GSS implementations, it is recommended that it be accepted
on input as equivalent to the recommended value.
この代わりの値がGSS実装の出力上に出る事は勧められないが、推薦され
た値と等しい入力が受け入れられることが勧められます。
This name type is used to represent services associated with host
computers. Support for this name form is recommended to mechanism
designers in the interests of portability, but is not mandated by
this specification. This name form is constructed using two elements,
"service" and "hostname", as follows:
この名前種別はホストコンピュータと結び付けられたサービスを表すために
使われます。この名前形式に対するサポートがポータビリティの関係でメカ
ニズム設計者に勧められます、しかしこの仕様書で要求されません。この名
前形式は次のように2つの要素「サービス」と「ホスト名」を使って組み立
てられます:
service@hostname
When a reference to a name of this type is resolved, the "hostname"
may (as an example implementation strategy) be canonicalized by
attempting a DNS lookup and using the fully-qualified domain name
which is returned, or by using the "hostname" as provided if the DNS
lookup fails. The canonicalization operation also maps the host's
name into lower-case characters.
この種別の名前への参照が解決される時、「ホスト名」は(実装戦略の例とし
て)DNS検索を試みて返される完全指定ドメイン名を使うことによって、
あるいはDNS検索が失敗するなら供給された「ホスト名」を使うことによっ
て、正規化されるかもしれません。正規化処理ははホスト名を小文字に変換
もします。
The "hostname" element may be omitted. If no "@" separator is
included, the entire name is interpreted as the service specifier,
with the "hostname" defaulted to the canonicalized name of the local
host.
「ホスト名」要素は省略されるかもしれません。もし「@」区切記号が含ま
れないなら、全部の名前はサービス指定子と解釈され、「ホスト名」はデフォ
ルトのローカルホストの正規化名と解釈します。
Documents specifying means for GSS integration into a particular
protocol should state either:
特定のプロトコルのGSS統合の手段を指定している文書がいずれかを述べ
るべきです:
(a) that a specific IANA-registered name associated with that
protocol shall be used for the "service" element (this admits, if
needed, the possibility that a single name can be registered and
shared among a related set of protocols), or
(a) そのプロトコルと結び付けられた特定のIANAに登録された名前が
「サービス」要素に使われるべきこと(もし必要なら、ひとつの名前が登
録され、関連プロトコル間で共有されることを認めます)、あるいは
(b) that the generic name "host" shall be used for the "service"
element, or
(b) 一般名「ホスト」が、「サービス」要素に使われるべき、あるいは
(c) that, for that protocol, fallback in specified order (a, then
b) or (b, then a) shall be applied.
(c) そのプロトコルで、指定順序で(a次にb)か(b次にa)が適用される
べき。
IANA registration of specific names per (a) should be handled in
accordance with the "Specification Required" assignment policy,
defined by BCP 26, RFC 2434 as follows: "Values and their meaning
must be documented in an RFC or other available reference, in
sufficient detail so that interoperability between independent
implementations is possible."
(a)の特定の名前のIANA登録は、BCP26、RFC2434で定義され
た「仕様書要求」割当てポリシどおりに処理されるべきです:「値とその意味
は、独立な実装間で互換性があるように、RFCや他の利用可能な参考文献
で、十分に詳細に文書化されなくてはなりません。」。
4.2: User Name Form
4.2: ユーザ名形式
This name form shall be represented by the Object Identifier {iso(1)
member-body(2) United States(840) mit(113554) infosys(1) gssapi(2)
generic(1) user_name(1)}. The recommended mechanism-independent
symbolic name for this type is "GSS_C_NT_USER_NAME". (Note: the same
name form and OID is defined within the Kerberos V5 GSS-API
mechanism, but the symbolic name recommended there begins with a
"GSS_KRB5_NT_" prefix.)
この名前形式はオブジェクト識別子{iso(1) member-body(2) United
States(840) mit(113554) infosys(1) gssapi(2) generic(1)
user_name(1)}で表されるべきです。この種別のための推薦されたメカニズム
に独立な象徴名は「GSS_C_NT_USER_NAME」です。(ノート:ケルベロスV5G
SS−APIメカニズムで同じ名前形式が定義されますが、推薦された象徴
名は"GSS_KRB5_NT_"プレフィックスで始まります)。
This name type is used to indicate a named user on a local system.
Its syntax and interpretation may be OS-specific. This name form is
constructed as:
この名前種別はローカルシステム上のユーザを示すために使われます。その
構文と解釈はOS固有かもしれません。名前形式は以下のとおりです:
username
4.3: Machine UID Form
4.3: マシンUID形式
This name form shall be represented by the Object Identifier {iso(1)
member-body(2) United States(840) mit(113554) infosys(1) gssapi(2)
generic(1) machine_uid_name(2)}. The recommended mechanism-
independent symbolic name for this type is
"GSS_C_NT_MACHINE_UID_NAME". (Note: the same name form and OID is
defined within the Kerberos V5 GSS-API mechanism, but the symbolic
name recommended there begins with a "GSS_KRB5_NT_" prefix.)
この名前形式はオブジェクト識別子{iso(1) member-body(2) United
States(840) mit(113554) infosys(1) gssapi(2) generic(1)
machine_uid_name(2)}で表されるべきです。この種別のための推薦されたメ
カニズムに独立な象徴名は「GSS_C_NT_MACHINE_UID_NAME」です。(ノート:
ケルベロスV5GSS−APIメカニズムで同じ名前形式が定義されますが、
推薦された象徴名は"GSS_KRB5_NT_"プレフィックスで始まります)。
This name type is used to indicate a numeric user identifier
corresponding to a user on a local system. Its interpretation is
OS-specific. The gss_buffer_desc representing a name of this type
should contain a locally-significant user ID, represented in host
byte order. The GSS_Import_name() operation resolves this uid into a
username, which is then treated as the User Name Form.
この名前種別はローカルシステム上のユーザに対応しているユーザ識別番号
を示すために使われます。その解釈はOS固有です。この種類の名前を表し
ているgss_buffer_descはホストバイト順で表されるローカルに意味を持つ
ユーザIDを含んでいるべきです。GSS_Import_name()オペレーションはこ
のuidをユーザ名に変換し、そしてそれからユーザ名形式と扱われます。
4.4: String UID Form
4.3: 文字列UID形式
This name form shall be represented by the Object Identifier {iso(1)
member-body(2) United States(840) mit(113554) infosys(1) gssapi(2)
generic(1) string_uid_name(3)}. The recommended symbolic name for
this type is "GSS_C_NT_STRING_UID_NAME". (Note: the same name form
and OID is defined within the Kerberos V5 GSS-API mechanism, but the
symbolic name recommended there begins with a "GSS_KRB5_NT_" prefix.)
この名前形式はオブジェクト識別子{iso(1) member-body(2) United
States(840) mit(113554) infosys(1) gssapi(2) generic(1)
string_uid_name(3)}で表されるべきです。この種別のための推薦されたメ
カニズムに独立な象徴名は「GSS_C_NT_STRING_UID_NAME」です。(ノート:
ケルベロスV5GSS−APIメカニズムで同じ名前形式が定義されますが、
推薦された象徴名は"GSS_KRB5_NT_"プレフィックスで始まります)。
This name type is used to indicate a string of digits representing
the numeric user identifier of a user on a local system. Its
interpretation is OS-specific. This name type is similar to the
Machine UID Form, except that the buffer contains a string
representing the user ID.
この名前種別はローカルシステム上のユーザのユーザ識別番号を表す、数字
文字列を示すために使われます。その解釈はOS固有です。この名前種別は、
バッファがユーザIDを表す文字列を含む以外は、マシンUID形式に類似
しています。
4.5: Anonymous Nametype
4.5: 匿名名前種別
The following Object Identifier value is provided as a means to
identify anonymous names, and can be compared against in order to
determine, in a mechanism-independent fashion, whether a name refers
to an anonymous principal:
{1(iso), 3(org), 6(dod), 1(internet), 5(security), 6(nametypes),
3(gss-anonymous-name)}
次のオブジェクト識別子値は匿名の名前を識別する手段として提供され、そ
して、メカニズムに依存しない方法で、名前が匿名の主体に関するものか決
定するために、比較することができます:{1(iso), 3(org), 6(dod),
1(internet), 5(security), 6(nametypes), 3(gss-anonymous-name)}
The recommended symbolic name corresponding to this definition is
GSS_C_NT_ANONYMOUS.
この定義に対応した推薦された象徴名はGSS_C_NT_ANONYMOUSです。
4.6: GSS_C_NO_OID
4.6: GSS_C_NO_OID
The recommended symbolic name GSS_C_NO_OID corresponds to a null
input value instead of an actual object identifier. Where specified,
it indicates interpretation of an associated name based on a
mechanism-specific default printable syntax.
推薦された象徴名GSS_C_NO_OIDは実際のオブジェクト識別子の代わりに空の
入力値に対応します。指定される場合は、これはメカニズム固有のデフォル
ト印刷可能文法に基づいた関連名に翻訳されます。
4.7: Exported Name Object
4.7: 書き出し名オブジェクト
Name objects of the Mechanism-Independent Exported Name Object type,
as defined in Section 3.2 of this document, will be identified with
the following Object Identifier:
この文書の3.2章で定義されるメカニズムから独立な書出し名オブジェクト
種別の名前オブジェクトは、以下のオブジェクト識別子で識別されます:
{1(iso), 3(org), 6(dod), 1(internet), 5(security), 6(nametypes),
4(gss-api-exported-name)}
The recommended symbolic name corresponding to this definition is
GSS_C_NT_EXPORT_NAME.
この定義に対応している推薦された象徴名はGSS_C_NT_EXPORT_NAMEです。
4.8: GSS_C_NO_NAME
4.8: GSS_C_NO_NAME
The recommended symbolic name GSS_C_NO_NAME indicates that no name is
being passed within a particular value of a parameter used for the
purpose of transferring names. Note: GSS_C_NO_NAME is not an actual
name type, and is not represented by an OID; its acceptability in
lieu of an actual name is confined to specific calls
(GSS_Acquire_cred(), GSS_Add_cred(), and GSS_Init_sec_context()) with
usages as identified within this specification.
推薦された象徴名GSS_C_NO_NAMEは、名前を転送する目的に使われたパラメー
タの特定の値で、名前が渡されていないことを示します。ノート:
GSS_C_NO_NAMEは実際の名前種別ではなく、OIDで表現できません;実際
の名前の代わり使えるかは、特定の呼出し(GSS_Acquire_cred()と
GSS_Add_cred()とGSS_Init_sec_context())に限定され、使用法はこの仕
様書で指定されます。
5: Mechanism-Specific Example Scenarios
5: メカニズム固有のシナリオ例
This section provides illustrative overviews of the use of various
candidate mechanism types to support the GSS-API. These discussions
are intended primarily for readers familiar with specific security
technologies, demonstrating how GSS-API functions can be used and
implemented by candidate underlying mechanisms. They should not be
regarded as constrictive to implementations or as defining the only
means through which GSS-API functions can be realized with a
particular underlying technology, and do not demonstrate all GSS-API
features with each technology.
この章はGSS−APIをサポートするための種々な候補メカニズム種別の
使用の説明的な概観を供給します。これらの論議は主に特定のセキュリティ
技術に精通した読者のために意図され、どのようにGSS−API機能が候
補基礎メカニズムで使われて実装されるかを明示します。これらは、実装が
必須とか、特定の基礎技術でGSS−API機能を実現する唯一の手段とみ
なされるべきでなく、それぞれの技術ですべてのGSS−API 機能を示
すのではありません。
5.1: Kerberos V5, single-TGT
5.1: ケルベロスV5、シングルTGT
OS-specific login functions yield a TGT to the local realm Kerberos
server; TGT is placed in a credentials structure for the client.
Client calls GSS_Acquire_cred() to acquire a cred_handle in order to
reference the credentials for use in establishing security contexts.
OS固有ログイン機能がローカル領域ケルベロスサーバにTGTをもたらし
ます;TGTはクライアントの証明書構造体に置かれます。セキュリティコ
ンテキストを確立するために使用する証明書を参照するためのcred_handle
を獲得するために、クライアントがGSS_Acquire_cred()を呼び出します。
Client calls GSS_Init_sec_context(). If the requested service is
located in a different realm, GSS_Init_sec_context() gets the
necessary TGT/key pairs needed to traverse the path from local to
target realm; these data are placed in the owner's TGT cache. After
any needed remote realm resolution, GSS_Init_sec_context() yields a
service ticket to the requested service with a corresponding session
key; these data are stored in conjunction with the context. GSS-API
code sends KRB_TGS_REQ request(s) and receives KRB_TGS_REP
response(s) (in the successful case) or KRB_ERROR.
クライアントがGSS_Init_sec_context()を呼び出します。もし求められたサー
ビスが異なる領域に位置しているなら、GSS_Init_sec_context()はローカル
から目標領域までのパスを通るのに必要なTGT/鍵対を得ます;これらの
データは所有者のTGTキャッシュに置かれます。必要な遠隔領域解決の後、
GSS_Init_sec_context()は対応するセッション鍵での求められたサービスへ
のサービスチケットを発行します;これらのデータはコンテキストに関連し
て保存されます。GSS−APIコードはKRB_TGS_REQの要求を送り、そし
てKRB_TGS_REP応答(成功した場合)、あるいは、KRB_ERRORを受け取ります。
Assuming success, GSS_Init_sec_context() builds a Kerberos-formatted
KRB_AP_REQ message, and returns it in output_token. The client sends
the output_token to the service.
成功したら、GSS_Init_sec_context()はケルベロスで方式を決められた
KRB_AP_REQメッセージを構築し、そしてoutput_tokenで返します。クライア
ントはサービスにoutput_tokenを送ります。
The service passes the received token as the input_token argument to
GSS_Accept_sec_context(), which verifies the authenticator, provides
the service with the client's authenticated name, and returns an
output_context_handle.
サービスはinput_token引数としてGSS_Accept_sec_context()で受け取った
トークンを渡し、そしてこれは認証子を検証して、クライアントの認証され
た名前をサービスに提供し、そしてoutput_context_handleを返します。
Both parties now hold the session key associated with the service
ticket, and can use this key in subsequent GSS_GetMIC(),
GSS_VerifyMIC(), GSS_Wrap(), and GSS_Unwrap() operations.
両者が今サービスチケットと結び付けられたセッション鍵を持ち、そして次
のGSS_GetMIC()とGSS_VerifyMIC()とGSS_Wrap()とGSS_Unwrap()オペレーショ
ンでこの鍵を使うことができます。
5.2: Kerberos V5, double-TGT
5.2: ケルベロスV5、ダブルTGT
TGT acquisition as above.
TGT獲得は上記のとおり。
Note: To avoid unnecessary frequent invocations of error paths when
implementing the GSS-API atop Kerberos V5, it seems appropriate to
represent "single-TGT K-V5" and "double-TGT K-V5" with separate
mech_types, and this discussion makes that assumption.
ノート:ケルベロスV5上のGSS−APIを実行する時、エラーパスの不
必要に頻繁な実施を避けるために、別のメカニズム種別で「シングル−TG
T K−V5」と「ダブル−TGT K−V5」を表すことは適切と思われま
す、そしてこの議論はその仮定をします。
Based on the (specified or defaulted) mech_type,
GSS_Init_sec_context() determines that the double-TGT protocol
should be employed for the specified target. GSS_Init_sec_context()
returns GSS_S_CONTINUE_NEEDED major_status, and its returned
output_token contains a request to the service for the service's TGT.
(If a service TGT with suitably long remaining lifetime already
exists in a cache, it may be usable, obviating the need for this
step.) The client passes the output_token to the service. Note: this
scenario illustrates a different use for the GSS_S_CONTINUE_NEEDED
status return facility than for support of mutual authentication;
note that both uses can coexist as successive operations within a
single context establishment operation.
(指定あるいはデフォルトの)メカニズム種別に依存して、
GSS_Init_sec_context()はダブル−TGTプロトコルが指定された目標のた
めに利用されるべきと決定します。GSS_Init_sec_context()は
GSS_S_CONTINUE_NEEDED主状態を返します、そしてその返されたoutput_token
はサービスのTGTのためにサービスに要請を含んでいます。(もしすでに残り
の寿命が十分長いサービスTGTがキャッシュに存在するなら、利用可能で、
このステップが必要ないかもしれません)。クライアントはサービスに
output_tokenを渡します。ノート:このシナリオはGSS_S_CONTINUE_NEEDED状
態返り機能の、相互認証のサポートとは、異なる用途を例示します;両方の
使用がひとつのコンテキスト設立オペレーションの中で連続したオペレーショ
ンとして共存できることを指摘します。
The service passes the received token as the input_token argument to
GSS_Accept_sec_context(), which recognizes it as a request for TGT.
(Note that current Kerberos V5 defines no intra-protocol mechanism to
represent such a request.) GSS_Accept_sec_context() returns
GSS_S_CONTINUE_NEEDED major_status and provides the service's TGT in
its output_token. The service sends the output_token to the client.
サービスは受信トークンをGSS_Accept_sec_context()にinput_token引数とし
て渡し、そしてこれをTGT要請として認知します。(現在のケルベロスV5
はプロトコル内にこのような要求を表すメカニズムを定義しないことに注意
してください。)GSS_Accept_sec_context()はGSS_S_CONTINUE_NEEDED主状態
を返して、output_tokenでサービスのTGTを供給します。サービスはクラ
イアントにoutput_tokenを送ります。
The client passes the received token as the input_token argument to a
continuation of GSS_Init_sec_context(). GSS_Init_sec_context() caches
the received service TGT and uses it as part of a service ticket
request to the Kerberos authentication server, storing the returned
service ticket and session key in conjunction with the context.
GSS_Init_sec_context() builds a Kerberos-formatted authenticator, and
returns it in output_token along with GSS_S_COMPLETE return
major_status. The client sends the output_token to the service.
クライアントは受信トークンを継続GSS_Init_sec_context()のinput_token引
数にします。GSS_Init_sec_context()は受信サービスTGTをキャッシュし、
そしてケルベロス認証サーバへのサービスチケット要求の一部として使用し、
返されたコンテキストに関するサービスチケットとセッション鍵を保存しま
す。GSS_Init_sec_context()はケルベロスフォーマットの認証子を作り、そ
してGSS_S_COMPLETE主状態と共にoutput_tokenでを返します。クライアント
はサービスにoutput_tokenを送ります。
Service passes the received token as the input_token argument to a
continuation call to GSS_Accept_sec_context().
GSS_Accept_sec_context() verifies the authenticator, provides the
service with the client's authenticated name, and returns
major_status GSS_S_COMPLETE.
サービスが受信トークンを継続GSS_Accept_sec_context()呼出しの
input_token引数にします。GSS_Accept_sec_context()は認証子を検証し、
クライアントの認証された名前をサービスに提供し、そしてGSS_S_COMPLETE
主状態を返します。
GSS_GetMIC(), GSS_VerifyMIC(), GSS_Wrap(), and GSS_Unwrap() as
above.
GSS_GetMIC()とGSS_VerifyMIC()とGSS_Wrap()とGSS_Unwrap()は上記の通り。
5.3: X.509 Authentication Framework
5.3: X..509認証機構
This example illustrates use of the GSS-API in conjunction with
public-key mechanisms, consistent with the X.509 Directory
Authentication Framework.
この例は、X..509ディレクトリ認証機構と整合した、公開鍵メカニズム
と関連してGSS−APIの使用を例示します。
The GSS_Acquire_cred() call establishes a credentials structure,
making the client's private key accessible for use on behalf of the
client.
GSS_Acquire_cred()呼出しは、クライアントの使用のためにクライアントの秘
密鍵をアクセス可能にして、証明書構造体を確立します。
The client calls GSS_Init_sec_context(), which interrogates the
Directory to acquire (and validate) a chain of public-key
certificates, thereby collecting the public key of the service. The
certificate validation operation determines that suitable integrity
checks were applied by trusted authorities and that those
certificates have not expired. GSS_Init_sec_context() generates a
secret key for use in per-message protection operations on the
context, and enciphers that secret key under the service's public
key.
クライアントはGSS_Init_sec_context()を呼出しし、これはサービスの公開
鍵を集めて、公開鍵証明書の連鎖を獲得(と検査)するためにディレクトリ
に質問します。証明書承認オペレーションは、信頼できる権威による適当な
完全性検査が適用されmそしてそれらの証明書の期限が切れていないと、決
定します。GSS_Init_sec_context()はコンテキスト上でのメッセージ毎の保
護オペレーションで使用するために秘密鍵を生成し、サービスの公開鍵下で
その秘密鍵を暗号化します。
The enciphered secret key, along with an authenticator quantity
signed with the client's private key, is included in the output_token
from GSS_Init_sec_context(). The output_token also carries a
certification path, consisting of a certificate chain leading from
the service to the client; a variant approach would defer this path
resolution to be performed by the service instead of being asserted
by the client. The client application sends the output_token to the
service.
暗号化された秘密鍵は、クライアントのプライベート鍵で署名された認証子
とともに、GSS_Init_sec_context()のoutput_tokenに含められます。
output_tokenは、サービスからクライアントまでを導く証明書連鎖をなす証
明パス運びます;別の方法はこのパス解決策と異なり、クライアントが主張
する代わりにサービスによって行われるでしょう。クライアントアプリケー
ションはサービスにoutput_tokenを送ります。
The service passes the received token as the input_token argument to
GSS_Accept_sec_context(). GSS_Accept_sec_context() validates the
certification path, and as a result determines a certified binding
between the client's distinguished name and the client's public key.
Given that public key, GSS_Accept_sec_context() can process the
input_token's authenticator quantity and verify that the client's
private key was used to sign the input_token. At this point, the
client is authenticated to the service. The service uses its private
key to decipher the enciphered secret key provided to it for per-
message protection operations on the context.
サービスはinput_token引数としてGSS_Accept_sec_context()に受信トーク
ンを渡します。GSS_Accept_sec_context()は証明パスを検証し、結果として
クライアントの識別名とクライアントの公開鍵の結合を決定します。与えら
れた公開鍵で、GSS_Accept_sec_context()はinput_tokenの認証子を処理し、
そしてinput_tokenに署名するためにクライアントのプライベート鍵が使わ
れたことを確かめることができます。この時点で、クライアントはサービス
に認証されます。サービスは、コンテキストのメッセージ毎保護オペレーショ
ンのため、暗号化された秘密鍵を解読するのにプライベート鍵を使います。
The client calls GSS_GetMIC() or GSS_Wrap() on a data message, which
causes per-message authentication, integrity, and (optional)
confidentiality facilities to be applied to that message. The service
uses the context's shared secret key to perform corresponding
GSS_VerifyMIC() and GSS_Unwrap() calls.
クライアントはデータメッセージに対しGSS_GetMIC()かGSS_Wrap()を呼出し、
これはメッセージ毎認証と完全性と(オプションの)機密性機能をそのメッ
セージに適用します。サービスは対応するGSS_VerifyMIC()とGSS_Unwrap()
呼出しを行うためにコンテキストの共有秘密鍵の鍵を使います。
6: Security Considerations
6: セキュリティの考察
This document specifies a service interface for security facilities
and services; as such, security considerations are considered
throughout the specification. Nonetheless, it is appropriate to
summarize certain specific points relevant to GSS-API implementors
and calling applications. Usage of the GSS-API interface does not in
itself provide security services or assurance; instead, these
attributes are dependent on the underlying mechanism(s) which support
a GSS-API implementation. Callers must be attentive to the requests
made to GSS-API calls and to the status indicators returned by GSS-
API, as these specify the security service characteristics which
GSS-API will provide. When the interprocess context transfer
facility is used, appropriate local controls should be applied to
constrain access to interprocess tokens and to the sensitive data
which they contain.
この文書はセキュリティ機能とサービスのためのサービスインタフェースを
指定しますセキュリティの考察は仕様書を通じて考慮されます。にもかかわ
らず、GSS−API実装者とアプリケーションを呼出すことに関係がある
ある特定のポイントを要約することは適切です。GSS−APIインタフェー
スの使用だけではセキュリティサービスや保証が供給されません;その代わ
りにこれらの特性は、GSS−API実装がサポートする基礎メカニズムに
依存しています。呼出し者はGSS−API呼出しの要求とGSS−API
の返す、GSS−APIが供給するセキュリティサービス特性を指定す、状
態表示に注意しなくてはなりません。プロセス間コンテキスト転送機能が使
われる時、プロセス間トークンとそれが含む機密情報へのアクセスに適切な
ローカルな制御が適用されるべきです。
7: Related Activities
7: 関連活動
In order to implement the GSS-API atop existing, emerging, and future
security mechanisms:
既存にあるものと将来のメカニズム上でGSS−APIを実装するために:
object identifiers must be assigned to candidate GSS-API
mechanisms and the name types which they support
候補GSS−APIメカニズムとそれらが支援する名前タイプにオブジェ
クト識別子が割り当てられなくてはなりません。
concrete data element formats and processing procedures must be
defined for candidate mechanisms
具体的なデータ要素フォーマットと処理手順が候補メカニズムのために定
義されなくてはなりません。
Calling applications must implement formatting conventions which will
enable them to distinguish GSS-API tokens from other data carried in
their application protocols.
呼出しアプリケーションは、そのアプリケーションプロトコルで運ぶ他のデー
タからGSS−APIトークンを区別するために、フォーマット規則を実装
しなくてはなりません。
Concrete language bindings are required for the programming
environments in which the GSS-API is to be employed, as [RFC-1509]
defines for the C programming language and GSS-V1. C Language
bindings for GSS-V2 are defined in [RFC-2744].
[RFC-1509]がC言語とGSS−V1のための結合を定義するように、プログ
ラミング環境のためにGSS−APIが利用される具体的な言語での結合が
必要です。GSS−V2のためのC言語結合が[RFC-2744]で定義されます。
8: Referenced Documents
8: 参照文書
[ISO-7498-2] International Standard ISO 7498-2-1988(E), Security
Architecture.
[ISOIEC-8824] ISO/IEC 8824, "Specification of Abstract Syntax
Notation One (ASN.1)".
[ISOIEC-8825] ISO/IEC 8825, "Specification of Basic Encoding Rules
for Abstract Syntax Notation One (ASN.1)".)
[RFC-1507]: Kaufman, C., "DASS: Distributed Authentication Security
Service", RFC 1507, September 1993.
[RFC-1508]: Linn, J., "Generic Security Service Application Program
Interface", RFC 1508, September 1993.
[RFC-1509]: Wray, J., "Generic Security Service API: C-bindings",
RFC 1509, September 1993.
[RFC-1964]: Linn, J., "The Kerberos Version 5 GSS-API Mechanism",
RFC 1964, June 1996.
[RFC-2025]: Adams, C., "The Simple Public-Key GSS-API Mechanism
(SPKM)", RFC 2025, October 1996.
[RFC-2078]: Linn, J., "Generic Security Service Application Program
Interface, Version 2", RFC 2078, January 1997.
[RFC-2203]: Eisler, M., Chiu, A. and L. Ling, "RPCSEC_GSS Protocol
Specification", RFC 2203, September 1997.
[RFC-2744]: Wray, J., "Generic Security Service API Version 2 :
C-bindings", RFC 2744, January 2000.
APPENDIX A
付録A
MECHANISM DESIGN CONSTRAINTS
メカニズムデザイン制約
The following constraints on GSS-API mechanism designs are adopted in
response to observed caller protocol requirements, and adherence
thereto is anticipated in subsequent descriptions of GSS-API
mechanisms to be documented in standards-track Internet
specifications.
次のGSS−APIメカニズム設計上の制約は観察された呼出し者のプロト
コル要求条件に応えて採用されます、そしてそれに対する遵守が標準化イン
ターネット仕様で文書化されるGSS−APIメカニズムの次の記述で予期
されます。
It is strongly recommended that mechanisms offering per-message
protection services also offer at least one of the replay detection
and sequencing services, as mechanisms offering neither of the latter
will fail to satisfy recognized requirements of certain candidate
caller protocols.
メカニズムがメッセージ毎保護サービスを提供し、再生発見と順序付けサー
ビスの少なくとも1つを提供することが強く推薦されています、後者のいず
れも提供しないメカニズムはある特定の呼出し者のプロトコルの認識された
要求条件を満たし損ねるでしょう。
APPENDIX B
付録B
COMPATIBILITY WITH GSS-V1
GSS−V1との互換性
It is the intent of this document to define an interface and
procedures which preserve compatibility between GSS-V1 [RFC-1508]
callers and GSS-V2 providers. All calls defined in GSS-V1 are
preserved, and it has been a goal that GSS-V1 callers should be able
to operate atop GSS-V2 provider implementations. Certain detailed
changes, summarized in this section, have been made in order to
resolve omissions identified in GSS-V1.
GSS−V1[RFC-1508]呼出し者とGSS−V2供給者間でインタフェース
と互換性を維持する手順を定義するのがこの文書の意図です。GSS−V1
で定義された全ての呼出しは維持されています、そしてGSS−V1呼び出
し人がGSS−V2供給実装上で操作が可能な事が目的です。この章で要約
される、ある特定の詳細な変更はGSS−V1で識別された欠落を解決する
ためにされました。
The following GSS-V1 constructs, while supported within GSS-V2, are
deprecated:
次のGSS−V1概念はGSS−V2でサポートされますが、望ましありま
せん:
Names for per-message processing routines: GSS_Seal() deprecated
in favor of GSS_Wrap(); GSS_Sign() deprecated in favor of
GSS_GetMIC(); GSS_Unseal() deprecated in favor of GSS_Unwrap();
GSS_Verify() deprecated in favor of GSS_VerifyMIC().
メッセージ毎処理ルーチンの名前:GSS_Wrap()を推奨しGSS_Seal()は望ま
しくありません;GSS_GetMIC()を推奨しGSS_Sign()は望ましくありません;
GSS_Unwrap()を推奨しGSS_Unseal()は望ましくありません;
GSS_VerifyMIC()を推奨しGSS_Verify()は望ましくありません。
GSS_Delete_sec_context() facility for context_token usage,
allowing mechanisms to signal context deletion, is retained for
compatibility with GSS-V1. For current usage, it is recommended
that both peers to a context invoke GSS_Delete_sec_context()
independently, passing a null output_context_token buffer to
indicate that no context_token is required. Implementations of
GSS_Delete_sec_context() should delete relevant locally-stored
context information.
コンテキストトークンを使用するためのGSS_Delete_sec_context()機能は、
メカニズムがコンテキストを削除できるのを示し、GSS−V1との互換
性のために維持されます。現在の使用で、両方のコンテキストの当事者が
独立に、コンテキストトークンが必要ないことを示すために空のコンテキ
ストトークン出力バッファを渡して、GSS_Delete_sec_context()を呼出す
事が勧められます。GSS_Delete_sec_context()の実装が適切にローカルに
保管されたコンテキスト情報を削除するべきです。
This GSS-V2 specification adds the following calls which are not
present in GSS-V1:
このGSS−V2仕様はGSS−V1で存在していない次の呼出しを加えま
す:
Credential management calls: GSS_Add_cred(),
GSS_Inquire_cred_by_mech().
証明書管理呼出:GSS_Add_cred()、GSS_Inquire_cred_by_mech()
Context-level calls: GSS_Inquire_context(), GSS_Wrap_size_limit(),
GSS_Export_sec_context(), GSS_Import_sec_context().
コンテキストレベル呼出:GSS_Inquire_context()、
GSS_Wrap_size_limit()、GSS_Export_sec_context()、
GSS_Import_sec_context()。
Per-message calls: No new calls. Existing calls have been
renamed.
メッセージ毎呼出:新しい呼出しはなし。既存の呼出しは名称変更
Support calls: GSS_Create_empty_OID_set(),
GSS_Add_OID_set_member(), GSS_Test_OID_set_member(),
GSS_Inquire_names_for_mech(), GSS_Inquire_mechs_for_name(),
GSS_Canonicalize_name(), GSS_Export_name(), GSS_Duplicate_name().
サポート呼出:GSS_Create_empty_OID_set()、
GSS_Add_OID_set_member()、GSS_Test_OID_set_member()、
GSS_Inquire_names_for_mech()、GSS_Inquire_mechs_for_name()、
GSS_Canonicalize_name()、GSS_Export_name()、GSS_Duplicate_name().
This GSS-V2 specification introduces three new facilities applicable
to security contexts, indicated using the following context state
values which are not present in GSS-V1:
このGSS−V2仕様はセキュリティコンテキストに適用可能な3つの新し
い機能を導入し、以下のGSS−V1にないコンテキスト状態で示されます:
anon_state, set TRUE to indicate that a context's initiator is
anonymous from the viewpoint of the target; Section 1.2.5 of this
specification provides a summary description of the GSS-V2
anonymity support facility, support and use of which is optional.
匿名状態、真の場合、コンテキストの開始者が相手から見て匿名であるこ
とを示します。この仕様書の1.2.5章はGSS−V2の匿名サポート機
能の要約記述を供給します、サポートと使用は任意です。
prot_ready_state, set TRUE to indicate that a context may be used
for per-message protection before final completion of context
establishment; Section 1.2.7 of this specification provides a
summary description of the GSS-V2 facility enabling mechanisms to
selectively permit per-message protection during context
establishment, support and use of which is optional.
保護準備状態、真であればコンテキスト設立の完了前にメッセージ毎保護
が使われるかもしれないことを示します。この仕様書の1.2.7章はコン
テキスト設立の間に選択的にメッセージ毎保護を認めるメカニズムを可能
にするGSS−V2機能の要約記述を供給します、サポートと使用は任意
です。
trans_state, set TRUE to indicate that a context is transferable
to another process using the GSS-V2 GSS_Export_sec_context()
facility.
転送状態、真であればGSS−V2のGSS_Export_sec_context()機能を使
用して他のプロセスにコンテキストを転送可能なんことを示します。
These state values are represented (at the C bindings level) in
positions within a bit vector which are unused in GSS-V1, and may be
safely ignored by GSS-V1 callers.
これらの状態値はGSS−V1で使わないビットベクトルで表現されます
(Cの結合レベルで)、そしてGSS−V1呼出し者に無視されます。
New conf_req_flag and integ_req_flag inputs are defined for
GSS_Init_sec_context(), primarily to provide information to
negotiating mechanisms. This introduces a compatibility issue with
GSS-V1 callers, discussed in section 2.2.1 of this specification.
新しいconf_req_flagとinteg_req_flag入力がGSS_Init_sec_context()で定
義され、主にメカニズム交渉することの情報を供給します。これはこの仕様
書の2.2.1章で論じられたGSS−V1呼出し者との互換性問題を導入し
ます。
Relative to GSS-V1, GSS-V2 provides additional guidance to GSS-API
implementors in the following areas: implementation robustness,
credential management, behavior in multi-mechanism configurations,
naming support, and inclusion of optional sequencing services. The
token tagging facility as defined in GSS-V2, Section 3.1, is now
described directly in terms of octets to facilitate interoperable
implementation without general ASN.1 processing code; the
corresponding ASN.1 syntax, included for descriptive purposes, is
unchanged from that in GSS-V1. For use in conjunction with added
naming support facilities, a new Exported Name Object construct is
added. Additional name types are introduced in Section 4.
GSS−V1と比較して、GSS−V2が次のエリアでGSS−API実装
者に追加の指導を供給します:実装強靭性、証明書管理、多数メカニズム設
定での振舞い、命名サポート、オプションの順序付けサービス。GSS−V
2の3.1章で定義されるトークンのタグを付け機能は、一般的なASN.
1処理コードなしで協調使用可能な実装を容易にするためにオクテットで直
接記述されます;対応するASN.1構文は、記述的な目的のために含まれ、
GSS−V1から変化していません。追加の命名サポート機能の使用のため
に、新しい書出し名オブジェクトの概念が加えられます。追加の名前タイプ
が4章で導入されます。
This GSS-V2 specification adds the following major_status values
which are not defined in GSS-V1:
このGSS−V2仕様書はGSS−V1で定義されない次の主状態値を加え
ます:
GSS_S_BAD_QOP unsupported QOP value
未サポートQOP値
GSS_S_UNAUTHORIZED operation unauthorized
無許可オペレーション
GSS_S_UNAVAILABLE operation unavailable
利用できないオペレーション
GSS_S_DUPLICATE_ELEMENT duplicate credential element
requested
重複証明書要素の要求
GSS_S_NAME_NOT_MN name contains multi-mechanism
elements
名前が多メカニズムの要素を含む
GSS_S_GAP_TOKEN skipped predecessor token(s)
detected
古いトークン検出による省略
Of these added status codes, only two values are defined to be
returnable by calls existing in GSS-V1: GSS_S_BAD_QOP (returnable by
GSS_GetMIC() and GSS_Wrap()), and GSS_S_GAP_TOKEN (returnable by
GSS_VerifyMIC() and GSS_Unwrap()).
これらの加えられた状態コードで、2つの値だけがGSS−V1で存在した
呼出しで返るのが可能に定義されます:GSS_S_BAD_QOP(GSS_GetMIC()と
GSS_Wrap()で返せます)、GSS_S_GAP_TOKEN(GSS_VerifyMIC()とGSS_Unwrap()
で返せます)。
Additionally, GSS-V2 descriptions of certain calls present in GSS-V1
have been updated to allow return of additional major_status values
from the set as defined in GSS-V1: GSS_Inquire_cred() has
GSS_S_DEFECTIVE_CREDENTIAL and GSS_S_CREDENTIALS_EXPIRED defined as
returnable, GSS_Init_sec_context() has GSS_S_OLD_TOKEN,
GSS_S_DUPLICATE_TOKEN, and GSS_S_BAD_MECH defined as returnable, and
GSS_Accept_sec_context() has GSS_S_BAD_MECH defined as returnable.
さらに、GSS−V1でで存在しているある特定の呼出しGSS−V2での
記述が、GSS−V1で定義される主状態値を返せるように更新されました:
GSS_Inquire_cred()はGSS_S_DEFECTIVE_CREDENTIALと
GSS_S_CREDENTIALS_EXPIREDが返せると定義されます、
GSS_Init_sec_context()はGSS_S_OLD_TOKENとGSS_S_DUPLICATE_TOKENと
GSS_S_BAD_MECHが返せると定義されます、GSS_Accept_sec_context()は
GSS_S_BAD_MECHを返せると定義されます。
APPENDIX C
付録C
CHANGES RELATIVE TO RFC-2078
RFC−2078と比較しての変化
This document incorporates a number of changes relative to RFC-2078,
made primarily in response to implementation experience, for purposes
of alignment with the GSS-V2 C language bindings document, and to add
informative clarification. This section summarizes technical changes
incorporated.
この文書は、主に実装経験に応えて、GSS−V2C言語結合文書の整合と、
教育的明確化の目的で、RFC−2078と比較して多くの変更を含みます。
この章は技術的な変更を要約します。
General:
Clarified usage of object release routines, and incorporated
statement that some may be omitted within certain operating
environments.
Removed GSS_Release_OID, GSS_OID_to_str(), and GSS_Str_to_OID()
routines.
Clarified circumstances under which zero-length tokens may validly
exist as inputs and outputs to/from GSS-API calls.
Added GSS_S_BAD_MIC status code as alias for GSS_S_BAD_SIG.
For GSS_Display_status(), deferred to language bindings the choice
of whether to return multiple status values in parallel or via
iteration, and added commentary deprecating return of
GSS_S_CONTINUE_NEEDED.
Adapted and incorporated clarifying material on optional service
support, delegation, and interprocess context transfer from C
bindings document.
Added and updated references to related documents, and to current
status of cited Kerberos mechanism OID.
Added general statement about GSS-API calls having no side effects
visible at the GSS-API level.
Context-related (including per-message protection issues):
Clarified GSS_Delete_sec_context() usage for partially-established
contexts.
Added clarification on GSS_Export_sec_context() and
GSS_Import_sec_context() behavior and context usage following an
export-import sequence.
Added informatory conf_req_flag, integ_req_flag inputs to
GSS_Init_sec_context(). (Note: this facility introduces a
backward incompatibility with GSS-V1 callers, discussed in Section
2.2.1; this implication was recognized and accepted in working
group discussion.)
Stated that GSS_S_FAILURE is to be returned if
GSS_Init_sec_context() or GSS_Accept_sec_context() is passed the
handle of a context which is already fully established.
Re GSS_Inquire_sec_context(), stated that src_name and targ_name
are not returned until GSS_S_COMPLETE status is reached; removed
use of GSS_S_CONTEXT_EXPIRED status code (replacing with EXPIRED
lifetime return value); stated requirement to retain inquirable
data until context released by caller; added result value
indicating whether or not context is fully open.
Added discussion of interoperability conditions for mechanisms
permitting optional support of QOPs. Removed reference to
structured QOP elements in GSS_Verify_MIC().
Added discussion of use of GSS_S_DUPLICATE_TOKEN status to
indicate reflected per-message tokens.
Clarified use of informational sequencing codes from per-message
protection calls in conjunction with GSS_S_COMPLETE and
GSS_S_FAILURE major_status returns, adjusting status code
descriptions accordingly.
Added specific statements about impact of GSS_GetMIC() and
GSS_Wrap() failures on context state information, and generalized
existing statements about impact of processing failures on
received per-message tokens.
For GSS_Init_sec_context() and GSS_Accept_sec_context(), permitted
returned mech_type to be valid before GSS_S_COMPLETE, recognizing
that the value may change on successive continuation calls in the
negotiated mechanism case.
Deleted GSS_S_CONTEXT_EXPIRED status from
GSS_Import_sec_context().
Added conf_req_flag input to GSS_Wrap_size_limit().
Stated requirement for mechanisms' support of per-message
protection services to be usable concurrently in both directions
on a context.
Credential-related:
For GSS_Acquire_cred() and GSS_Add_cred(), aligned with C bindings
statement of likely non-support for INITIATE or BOTH credentials
if input name is neither empty nor a name resulting from applying
GSS_Inquire_cred() against the default credential. Further,
stated that an explicit name returned by GSS_Inquire_context()
should also be accepted. Added commentary about potentially
time-variant results of default resolution and attendant
implications. Aligned with C bindings re behavior when
GSS_C_NO_NAME provided for desired_name. In GSS_Acquire_cred(),
stated that NULL, rather than empty OID set, should be used for
desired_mechs in order to request default mechanism set.
Added GSS_S_CREDENTIALS_EXPIRED as returnable major_status for
GSS_Acquire_cred(), GSS_Add_cred(), also specifying GSS_S_NO_CRED
as appropriate return for temporary, user-fixable credential
unavailability. GSS_Acquire_cred() and GSS_Add_cred() are also to
return GSS_S_NO_CRED if an authorization failure is encountered
upon credential acquisition.
Removed GSS_S_CREDENTIALS_EXPIRED status return from per-message
protection, GSS_Context_time(), and GSS_Inquire_context() calls.
For GSS_Add_cred(), aligned with C bindings' description of
behavior when addition of elements to the default credential is
requested.
Upgraded recommended default credential resolution algorithm to
status of requirement for initiator credentials.
For GSS_Release_cred(), GSS_Inquire_cred(), and
GSS_Inquire_cred_by_mech(), clarified behavior for input
GSS_C_NO_CREDENTIAL.
Name-related:
Aligned GSS_Inquire_mechs_for_name() description with C bindings.
Removed GSS_S_BAD_NAMETYPE status return from
GSS_Duplicate_name(), GSS_Display_name(); constrained its
applicability for GSS_Compare_name().
Aligned with C bindings statement re GSS_Import_name() behavior
with GSS_C_NO_OID input name type, and stated that GSS-V2
mechanism specifications are to define processing procedures
applicable to their mechanisms. Also clarified GSS_C_NO_OID usage
with GSS_Display_name().
Downgraded reference to name canonicalization via DNS lookup to an
example.
For GSS_Canonicalize_name(), stated that neither negotiated
mechanisms nor the default mechanism are supported input
mech_types for this operation, and specified GSS_S_BAD_MECH status
to be returned in this case. Clarified that the
GSS_Canonicalize_name() operation is non-destructive to its input
name.
Clarified semantics of GSS_C_NT_USER_NAME name type.
Added descriptions of additional name types. Also added
discussion of GSS_C_NO_NAME and its constrained usage with
specific GSS calls.
Adapted and incorporated C bindings discussion about name
comparisons with exported name objects.
Added recommendation to mechanism designers for support of host-
based service name type, deferring any requirement statement to
individual mechanism specifications. Added discussion of host-
based service's service name element and proposed approach for
IANA registration policy therefor.
Clarified byte ordering within exported name object. Stated that
GSS_S_BAD_MECH is to be returned if, in the course of attempted
import of an exported name object, the name object's enclosed
mechanism type is unrecognized or unsupported.
Stated that mechanisms may optionally accept GSS_C_NO_NAME as an
input target name to GSS_Init_sec_context(), with comment that
such support is unlikely within mechanisms predating GSS-V2,
Update 1.
AUTHOR'S ADDRESS
著者のアドレス
John Linn
RSA Laboratories
20 Crosby Drive
Bedford, MA 01730 USA
Phone: +1 781.687.7817
EMail: jlinn@rsasecurity.com
Full Copyright Statement
著作権表示全文
Copyright (C) The Internet Society (2000). All Rights Reserved.
著作権(C)インターネット学会(2000)。すべての権利は保留される。
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.
この文書とここに含む情報は無保証で供給され、そしてインターネット学会
とインターネット技術標準化タスクフォースは、特別にも暗黙にも、この情
報の利用が権利を侵害しないことや商業利用や特別の目的への利用に適当で
ある事の保障を含め、すべての保証を拒否します。
Acknowledgement
謝辞
Funding for the RFC Editor function is currently provided by the
Internet Society.
RFCエディタ機能のための資金供給が現在インターネット学会によって
供給されます。