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
        

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.

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

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-APIサービスとプリミティブを定義し、他の、関連の仕様によって補完されます。

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 . . . . . . . . . . . .  4
   1.1: GSS-API Constructs . . . . . . . . . . . . . . . . . . . .  6
   1.1.1:  Credentials . . . . . . . . . . . . . . . . . . . . . .  6
   1.1.1.1: Credential Constructs and Concepts . . . . . . . . . .  6
   1.1.1.2: Credential Management  . . . . . . . . . . . . . . . .  7
   1.1.1.3: Default Credential Resolution  . . . . . . . . . . . .  8
   1.1.2: Tokens . . . . . . . . . . . . . . . . . . . . . . . . .  9
   1.1.3:  Security Contexts . . . . . . . . . . . . . . . . . . . 11
   1.1.4:  Mechanism Types . . . . . . . . . . . . . . . . . . . . 12
   1.1.5:  Naming  . . . . . . . . . . . . . . . . . . . . . . . . 13
   1.1.6:  Channel Bindings  . . . . . . . . . . . . . . . . . . . 16
   1.2:  GSS-API Features and Issues . . . . . . . . . . . . . . . 17
   1.2.1:  Status Reporting  and Optional Service Support  . . . . 17
   1.2.1.1: Status Reporting . . . . . . . . . . . . . . . . . . . 17
   1.2.1.2: Optional Service Support . . . . . . . . . . . . . . . 19
   1.2.2: Per-Message Security Service Availability  . . . . . . . 20
   1.2.3: Per-Message Replay Detection and Sequencing  . . . . . . 21
   1.2.4:  Quality of Protection . . . . . . . . . . . . . . . . . 24
   1.2.5: Anonymity Support  . . . . . . . . . . . . . . . . . . . 25
   1.2.6: Initialization . . . . . . . . . . . . . . . . . . . . . 25
   1.2.7: Per-Message Protection During Context Establishment  . . 26
   1.2.8: Implementation Robustness  . . . . . . . . . . . . . . . 27
   1.2.9: Delegation . . . . . . . . . . . . . . . . . . . . . . . 28
   1.2.10: Interprocess Context Transfer . . . . . . . . . . . . . 28
   2:  Interface Descriptions  . . . . . . . . . . . . . . . . . . 29
   2.1:  Credential management calls . . . . . . . . . . . . . . . 31
   2.1.1:  GSS_Acquire_cred call . . . . . . . . . . . . . . . . . 31
   2.1.2:  GSS_Release_cred call . . . . . . . . . . . . . . . . . 34
   2.1.3:  GSS_Inquire_cred call . . . . . . . . . . . . . . . . . 35
   2.1.4:  GSS_Add_cred call . . . . . . . . . . . . . . . . . . . 37
   2.1.5:  GSS_Inquire_cred_by_mech call . . . . . . . . . . . . . 40
   2.2:  Context-level calls . . . . . . . . . . . . . . . . . . . 41
   2.2.1:  GSS_Init_sec_context call . . . . . . . . . . . . . . . 42
   2.2.2:  GSS_Accept_sec_context call . . . . . . . . . . . . . . 49
   2.2.3:  GSS_Delete_sec_context call . . . . . . . . . . . . . . 53
   2.2.4:  GSS_Process_context_token call  . . . . . . . . . . . . 54
   2.2.5:  GSS_Context_time call . . . . . . . . . . . . . . . . . 55
   2.2.6:  GSS_Inquire_context call  . . . . . . . . . . . . . . . 56
   2.2.7:  GSS_Wrap_size_limit call  . . . . . . . . . . . . . . . 57
   2.2.8:  GSS_Export_sec_context call . . . . . . . . . . . . . . 59
   2.2.9:  GSS_Import_sec_context call . . . . . . . . . . . . . . 61
   2.3:  Per-message calls . . . . . . . . . . . . . . . . . . . . 62
   2.3.1:  GSS_GetMIC call . . . . . . . . . . . . . . . . . . . . 63
   2.3.2:  GSS_VerifyMIC call  . . . . . . . . . . . . . . . . . . 64
   2.3.3:  GSS_Wrap call . . . . . . . . . . . . . . . . . . . . . 65
   2.3.4:  GSS_Unwrap call . . . . . . . . . . . . . . . . . . . . 66
        
   2.4:  Support calls . . . . . . . . . . . . . . . . . . . . . . 68
   2.4.1:  GSS_Display_status call . . . . . . . . . . . . . . . . 68
   2.4.2:  GSS_Indicate_mechs call . . . . . . . . . . . . . . . . 69
   2.4.3:  GSS_Compare_name call . . . . . . . . . . . . . . . . . 70
   2.4.4:  GSS_Display_name call . . . . . . . . . . . . . . . . . 71
   2.4.5:  GSS_Import_name call  . . . . . . . . . . . . . . . . . 72
   2.4.6:  GSS_Release_name call . . . . . . . . . . . . . . . . . 73
   2.4.7:  GSS_Release_buffer call . . . . . . . . . . . . . . . . 74
   2.4.8:  GSS_Release_OID_set call  . . . . . . . . . . . . . . . 74
   2.4.9:  GSS_Create_empty_OID_set call . . . . . . . . . . . . . 75
   2.4.10: GSS_Add_OID_set_member call . . . . . . . . . . . . . . 76
   2.4.11: GSS_Test_OID_set_member call  . . . . . . . . . . . . . 76
   2.4.12: GSS_Inquire_names_for_mech call . . . . . . . . . . . . 77
   2.4.13: GSS_Inquire_mechs_for_name call . . . . . . . . . . . . 77
   2.4.14: GSS_Canonicalize_name call  . . . . . . . . . . . . . . 78
   2.4.15: GSS_Export_name call  . . . . . . . . . . . . . . . . . 79
   2.4.16: GSS_Duplicate_name call . . . . . . . . . . . . . . . . 80
   3: Data Structure Definitions for GSS-V2 Usage  . . . . . . . . 81
   3.1: Mechanism-Independent Token Format . . . . . . . . . . . . 81
   3.2: Mechanism-Independent Exported Name Object Format  . . . . 84
   4: Name Type Definitions  . . . . . . . . . . . . . . . . . . . 85
   4.1: Host-Based Service Name Form . . . . . . . . . . . . . . . 85
   4.2: User Name Form . . . . . . . . . . . . . . . . . . . . . . 86
   4.3: Machine UID Form . . . . . . . . . . . . . . . . . . . . . 87
   4.4: String UID Form  . . . . . . . . . . . . . . . . . . . . . 87
   4.5: Anonymous Nametype . . . . . . . . . . . . . . . . . . . . 87
   4.6: GSS_C_NO_OID . . . . . . . . . . . . . . . . . . . . . . . 88
   4.7: Exported Name Object . . . . . . . . . . . . . . . . . . . 88
   4.8: GSS_C_NO_NAME  . . . . . . . . . . . . . . . . . . . . . . 88
   5:  Mechanism-Specific Example Scenarios  . . . . . . . . . . . 88
   5.1: Kerberos V5, single-TGT  . . . . . . . . . . . . . . . . . 89
   5.2: Kerberos V5, double-TGT  . . . . . . . . . . . . . . . . . 89
   5.3:  X.509 Authentication Framework  . . . . . . . . . . . . . 90
   6:  Security Considerations . . . . . . . . . . . . . . . . . . 91
   7:  Related Activities  . . . . . . . . . . . . . . . . . . . . 92
   8:  Referenced Documents  . . . . . . . . . . . . . . . . . . . 93
   Appendix A: Mechanism Design Constraints  . . . . . . . . . . . 94
   Appendix B: Compatibility with GSS-V1 . . . . . . . . . . . . . 94
   Appendix C: Changes Relative to RFC-2078  . . . . . . . . . . . 96
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . .100
   Full Copyright Statement  . . . . . . . . . . . . . . . . . . .101
        

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の使用に関わるデータフローを示す例を提供します。例では、資格の取得が既に完了していることを前提としています。実施例はまた、基礎となる認証技術は、単一のトークン内に担持要素を使用してサーバにクライアントを認証する、および単一返されたトークンを使用してクライアント(相互認証)にサーバを認証することが可能であると仮定します。この仮定は、いくつかの現在、文書化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.

サーバ)場合gss_accept_sec_context(入力トークンへのパラメータとして受信したトークンを渡します。場合gss_accept_sec_contextは、GSS_S_COMPLETE状態を示しsrc_name結果で、クライアントの認証されたIDを提供し、クライアントに渡されるの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()への後続の呼び出しに入力トークンパラメータとして受信したトークンを渡します。もし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()メッセージにデータ発信元認証、データの整合性、および(オプション)機密処理を行い、GSS_S_COMPLETE状態を示す、output_messageに結果をカプセル化します。クライアントはサーバーに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_S_COMPLETEステータスを返しGSS_Process_context_token()にcontext_tokenを渡します。

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])と公開鍵アプローチと(例えば、SPKM、につき[RFC-2025])。

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は、それがプロトコル環境の幅広い範囲での使用を許可する、採用している通信プロトコルスイートとは無関係です。適切な環境では、特定の通信プロトコルに配向された中間実装「ベニア」は、オープンネットワークコンピューティングリモートプロシージャコールのために[RFC-2203]で定義されるように、例えば、(そのプロトコルとGSS-APIを呼び出すアプリケーションとの間に介在されてもよいです(RPC))、それによってそのプロトコルの通信呼び出しに関連して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のセキュリティコンテキスト構築物は、通信プロトコルの関連付け構造とは無関係です。この特性は、単一の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-APIが実装されるシステム上に定義された周囲の任意のトラステッド・コンピューティング・ベース(TCB)内に存在するように制約されません。セキュリティサービスは、イントラTCB、余分な-TCBの発信者の両方に適した方法で指定されています。

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.

単一の信任状構造は、アウトバウンドコンテキストを開始するために、着信コンテキストを受け入れるために使用されてもよいです。唯一これらのモードで動作する必要が発信者は、基礎となるメカニズムは、それらの処理およびストレージ要件を最適化できるように、資格情報を使用するために取得され、この事実を指定することができます。特定の機構によって定義された信任状要素は、異なるアルゴリズムを用いて実行される認証およびメッセージの暗号化を可能にするために、例えば、複数の暗号鍵を含んでいてもよいです。

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信任状構造は、複数の資格の要素、特定の基礎となる機構(メカニズム種別)する機構固有の情報を含む各を含んでいてもよいが、与えられた信用証明書構造内の要素の組は、共通のエンティティを表します。信用証明書構造体の内容は、特定のGSS-API実装でサポートされているメカニズムタイプのセットによって異なります。各資格要素は、特定のプリンシパルの代わりにコンテキストを確立するために、その機構が必要とするデータを識別し、コンテキスト開始し、コンテキスト受け入れに使用するための別の資格証明の参照を含んでいてもよいです。機構、使用モード、及び有効期間の重複組み合わせを有する所定の資格内の複数の資格要素が許可されません。

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は、特定のターゲットに特定のイニシエータによって確立されたすべてのセキュリティコンテキストで使用されます。複数のメカニズムタイプを表す信用証明書のセットをサポートするための主要な動機は、イニシエータのシステムでサポートされているセットのサブセットのみを収容することができる他のシステム上のターゲットにコンテキストを開始するために複数のタイプを処理するために装備されているシステム上のイニシエータを可能にすることです。

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.

与えられたIDに関連付けられた資格情報を取得し、使用する能力は、システム内の適切なプロセスに拘束されることを保証するために、基礎となるシステム固有のメカニズムと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-APIによって定義されていません。例ローカルポリシーは、任意の資格情報が与えられたユーザアカウントにログインした結果として受け取ったもので、またはそのアカウントへの権限の委譲のものであろう、でアクセス、またはそれに譲渡され、そのアカウントの下で実行中のプロセス。

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:

もし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 (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

(I)そうでない場合は、唯一のアプリケーションは、その元本を使用しなければならないの代理として行動する権限を与えられていること、セキュリティコンテキストを開始することができる単一の主要がある場合(ⅱ)プラットフォームは、デフォルトのネットワーク・アイデンティティの概念を維持した場合、アプリケーションがセキュリティコンテキストを開始するために、そのアイデンティティを代表して行動することを許可されている場合や、そのアイデンティティに対応する主体は、そうでない場合は、使用しなければなりません

(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

(ⅲ)プラットフォームは、デフォルトのローカルアイデンティティーの概念を維持し、ネットワーク・アイデンティティにローカルアイデンティティをマッピングするための手段を提供し、アプリケーションは、デフォルトのローカルアイデンティティーのネットワーク・アイデンティティのイメージを代表して行動することを許可されている場合場合セキュリティコンテキストを開始する目的は、そのアイデンティティに対応する主体は、そうでない場合は、使用しなければなりません

(iv) A user-configurable default identity should be used.

(IV)ユーザーが設定可能なデフォルトのアイデンティティを使用する必要があります。

GSS_Accept_sec_context:

場合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.

もしGSS_Init_sec_contextから得られた第一のコンテキストレベルトークンは()のセキュリティメカニズムのその当初グローバルに解釈機構の識別子、すなわち、オブジェクト識別子(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-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-API機構を使用して、GSS-APIの呼び出し側がピアとの相互運用することができるであろうことを意味しません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の実装は、文脈が満了した後も、コンテキストが呼び出し側によって解放されるまで、文脈上inquirableコンテキストデータを保持することが期待されます。

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.

正常対象ピアとのセキュリティコンテキストを確立するためには、イニシエータとターゲットの両方のピアがサポートする適切な基礎となるメカニズムのタイプ(メカニズム種別)を識別することが必要です。メカニズムの定義だけでなく、特定の暗号化技術(または代替暗号技術の中でハイブリッドまたは選択)の使用を具現化するだけでなく、そのメカニズムは、セキュリティサービスをサポートするために採用する構文とデータエレメント交換の意味の定義。

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の実装によって呼び出される内が、必要なときに発信者が特定のメカニズム種別を採用することを指示することができることをお勧めします。

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の目的のため、語句「交渉機構」は、それ自体がピア間で共有され、その後、コンテキスト確立のために使用される具体的な機構を選択するためにネゴシエーションを行う機構を指します。交渉メカニズムとしての仕様で定義されているだけのメカニズムが「デフォルト」のメカニズム種別を要求発信者の場合を除いて、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):

ピアとセキュリティコンテキストを確立するために共有メカニズム種別を識別するための手段は、異なる環境や状況に変化するであろう。例としては、(限定されるものではないが)。

use of a fixed mech_type, defined by configuration, within an environment

環境内の構成によって規定される固定メカニズム種別の使用、

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

そのターゲットでサポートされているメカニズムタイプを識別するために、ネーミングサービスまたは他のデータベース内のターゲット名の対象者の名前検索の審査を経て、標的特異的に構文規則、

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ピア間で転送される場合、(オブジェクト識別子(OID)として表され、このドキュメントのセクション3当たり)メカニズム種別指定子は、関連するトークンの解釈を限定するのに役立ちます。 (オブジェクト識別子の構造及び符号化は[ISOIEC-8824]で定義され、[ISOIEC-8825]。)階層的に構造化されたOIDの使用は、メカニズム種別指定子の曖昧な解釈を排除するのに役立ちます。ダス([RFC-1507])MechTypeを表すOIDは、例えば、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の実装は、特定の名前の解釈を明確にするために内部タグを維持しなければなりません。機構名(MN)は、唯一の機構に対応した要素を含むことが保証、内部名の特別な場合です。入力としての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タグを伴います。タグ値に応じて、フラットな名前がまたはユーザーに直接からの受け入れやプレゼンテーションのための印刷可能な文字列であってもなくてもよいです。フラット名のタグは、一種の名前などを誤解から生じ得るエイリアシングの問題を回避する、GSS-APIの呼び出し側と名前タイプを明確にし、関連する名前の型は、それらが処理することが可能であるか否かを決定するために、基礎となるGSS-APIメカニズムを可能にします別のタイプの名前。

- 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_Import_nameを自身が内部構文と名前の比較(GSS_Compare_name())、人間が読み取り可能なディスプレイ(GSS_Display_name())、入力変換の名前、GSS-APIの呼び出しの意味を解釈する必要はありません発信者の要件を指向の基本的なサービスを提供するために、 ())、内部名の解放(GSS_Release_name())、および内部名の重複(GSS_Duplicate_name())関数が定義されています。 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()の実装は、適切な場合、それらの発信者のために柔軟性が代替表現の中から選択することができ、指定された名前空間(X.500識別名のための例えば、別の印刷可能な表現)に対応する複数の印刷可能な構文をサポートすることができます。 GSS_Display_name()の実装出力それらの動作環境に応じて適宜選択印刷可能な構文。この選択は、ローカルの問題です。別の印刷可能な構文を横切って移植を希望する発信者は、印刷可能な名前形式に基づいて比較を実施控えるべきであり、代わりに、一つの内部フォーマット名は互いに一致するか否かを決定するために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-APIは、(例えば、)(memcmpと)を直接比較することができる連続した文字列の名前の特別な形式を定義します。比較のために好適な連続名が入力としてMNが必要GSS_Export_name()ルーチンによって生成されます。エクスポートされた名前は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
                               |
                               |
                               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
                         ---------------------->  for access control
                            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-APIメカニズムために、コンテキストのターゲットによって場合gss_accept_sec_context()に提供されなければなりませんその受信したトークンが正しいチャネルに関連する特性を有する検証。使用するか、GSS-APIのチャネル結合機能の不使用は、発信者のオプションです。 GSS-APIメカニズムは、NULLのチャネルバインディングが提示されている環境で動作することができます。メカニズムの実装は、そのメカニズム内のデータを結合、呼び出し側から提供されるチャネルを利用するために、奨励、必須ではありません。発信者は、基礎となるメカニズムは、チャネルバインディング情報のための機密保護を提供することを仮定するべきではありません。

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.

非NULLチャネルバインディングが発信者によって提供される場合、特定のメカニズムは、(トークン内ではなく、単にそれらのバインディング、またはそれらに計算整合性チェック値を表す)バインディングのコンテンツを解釈することによって強化されたセキュリティ値を提供することができ、したがって、の提示に依存するであろう定義された形式で特定のデータ。このため、機構の実装の間での合意は、コンテキストイニシエータとアクセプターのための(通信プロトコル環境に依存するコンテンツを有する)アドレス指定子を含むチャネル結合引数の内容のための従来の解釈を定義します。 (これらの規則は、GSS-API機構の仕様およびGSS-APIのC言語バインディング仕様に組み込まれている。)GSS-APIの呼び出し側は、複数のメカニズムを横切って携帯可能と各機構を提供することができる完全なセキュリティ機能を実現するためには、それ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つのステータスの戻り値を提供します。 Major_status値は、一般的な方法で、発信者内の通常の制御フローを駆動するのに十分な通話状態の機構に依存しない表示(例えば、GSS_S_COMPLETE、GSS_S_FAILURE、GSS_S_CONTINUE_NEEDED)を、提供します。表1は、表形式で定義されたmajor_statusリターンコードをまとめたもの。

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.

シーケンシング関連informatory major_statusコード(GSS_S_DUPLICATE_TOKEN、GSS_S_OLD_TOKEN、GSS_S_UNSEQ_TOKEN、及びGSS_S_GAP_TOKEN)はGSS-APIメッセージごとの呼び出しのため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_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_S_NO_CONTEXT no valid security context specified GSS_S_NO_CRED no valid credentials provided GSS_S_BAD_QOP unsupported QOP value 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_BAD_MECHサポートされていないメカニズムを結合GSS_S_BAD_BINDINGSチャネルはGSS_S_BAD_STATUS無効な入力状態セレクタGSS_S_BAD_SIGトークンを提供し、サポートされていないタイプのGSS_S_BAD_NAME無効な名前提供GSS_S_BAD_NAMETYPE名が無効な整合性を持っていた要求GSS_S_BAD_SIG GSS_S_CONTEXT_EXPIREDためGSS_S_BAD_MIC優先別名をチェックGSS_S_CREDENTIALS_EXPIREDは、資格情報を期限切れ期限切れのセキュリティコンテキストを指定GSS_S_DEFECTIVE_TOKEN、不良トークンを検出GSS_S_DEFECTIVE_CREDENTIAL欠陥資格を検出有効なセキュリティコンテキストが何GSS_S_BAD_QOPサポートされていないQOP値GSS_S_UNAUTHORIZED操作不正GSS_S_UNAVAILABLE操作使用できないGSS_S_DUPLICATE_ELEMENT提供、有効な資格情報がGSS_S_NAME_NOT_MN名がマルチメカニズムの要素が含まれている資格要素が要求された複製GSS_S_NO_CREDを指定しないGSS_S_NO_CONTEXT GSS-APIレベルに指定されていないGSS_S_FAILURE失敗を、検出されました

INFORMATORY STATUS CODES

INFORMATORYステータスコード

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

ルーチンへGSS_S_COMPLETE正常完了GSS_S_CONTINUE_NEEDED継続呼び出しがGSS_S_DUPLICATE_TOKENは、メッセージごとのトークンを複製する必要GSS_S_OLD_TOKENタイムアウトにメッセージごとのトークンを検出GSS_S_UNSEQ_TOKENが並べ替え検出(初期)ごとのメッセージトークンGSS_S_GAP_TOKENが先行トークン(複数の)検出をスキップ検出

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.

Minor_statusは、基礎となるセキュリティ機構に特定のステータスコードを含むことができる、より詳細なステータス情報を提供します。 Minor_status値は、この文書で指定されていません。

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 major_status戻り、オプションのメッセージ出力、(もし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.

セキュリティコンテキストを確立するために、サードパーティ製サーバとの相互作用を必要とするメカニズムタイプの場合、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_GetMIC()とにGSS_Wrap()メッセージが複製されているかどうかを検出するGSS_VerifyMIC()とはgss_unwrap()を有効にするメッセージの番号情報を含むべきです。

- 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_GetMIC()とにGSS_Wrap()は、メッセージが順序が狂って受信されたかどうかを検出するGSS_VerifyMIC()とはgss_unwrap()を有効にするために、メッセージシーケンス情報を含むべきです。

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

いくつかのメカニズムは、いくつかのサービスのサポートは任意であり、機構の実装者はそれを提供する必要はないということを指定してもよいです。これは、しばしば、データの暗号化の使用に関する法的規制のため、機密性サービスの最も一般的に真であるが、サービスのいずれにも適用することができます。このようなメカニズムは、開始GSS-APIは、サービスがアクセプターのGSS-APIによってサポートされているかどうかを正確に示すことができるように、イニシエータが、そのようなサービスを利用したいと示している場合、コンテキスト確立時イニシエータするアクセプターから少なくとも1つのトークンを送信するために必要とされています。

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フラグはメッセージごとの機密性サービスが利用可能かどうかを示す、とinteg_availフラグもTRUEが返されない限り、TRUEが返されることはありませんを示しています

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ため返さFALSE値は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がTRUEである場合には、以下のように、よく形成され、正しく署名されたメッセージのための可能なmajor_statusリターンは、以下のとおりです。

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_COMPLETEは、GSS_S_DUPLICATE_TOKEN又はGSS_S_OLD_TOKENの同時表示することなく、メッセージをリプレイイベントを検出することを可能にする(時刻または配列空間の)ウィンドウ内であったことを示し、メッセージが以前に処理されたメッセージの再生は、その内なかったこと窓。

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は、受信したメッセージに暗号checkvalueが正しかったことを示しているが、メッセージが以前に処理されたメッセージの重複として認識されたこと。コンテキストのピアから発信重複トークンを識別することに加えて、この状態はまた、ローカルに生成されたトークンの反射コピーを識別するために使用されてもよいです。機構設計者は、このようなトークンを検出して報告してそのプロトコルの施設内含めることをお勧めします。

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は、受信したメッセージの暗号checkvalueが正しかったことを示しているが、メッセージは重複をチェックすることが古すぎるということ。

When sequence_state is TRUE, the possible major_status returns for well-formed and correctly signed messages are as follows:

sequence_stateがTRUEである場合には、以下のように、よく形成され、正しく署名されたメッセージのための可能なmajor_statusリターンは、以下のとおりです。

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_COMPLETEは、GSS_S_DUPLICATE_TOKEN、GSS_S_OLD_TOKEN、GSS_S_UNSEQ_TOKEN、又はGSS_S_GAP_TOKENの同時表示することなく、メッセージがメッセージはpreviously-の再生なかったこと、リプレイイベントを検出することを可能にする(時刻または配列空間の)ウィンドウ内であったことを示しそのウィンドウ内のメッセージを処理し、そしていかなる先行配列決定しないことのメッセージが正しい暗号checkvalueと文脈に処理された最後の受信されたメッセージ(もしあれば)に対して不足しています。

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は、受信したメッセージに暗号checkvalueが正しかったことを示しているが、それは既にコンテキストに処理されたメッセージよりも配列決定されたストリームに早いこと。 [注意:メカニズムは、シーケンシングサービスの厳格な形を提供するように設計することができ、注文したストリーム内のすべての前任者のメッセージが配信された後にのみ受信者に特定のメッセージを配信。サポートのこのタイプは、検証のためにGSS-APIルーチンに受信者がすべてのメッセージを受信したGSS-APIパラダイム、順番にであろうとなかろうと互換性がない、と(内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は、受信したメッセージに暗号checkvalueが正しかったことを示しているが、その一つ以上の前身は、メッセージが正常に正しい暗号checkvalueと文脈に処理された最後の受信されたメッセージ(もしあれば)に関連して処理されていない配列決定しました。

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

(replay_det_stateがTRUEである場合)次のように機能を実装することができ、メッセージごとのリプレイ検出をサポートする例示的メカニズム種別:根底にある機構はGSS_GetMIC()とにGSS_Wrap()によってデータ要素出力にタイムスタンプを挿入すると、時間制限内(維持しますウィンドウ)キャッシュ(発信者と受信者のペアで修飾)GSS_VerifyMIC(によって処理された受信データ要素を識別する)とはgss_unwrap()。この機能がアクティブである場合に、例外状態に戻り(GSS_S_DUPLICATE_TOKEN、GSS_S_OLD_TOKEN)のときに提供されます

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.

GSS_VerifyMIC()やはgss_unwrap()が検出された前のメッセージの重複または最近受信したメッセージのキャッシュに対して検証するには古すぎるのいずれかであるメッセージが提示されます。

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値のうちの定義、及び選択機構固有であり、QOP値のない規則正しい配列は、異なるメカニズムを横切る相当すると仮定することはできません。デフォルト以外のQOP値の意味の使用は、発信者が、基礎となる機構または機構のQOP定義に精通していることを要求し、したがって非ポータブル構築物です。 GSS_S_BAD_QOP major_status値は、その値は根本的なメカニズムによって認識されないため、提供QOP値は、最も可能性の高いセキュリティコンテキストのためにサポートされていないことを示すために定義されています。

In the interests of interoperability, mechanisms which allow optional support of particular QOP values shall satisfy one of the following conditions. Either:

相互運用性の利益のために、特定のQOP値の任意の支持を可能にするメカニズムは、次のいずれかの条件を満足しなければなりません。次のいずれか

(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値を使用して保護されたメッセージを処理できることが要求される、または

(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)は、実装が領収書上のすべての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 == FALSE、mutual_state == FALSE:ターゲットに認証されたイニシエータ。

anon_state == FALSE, mutual_state == TRUE: initiator authenticated to target, target authenticated to initiator.

FALSE、mutual_state == TRUE anon_stateは==:イニシエータがターゲットに認証され、ターゲットは、イニシエータする認証されました。

anon_state == TRUE, mutual_state == FALSE: initiator authenticated as anonymous principal to target.

anon_state == TRUE、mutual_state == FALSE:対象とする匿名プリンシパルとして認証イニシエータ。

anon_state == TRUE, mutual_state == TRUE: initiator authenticated as anonymous principal to target, target authenticated to initiator.

anon_state == TRUE、mutual_state == TRUE:イニシエータに認証されたターゲットに匿名主体として認証されたイニシエータ、ターゲット。

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_S_CONTINUE_NEEDED状態にある間に、後で転送するためのデータ・メッセージの保護およびバッファリングを可能にするために、GSS-V2で定義されています。具体的には、の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.

関連するmajor_statusがGSS_S_CONTINUE_NEEDED、またはGSS_S_COMPLETEのいずれかであるとき、コンテキスト確立コールの場合、この状態ブールは有効と解釈されます。 、TRUEのprot_ready_state ==:GSS-APIの呼び出し側は(イニシエータとアクセプターの両方)の使用のいずれかの場合に利用可能と準備ができている(にGSS_Wrap()、はgss_unwrap()、GSS_GetMIC()とGSS_VerifyMIC()を経由して)そのメッセージごとの保護を前提とすることができますGSS_S_COMPLETEが返されるまで、またはmajor_status == GSS_S_COMPLETE、しかし相互認証は、(要求された場合)保証はできません。後続の呼び出しのために返されるGSS_S_COMPLETE状態の予めメッセージごとの保護サービスを利用して発信者後続コンテキスト確立手順が失敗する可能性に注意する必要があり、その特定のコンテキストデータ(例えば、メカニズム種別)が変化してもよいです。

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.

このアプローチは、さえのprot_ready_stateの存在を知っている必要はなく、誰がGSS_S_COMPLETEから期待される動作を取得しますが、誰がGSS_S_COMPLETE前に、メッセージごとの保護を使用することができませんGSS-APIのV1の発信者のための完全な、透明の下位互換性を実現します返されます。

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メカニズムはこれまで、コンテキストの確立が完了する前にTRUEのprot_ready_stateを返すことは必須ではありません。 (ただしGSS-V2アプリケーションはそのTRUEのprot_ready_stateは常にGSS_S_COMPLETE major_statusと一緒に返されると仮定してはならない、彼らはすべてのメッセージごとの保護をサポートしている場合GSS-V2メカニズムがコンテキストの確立が完了するとTRUEのprot_ready_stateを返すことが期待が、必須ではありません、GSS-V2実装)がTRUEのprot_ready_stateを返すことはないであろう、GSS-V1機構コードをサポートし続けることができるからです。

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がTRUE戻されると、メカニズムはまた、施設を表すものコンテキストサービスインジケータフラグ(deleg_state、mutual_state、replay_det_state、sequence_state、anon_state、trans_state、conf_avail、integ_avail)を設定しなければならない確立されるコンテキストに利用できるように、その時点で、確認しました。 prot_ready_stateがGSS_S_COMPLETE前に返された状況では、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の実装における特定の局所条件(例えば、メモリの利用不可)は、典型的には局所的に有意minor_statusと共にGSS_S_FAILURE major_statusリターンを生成する、一時的または恒久的に、GSS-APIのセキュリティコンテキストでトークンの成功した処理を排除することができます。このような条件下で安定して動作させるには、以下の提言が行われます。

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()は、コンテキスト有効に干渉しない、またそのような障害は、サポートを使用して)、続いGSS_GetMIC()またはにGSS_Wrapを(起動するアプリケーションの能力に影響を与えなければなりませんQOP。送信メッセージの順序付けに関するすべての状態情報が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のセキュリティコンテキストを開始するために使用することができますイニシエータのエージェントまたは代理人。元のイニシエータのIDが「A」であり、代理人のIDが「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-APIの範囲外で、現在です。追加のコントロールを提供するメカニズムをサポートする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_Export_sec_contextを())を提供します成功したコンテキストをインポートします。この呼び出しが正常に完了した後、元のセキュリティコンテキストは、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.

プロセス間トークンは、(暗号鍵を含む)を元のセキュリティコンテキストから機密データを含むことができます。セキュリティコンテキストを転送するプロセス間トークンを使用するアプリケーションは、輸送中にこれらのトークンを保護するための適切な措置を講じなければなりません。実装は、セキュリティコンテキストのプロセス間転送をサポートする必要はありません。コンテキストがTRUE trans_state戻り値を示す)もしGSS_Init_sec_context()または場合gss_accept_sec_context(により、作成されたときにセキュリティコンテキストを転送する能力が示されています。

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_Inquire_cred後に資格情報を解放GSS_Release_cred使用する資格情報を取得は、gss_acquire_cred

GSS_Add_cred construct credentials incrementally GSS_Inquire_cred_by_mech display per-mechanism credential information

インクリメンタルGSS_Inquire_cred_by_mechディスプレイごとのメカニズムの資格情報の資格情報を構築GSS_Add_cred

CONTEXT-LEVEL CALLS

CONTEXTレベルの呼び出し

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_Export_sec_context transfer context to other process GSS_Import_sec_context import transferred context

もしGSS_Init_sec_contextアウトバウンドセキュリティコンテキスト場合gss_accept_sec_contextを開始もはや必要GSS_Process_context_tokenプロセスコンテキストGSS_Context_timeにコントロールトークンを受信しない場合インバウンドのセキュリティコンテキストGSS_Delete_sec_contextフラッシュコンテキストを受け入れるコンテキストは、gss_wrap_size_limit約コンテキストGSS_Inquire_context表示情報に残り有効時間を示す他のプロセスGSS_Import_sec_contextインポートするにGSS_Wrapトークンサイズ制限GSS_Export_sec_context転送コンテキストを決定します転送コンテキスト

PER-MESSAGE CALLS

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

GSS_GetMICは、整合性チェックを検証し、メッセージにGSS_Wrap標識、必要に応じて暗号化と共にインテグリティチェックトークンを検証はgss_unwrapのデカプセル化をカプセル化し、必要に応じて復号化メッセージGSS_VerifyMICから別としてトークンを受信し、整合性チェックを適用します

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 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_Release_OID_set free storage of OID set object GSS_Create_empty_OID_set create empty OID set GSS_Add_OID_set_member add member to OID set GSS_Test_OID_set_member test if OID is member of OID set GSS_Inquire_names_for_mech indicate name types supported by

GSS_Display_status印刷可能な形式は、gss_indicate_mechsにステータスコードを変換ローカルシステムGSS_Compare_name上に支持メカニズムタイプは、一般的なGSS-割り当てられたオブジェクトの正規化された形名GSS_Release_buffer空きストレージの正規化された形式GSS_Release_nameフリーストレージに印刷可能な名前を変換し、印刷可能な形式GSS_Import_nameに名前を変換等価GSS_Display_nameための2つの名前を比較示しますOIDセットオブジェクトGSS_Create_empty_OID_setのGSS_Release_OID_set無料ストレージがでサポートされている名前のタイプを示すOIDは、OIDのメンバーがGSS_Inquire_names_for_mechを設定している場合GSS_Test_OID_set_memberテストを設定OIDにGSS_Add_OID_set_memberはメンバーを追加設定し、空のOIDを作成します

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

機構GSS_Inquire_mechs_for_nameは、名前タイプGSS_Canonicalize_nameを支持する機構はGSS_Export_name名前オブジェクトを複製ごとの機構名GSS_Duplicate_nameを外部ごと機構フォームに名前を翻訳示し

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の呼び出しは、資格情報の管理に関連する機能を提供します。彼らは他のネットワークエンティティ(例えば、ディレクトリや認証サーバ)と、保留中の交流をブロックすることがありますかどうかに関して、その特性は、(超GSS-API)の問題なので、この文書で指定されていないOS固有の部分的に依存しています。

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要求がローカルに決定 - - たdesired_name内部名は、Oデフォルト

o lifetime_req INTEGER, -- in seconds; 0 requests default

O lifetime_reqのINTEGER、 - 秒。 0要求のデフォルト

o desired_mechs SET OF OBJECT IDENTIFIER, -- NULL requests -- system-selected default

NULL要求 - - システムが選択したデフォルトのオブジェクト識別子のdesired_mechs SET、O

o cred_usage INTEGER -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY, -- 2=ACCEPT-ONLY

O cred_usageのINTEGER - 0 = INITIATE-AND-ACCEPT、1 = INITIATE-ONLY、 - 2 = ACCEPT-ONLY

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o output_cred_handle CREDENTIAL HANDLE, -- if returned non-NULL, -- caller must release with GSS_Release_cred()

O output_cred_handle資格HANDLE、 - 非NULLを返した場合、 - GSS_Release_credで解放する必要があり、発信者()

o actual_mechs SET OF OBJECT IDENTIFIER, -- if returned non-NULL, -- caller must release with GSS_Release_oid_set()

Oオブジェクト識別子OF actual_mechs SET、 - 非NULLを返した場合、 - GSS_Release_oid_setで解放する必要があり、発信者()

o lifetime_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O lifetime_rec INTEGER

Return major_status codes:

major_status戻りコード:

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は、要求された資格情報が正常にハンドルがoutput_cred_handleに返さとlifetime_recに示される期間中、actual_mechsに示されているメカニズムタイプのセットについて、cred_usageに要求された使用に適し、それらの資格情報がその後の使用のために参照することができることは、確立されたことを示し。

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引数で指定したIDに関連付けられた資格情報を確立し、使用する権限の不足時に返されるべきです。

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.

プリンシパルが(入力cred_usageパラメータの関数として)たdesired_name入力引数で示されるIDでセキュリティコンテキストを開始および/または受け入れることができるようには、gss_acquire_cred()は、認証情報を取得するために使用されます。正常に終了すると、返さ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.

cred_usageがcred_usage場合GSS_C_INITIATE又はGSS_C_BOTH、または場合gss_accept_sec_context()である場合、発信者は、もしGSS_Init_sec_context(に渡されるときにデフォルト動作を起動する資格ハンドル)のための要求として解釈されたdesired_nameに対する値NULL(GSS_C_NO_NAME)を、提供することができますGSS_C_ACCEPTまたはGSS_C_BOTHです。 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_cred()を適用することから生じる名前以外の名前のためには、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結果は、取得した認証情報が有効になる時間の長さを示しています。資格寿命には制約が課されていない場合機構不定を示す予約値を返すことができます。 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引数)に収容されるメカニズムタイプのセットを指定することができ、またはメカニズムタイプのシステム定義のデフォルトセットのための資格情報を要求することができます。システム指定のデフォルトセットの選択は、アプリケーションの移植性の利益のために推奨されます。 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があれば - - O cred_handle資格HANDLE指定され、呼び出しが正常に完了しますが、 - は効果がありません。何の資格要素はなくなります - リリース。

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER

minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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は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場合 - - O cred_handle資格HANDLE指定され、デフォルトのイニシエータの資格情報が照会されます

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o cred_name INTERNAL NAME, -- caller must release with -- GSS_Release_name()

O cred_name内部名は、 - )(GSS_Release_name - 呼び出し側はで解放しなければなりません

o lifetime_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O lifetime_rec INTEGER

o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY, -- 2=ACCEPT-ONLY

cred_usage O INTEGER、 - 0 = INITIATE-AND-ACCEPT、1 = INITIATE-ONLY、 - 2 = ACCEPT-ONLY

o mech_set SET OF OBJECT IDENTIFIER -- caller must release -- with GSS_Release_oid_set()

Oオブジェクト識別子のセットmech_set - 呼び出し側が解放しなければなりません - GSS_Release_oid_setで()

Return major_status codes:

major_status戻りコード:

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は、発信者が参照資格情報にアクセスする権限がないため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」については、ACCEPT INITIATE-AND-示す必要があります:

(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)資格で、いくつかのメカニズムを使用して、コンテキストの受け入れを可能にする要素が存在する(allowably、必ずしも必要ではないが、予選同じメカニズム(S)のいずれかの(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".

条件は、(1)が成立するではなく、条件(2)、GSS_Inquire_credは()を開始-ONLY "cred_usage" を示す必要があります。条件は(2)が成立するではなく、条件(1)、GSS_Inquire_credは()ACCEPT-ONLY "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().

寿命、使用モードの利用可能な組み合わせのうち微細な曖昧性除去を必要とする発信者、およびメカニズムがGSS_Inquire_credによって返さメカのOID()のルーチンいずれかを通過し、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.

O input_cred_handle資格HANDLE - 前は、gss_acquire_cred(で作成した構造)、または - - 信任状にハンドルGSS_Add_cred()を呼び出します。行動の定義についてはテキストを参照してください - GSS_C_NO_CREDENTIALを提供する場合。

o desired_name INTERNAL NAME

Oたdesired_name内部名

o initiator_time_req INTEGER -- in seconds; 0 requests default

INTEGER initiator_time_req O - 秒。 0要求のデフォルト

o acceptor_time_req INTEGER -- in seconds; 0 requests default

O acceptor_time_req INTEGER - 秒。 0要求のデフォルト

o desired_mech OBJECT IDENTIFIER

O desired_mechオブジェクト識別子

o cred_usage INTEGER -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY, -- 2=ACCEPT-ONLY

O cred_usageのINTEGER - 0 = INITIATE-AND-ACCEPT、1 = INITIATE-ONLY、 - 2 = ACCEPT-ONLY

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

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()

O output_cred_handle資格HANDLE、 - 資格要素が資格に「かわりに」を追加する - - ことを要求するNULL input_cred_handleで識別される構造、 - 非NULLポインタがあることを要求する - 新しい資格構造をして作成することを扱います。 - )(GSS_Release_cred - 資格ハンドルが返された場合、呼び出し側はで解放しなければなりません

o actual_mechs SET OF OBJECT IDENTIFIER, -- if returned, caller must -- release with GSS_Release_oid_set()

返された場合、呼び出し側がしなければならない - - オブジェクト識別子のセットactual_mechs O、)(GSS_Release_oid_setをリリース

o initiator_time_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O initiator_time_rec INTEGER

o acceptor_time_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY, -- 2=ACCEPT-ONLY

O acceptor_time_rec INTEGER - 秒単位、または予約値は - INDEFINITE入出力cred_usageのINTEGER、 - 0 = INITIATE-AND-ACCEPT、1 = INITIATE-ONLY、 - 2 = ACCEPT-ONLY

o mech_set SET OF OBJECT IDENTIFIER -- full set of mechanisms -- supported by resulting credential.

オブジェクト識別子O mech_setのSET - 機構のフルセット - 資格を得によってサポート。

Return major_status codes:

major_status戻りコード:

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()から得られた信任状はcred_usageに要求された使用に適しinitiator_time_recとacceptor_time_recに示されている期間、のために有効であること、及びメカニズムを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_add_cred()操作が失敗し、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 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().

GSS_C_NO_CREDENTIALをinput_cred_handleとして指定されている場合は、非NULL output_cred_handleを供給する必要があります。 input_cred_handleとしてGSS_C_NO_CREDENTIALの場合には、GSS_Add_credは()のデフォルトの動作に基づいて、そのoutput_cred_handleで参照される資格を作成します。つまり、呼び出し側は、以前には、gss_acquire_cred(と呼ばれていたかのように、コールが)同じ効果を持ちます、(それによって行動をデフォルトに対応する明示的な証明書ハンドルを取得)と同じ使い方を指定したdesired_nameパラメータとしてGSS_C_NO_NAMEを渡して、その証明書ハンドルを通過しましたGSS_Add_credに()、そして最後にGSS_Release_cred(と呼ばれていた)証明書ハンドルの上には、()は、gss_acquire_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.

cred_usageがcred_usage場合GSS_C_INITIATE又はGSS_C_BOTH、または場合gss_accept_sec_context()である場合、発信者は、もしGSS_Init_sec_context(に渡されるときにデフォルト動作を起動する資格ハンドル)のための要求として解釈されたdesired_nameに対する値NULL(GSS_C_NO_NAME)を、提供することができますGSS_C_ACCEPTまたはGSS_C_BOTHです。

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

O cred_handle資格HANDLE - GSS_C_NO_CREDENTIAL場合 - 指定され、デフォルトのイニシエータの資格が照会されています

o mech_type OBJECT IDENTIFIER -- specific mechanism for -- which credentials are being queried

Oたmech_typeオブジェクト識別子 - 資格情報が照会されている - のための特定のメカニズム

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o cred_name INTERNAL NAME, -- guaranteed to be MN; caller must -- release with GSS_Release_name()

O cred_name内部名は、 - MNであることを保証します。呼び出し側がしなければならない - )(GSS_Release_nameをリリース

o lifetime_rec_initiate INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O lifetime_rec_initiate INTEGER

o lifetime_rec_accept INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒、またはのために予約された値 - - O lifetime_rec_accept INTEGER INDEFINITE

o cred_usage INTEGER, -- 0=INITIATE-AND-ACCEPT, 1=INITIATE-ONLY, -- 2=ACCEPT-ONLY

cred_usage O INTEGER、 - 0 = INITIATE-AND-ACCEPT、1 = INITIATE-ONLY、 - 2 = ACCEPT-ONLY

Return major_status codes:

major_status戻りコード:

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は、発信者が参照資格情報にアクセスする権限がないため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_Delete_sec_context()を呼び出すことができます。 GSS_Process_context_token()は、コンテキストレベルの制御情報を搬送する受信したトークンを処理するために使用されます。 GSS_Context_time()は、発信者が確立されたコンテキストが有効なままであろう時間の長さを決定することを可能にします。

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_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 claimant_cred_handle資格HANDLE、 - NULLを指定し、 "使用 - デフォルト"

o input_context_handle CONTEXT HANDLE, -- 0 -- (GSS_C_NO_CONTEXT) specifies "none assigned yet"

O input_context_handleコンテキストハンドル、 - 0 - (GSS_C_NO_CONTEXT) "はどれもまだ割り当てられていない" を指定します

o targ_name INTERNAL NAME,

O targ_name内部名、

o mech_type OBJECT IDENTIFIER, -- NULL parameter specifies "use -- default"

Oたmech_typeオブジェクト識別子は、 - 「 - デフォルトの使用を」NULLパラメータを指定します

o deleg_req_flag BOOLEAN,

O deleg_req_flag BOOLEAN、

o mutual_req_flag BOOLEAN,

O mutual_req_flag BOOLEAN、

o replay_det_req_flag BOOLEAN,

O replay_det_req_flagのBOOLEAN、

o sequence_req_flag BOOLEAN,

O sequence_req_flagのBOOLEAN、

o anon_req_flag BOOLEAN,

O anon_req_flag BOOLEAN、

o conf_req_flag BOOLEAN,

O conf_req_flag BOOLEAN、

o integ_req_flag BOOLEAN,

O BOOLEAN integ_req_flag、

o lifetime_req INTEGER, -- 0 specifies default lifetime

lifetime_req O INTEGER、 - 0はデフォルトの有効期間を指定します

o chan_bindings OCTET STRING,

O chan_bindingsオクテットSTRING、

o input_token OCTET STRING -- NULL or token received from target

O入力トークンオクテットSTRING - NULLまたはターゲットから受信したトークン

Outputs:

出力:

o major_status INTEGER,

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()

output_context_handleコンテキストハンドル〇〇minor_status INTEGER、 - 一度非NULLを返し、 - 呼び出し側が(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たmech_typeオブジェクト識別子、 - 実際のメカニズムは常に - 、決してNULLを示しました。呼び出し側は読み取り専用として扱うべきである - とリリースを試みるべきではありません

o output_token OCTET STRING, -- NULL or token to pass to context -- target; caller must release with GSS_Release_buffer()

Oたoutput_tokenオクテットSTRING、 - コンテキストに渡すNULLまたはトークン - ターゲット。呼び出し側は(GSS_Release_bufferを解放しなければなりません)

o deleg_state BOOLEAN,

O deleg_stateのBOOLEAN、

o mutual_state BOOLEAN,

O mutual_state BOOLEAN、

o replay_det_state BOOLEAN,

O replay_det_stateのBOOLEAN、

o sequence_state BOOLEAN,

O sequence_stateのBOOLEAN、

o anon_state BOOLEAN,

お あのん_sたて ぼおぇあん、

o trans_state BOOLEAN,

O trans_state BOOLEAN、

o prot_ready_state BOOLEAN, -- see Section 1.2.7

Oのprot_ready_stateのBOOLEANは、 - セクション1.2.7を参照してください

o conf_avail BOOLEAN,

O conf_avail BOOLEAN、

o integ_avail BOOLEAN,

BOOLEAN integ_avail O、

o lifetime_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O lifetime_rec INTEGER

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.

このコールは、認証サーバまたは他のネットワーク・エンティティは、指定されたターゲットへの提示に適したoutput_tokenを生成するためにコンテキスト開始剤の代わりに相談する必要があるこれらのメカニズムタイプの保留中のネットワーク相互作用をブロックすることができます。

Return major_status codes:

major_status戻りコード:

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として渡さなければならないこと、毎メッセージ処理と併せて行うことができる前このコンテキスト(のprot_ready_state値を同時にTRUEが戻される場合を除きます)。

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_CREDENTIALはclaimant_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 o GSS_S_NO_CREDは、入力cred_handleが無効であったため、発信者が参照資格情報にアクセスする権限がないため、参照資格情報が、唯一のコンテキストアクセプターの使用のために有効であるためGSS_S_NO_CREDは、いずれか、何のコンテキストが確立されなかったことを示し、または既定の資格情報の解像度が失敗したため。

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がTRUEのコンテキストのために)(もし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はinput_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のプロトコル内のターゲットによる使用に適したoutput_tokenを発します。多段交換の場合について、本たoutput_tokenはシリーズ中の1つ、連続呼び出しによって生成された各あろう。 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である必要はありません。他の名前のタイプのサポートに加えて、メカニズムはtarg_nameの入力タイプとしてGSS_C_NO_NAMEを受け入れることができ(新たGSS-V2、アップデート1のような)が推奨されます。お勧めが、このようなサポートが必要とされていない、すべてのメカニズムは、ターゲットの相互認証が得られない場合でも、明示的コンテキストターゲットに名前を付けずにトークンを構築することができないことが認識されています。この機能を利用すると移植に関係することを望む発信者は、入力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

発信者が提供するinput_context_handle引数が指定されたコンテキストに関連する第一もしGSS_Init_sec_context()呼び出しで、「まだ割り当てられていない」を指定し、0(GSS_C_NO_CONTEXT)となります。成功した場合(すなわち、同行場合major_status GSS_S_COMPLETEによって、または

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.

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.

引数input_tokenは、ターゲットから受信したメッセージが含まれ、そしてのみGSS_S_CONTINUE_NEEDED major_statusを示す以前のリターンを以下もし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)

そのパス上でターゲットに呼び出し側の責任ターゲットへの通信経路を確立するため、および(付随返さmajor_status値とは無関係に)いずれかが返されたoutput_token送信することです。たoutput_tokenが、しかし、最初のアプリケーションが提供する入力メッセージと一緒に送信することができるが正常に確立されたコンテキストに関連してGSS_GetMIC()またはにGSS_Wrap()によって処理されます。 (注:GSS-V2用のprot_ready_stateインジケータがTRUE返されたときに、コンテキストの確立が完了する前に、保護されたメッセージを転送することが可能であることができる。また、セクション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

イニシエータは、入力フラグを介して様々なコンテキスト・レベルの機能を要求することができる:deleg_req_flagアクセス権の委任を要求し、mutual_req_flagリクエスト相互認証、検出機能を再生replay_det_req_flag要求が確立されたコンテキストに転送されるメッセージに適用され、そしてsequence_req_flagは、その配列決定を要求します施行されます。 (セクションを参照してください。

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.

リプレイ検出およびシーケンシング機能の詳細については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の実装にinformatory入力を提供します。この情報は、交渉メカニズムへの入力として重要です。 (新たに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.

すべてではない、必要に応じて、要求可能な機能のは、基礎となるすべてのメカニズムタイプで利用できるようになります。対応する戻り状態値deleg_state、mutual_state、replay_det_state、及びsequence_stateは、示したmech_type処理能力とイニシエータが提供する入力フラグ、コンテキストにアクティブになる機能のセットの関数として示します。返さtrans_state値)は、文脈がGSS_Export_sec_context(の使用を介して他のプロセスに転送可能であるかどうかを示します。ルーチンのmajor_statusどちらかがGSS_S_COMPLETEを示し、またはTRUEのprot_ready_stateがGSS_S_CONTINUE_NEEDED major_statusと一緒に返送されない限り、これらの状態の指標値は不定です。後者の場合のために、追加の機能ではなく、確認またはTRUEの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_S_COMPLETEともしGSS_Init_sec_contextからGSS_S_CONTINUE_NEEDED major_status戻る()の両方のために重要です。 anon_stateがTRUEが返された場合、これは現在のトークンもその前任者のいずれも実現したり、イニシエータのアイデンティティを納入したことを示します。匿名サポートが提供されている場合にのみ、コンテキスト確立を行うことを望む発信者は、それがTRUE anon_stateインジケータを伴っている場合にのみ、ピアにもしGSS_Init_sec_context()から返されたトークンを転送しなければなりません。この機能のさらなる議論については、セクション1.2.7を参照してくださいのprot_ready_stateがGSS_S_CONTINUE_NEEDED major_statusと一緒にTRUE戻されると、これは、メッセージごとの保護動作が状況に適用することができることを示しています。

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値は、コンテキストに使用される特定の機構を示しています。それが「デフォルト」の値を示すことはありません。有効なメカニズム種別結果はGSS_S_COMPLETEステータスリターンと一緒に返送しなければなりません。 GSS-APIの実装も前身は致命的なエラー・ケースと併せてGSS_S_CONTINUE_NEEDED状態又は(メカニズムが決定された場合)を示すコールに沿った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(いずれかを介して)利用可能であるかどうかを示します。ルーチンのいずれかmajor_statusはGSS_S_COMPLETEを示し、またはTRUEのprot_ready_stateがGSS_S_CONTINUE_NEEDED major_statusと一緒に返送されない限り、これらの状態の指標値は不定です。

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を表す予約値を返すことによって示されてもよいです。ルーチンのmajor_statusはGSS_S_COMPLETEを示していない限りlifetime_recの値は未定義です。

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がTRUEの場合、この事実はたoutput_token以内に反映されます。そのような状況に連動してターゲットで場合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 acceptor_cred_handle資格HANDLE、 - NULLが指定する - "デフォルトを使用"

o input_context_handle CONTEXT HANDLE, -- 0 -- (GSS_C_NO_CONTEXT) specifies "not yet assigned"

O input_context_handleコンテキスト・ハンドルは、 - 0 - (GSS_C_NO_CONTEXT)が指定する "まだ割り当てられていません"

o chan_bindings OCTET STRING,

O chan_bindingsオクテットSTRING、

o input_token OCTET STRING

O入力トークンオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o src_name INTERNAL NAME, -- guaranteed to be MN -- once returned, caller must release with GSS_Release_name()

src_name O内部名、 - MNであることが保証 - 返されたら、呼び出し側は(GSS_Release_nameを解放しなければなりません)

o mech_type OBJECT IDENTIFIER, -- caller should treat as -- read-only; does not need to be released

Oたmech_typeオブジェクト識別子、 - 呼び出し側として扱うべき - 読み取り専用。解放する必要はありません。

o output_context_handle CONTEXT HANDLE, -- once returned -- non-NULL in context establishment sequence, caller -- must release with GSS_Delete_sec_context()

一度返さ - - output_context_handleコンテキスト・ハンドルO、非NULLコンテキスト確立シーケンスでは、呼び出し側は - (GSS_Delete_sec_contextを解放しなければなりません)

o deleg_state BOOLEAN,

O deleg_stateのBOOLEAN、

o mutual_state BOOLEAN,

O mutual_state BOOLEAN、

o replay_det_state BOOLEAN,

O replay_det_stateのBOOLEAN、

o sequence_state BOOLEAN,

O sequence_stateのBOOLEAN、

o anon_state BOOLEAN,

お あのん_sたて ぼおぇあん、

o trans_state BOOLEAN,

O trans_state BOOLEAN、

o prot_ready_state BOOLEAN, -- see Section 1.2.7 for discussion

Oのprot_ready_stateのBOOLEANは、 - 議論については、セクション1.2.7を参照してください

o conf_avail BOOLEAN,

O conf_avail BOOLEAN、

o integ_avail BOOLEAN, o lifetime_rec INTEGER, -- in seconds, or reserved value for -- INDEFINITE

BOOLEAN integ_avail O、lifetime_rec INTEGER、O - 秒で、または予約値のために - INDEFINITE

o delegated_cred_handle CREDENTIAL HANDLE, -- if returned non-NULL, -- caller must release with GSS_Release_cred()

非NULLを返した場合、 - - O delegated_cred_handle資格HANDLE、呼び出し側は(GSS_Release_credを解放しなければなりません)

o output_token OCTET STRING -- NULL or token to pass to context -- initiator; if returned non-NULL, caller must release with -- GSS_Release_buffer()

Oたoutput_tokenオクテットSTRING - コンテキストに渡すNULLまたはトークン - 開始剤)(GSS_Release_buffer - 非NULLを返した場合、呼び出し側はで解放しなければなりません

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.

この呼び出しは、ディレクトリサービスまたは他のネットワークエンティティは、受信入力トークンを検証するために、コンテキストの受け入れに代わって相談されなければならないものをメカニズムタイプのために保留中のネットワークの相互作用をブロックすることがあります。

Return major_status codes:

major_status戻りコード:

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イニシエータに送信されなければならないたoutput_token戻さでその制御情報を示しており、応答が受信され、場合gss_accept_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 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は、受信入力トークン上の整合性チェックが正しかったことを示しているが、input_tokenには、以前に処理されinput_tokensに対する重複をチェックすることが古すぎるということ。新しいコンテキストが確立されていません。

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_NO_CREDは、いずれか、何のコンテキストが確立されなかったことを示しています。

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によって参照される資格証明書構造の情報を使用して、それが(コンテキスト確立シーケンスが正常に完了した後に)受信入力トークンを検証し、認証src_name及び使用メカニズム種別を返します。返さsrc_nameは、コンテキストが確立されたときのメカニズムによって処理されたMN、であることが保証されます。 acceptor_cred_handleは場合gss_accept_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_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.

発信者が提供するinput_context_handle引数が指定されたコンテキストに関連する最初の場合gss_accept_sec_context()呼び出しで、「まだ割り当てられていない」を指定し、0(GSS_C_NO_CONTEXT)となります。 (major_status 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.

もしGSS_Init_sec_contextについて記載したように戻された状態の結果(deleg_state、mutual_state、replay_det_state、sequence_state、anon_state、trans_state、及びのprot_ready_state))は(同じ情報を反映し、その値は、同じ復帰状態条件下で有意です。

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 major_statusに関連して重要であり、コンテキストが有効になる時間の長さを示し、本からのオフセットとして表さ。

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.

返されたmech_type値は、コンテキストに使用される特定の機構を示しています。それが「デフォルト」の値を示すことはありません。 GSS_S_COMPLETEステータスが表示されたときに有効なメカニズム種別の結果が返される必要があります。 GSS-APIの実装も前身は致命的なエラー・ケースと併せてGSS_S_CONTINUE_NEEDED状態又は(メカニズムが決定された場合)を示すコールに沿ったmech_typeを返す(しかし必要はない)ことができます。自身がネゴシエーションを行う機構の場合には、返された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がTRUEのときにのみ重要であり、ターゲットが委任された資格情報を参照するための手段を提供します。非NULLは、コンテキスト・レベル・トークンを提供する場合たoutput_token結果は、多段階コンテキスト確立シーケンスを継続するコンテキストイニシエータに返されます。もしGSS_Init_sec_context()で述べたように、任意の返されたトークンは、添付返さmajor_statusの値とは無関係に、(この場合は、コンテキストの起動に)コンテキストのピアに転送されなければなりません。

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_VerifyMIC()またははgss_unwrap()に渡されるメッセージごとのデータ要素から、場合gss_accept_sec_context(に渡されるコンテキスト・レベルの入力トークンなど)を区別することができなければなりません。これらのデータ要素は、単一のアプリケーション・メッセージに到着し、そして場合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

O context_handleコンテキスト・ハンドル

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o output_context_token OCTET STRING

O output_context_tokenオクテットSTRING

Return major_status codes:

major_status戻りコード:

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を受信するために、非ヌルバッファを提供し、機構がそのバッファに非NULLトークンを返す場合、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 context_handleコンテキスト・ハンドル、

o input_context_token OCTET STRING

O input_context_tokenオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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()はその目的のために保留中のネットワークの相互作用をブロックすることはありません。別の用途は、ローカルGSS-API実装が既にGSS_S_COMPLETE状態を示した時点後にリモートピアコンテキスト確立の失敗を示すトークンを処理することです。

2.2.5: GSS_Context_time call
2.2.5:GSS_Context_timeコール

Input:

入力:

o context_handle CONTEXT HANDLE,

O context_handleコンテキスト・ハンドル、

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o lifetime_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE

秒で、または予約値 - - INDEFINITE O lifetime_rec INTEGER

Return major_status codes:

major_status戻りコード:

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,

O context_handleコンテキスト・ハンドル、

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o src_name INTERNAL NAME, -- name of context initiator, -- guaranteed to be MN; -- caller must release with GSS_Release_name() if returned

O src_name内部名、 - コンテキストイニシエータの名前は、 - 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

O targ_name内部名は、 - コンテキストターゲットの名前、 - MNであることを保証します。 - 返された場合、発信者はGSS_Release_name()で解放する必要があります

o lifetime_rec INTEGER -- in seconds, or reserved value for -- INDEFINITE or EXPIRED

秒、またはのために予約された値 - - O lifetime_rec INTEGER INDEFINITEまたは期限切れ

o mech_type OBJECT IDENTIFIER, -- the mechanism supporting this -- security context; caller should treat as read-only and not -- attempt to release

Oたmech_typeオブジェクト識別子、 - この支持機構 - セキュリティコンテキストを、呼び出し側は読み取り専用ではないとして扱うべき - 解放する試み

o deleg_state BOOLEAN,

O deleg_stateのBOOLEAN、

o mutual_state BOOLEAN,

O mutual_state BOOLEAN、

o replay_det_state BOOLEAN,

O replay_det_stateのBOOLEAN、

o sequence_state BOOLEAN,

O sequence_stateのBOOLEAN、

o anon_state BOOLEAN, o trans_state BOOLEAN,

O anon_state BOOLEAN、O trans_state BOOLEAN、

o prot_ready_state BOOLEAN,

Oのprot_ready_stateのBOOLEAN、

o conf_avail BOOLEAN,

O conf_avail BOOLEAN、

o integ_avail BOOLEAN,

BOOLEAN integ_avail O、

o locally_initiated BOOLEAN, -- TRUE if initiator, FALSE if acceptor

O、BOOLEANをlocally_initiated - TRUEイニシエータ場合、アクセプタ場合FALSE

o open BOOLEAN, -- TRUE if context fully established, FALSE -- if partly established (in CONTINUE_NEEDED state)

O、BOOLEANを開く - TRUEコンテキストが完全に確立された場合、FALSE - 部分的に確立された場合(CONTINUE_NEEDED状態)

Return major_status codes:

major_status戻りコード:

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であることを示し、オープンリターン値はコンテクストの対応する特性を記述する。オープンがTRUEの場合、lifetime_recも返されます。オープンがTRUEで、コンテキストピアの名前がわかっている場合、src_nameとtarg_nameは、上記の値に加えて有効です。たmech_type値は、オープンがTRUEで、オープンがFALSEのコンテキストで返されるコンテキストに返さなければなりません。

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のために認められなかったことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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レベルに指定されていない理由のために失敗したことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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の実装は、文脈が満了した後も、コンテキストが呼び出し側によって解放されるまで、文脈上inquirableコンテキストデータを保持することが期待されることに留意されたいです。

2.2.7: GSS_Wrap_size_limit call
2.2.7:は、gss_wrap_size_limitコール

Inputs:

入力:

o context_handle CONTEXT HANDLE,

O context_handleコンテキスト・ハンドル、

o conf_req_flag BOOLEAN, o qop INTEGER,

O conf_req_flag BOOLEAN、O QOP INTEGER、

o output_size INTEGER

O output_size INTEGER

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o max_input_size INTEGER

O max_input_size INTEGER

Return major_status codes:

major_status戻りコード:

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.

機密要求状態にcontext_handleパラメータによって識別されるコンテキストに処理するためにGSS_Wrap()に渡されるとき、conf_req_flagに設けられたであろうように、返されmax_input_size値に等しいオクテットの長さを持つ入力メッセージ:O GSS_S_COMPLETE成功トークンサイズ決定を示しますそしてQOPパラメータで提供される保護指定の品質で、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が認識されているが、参照コンテキストの有効期限が切れていることを示しています。 major_statusとminor_status以外の戻り値は不定です。

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のために認められなかったことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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レベルに指定されていない理由のために失敗したことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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

O context_handleコンテキスト・ハンドル

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o interprocess_token OCTET STRING -- caller must release -- with GSS_Release_buffer()

O interprocess_tokenオクテットSTRING - 呼び出し側が解放しなければなりません - GSS_Release_bufferで()

Return major_status codes:

major_status戻りコード:

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値がFALSEされたコンテキストで発生すべきである。)major_statusとminor_status以外の戻り値は不定です。

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が認識されているが、参照コンテキストの有効期限が切れていることを示しています。 major_statusとminor_status以外の戻り値は不定です。

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のために認められなかったことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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レベルに指定されていない理由のために失敗したことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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 major_statusに戻ってきました)。

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の実装では、セキュリティコンテキストに関連付けられているすべてのプロセス全体のリソースの割り当てを解除しなければならず、GSS_C_NO_CONTEXTにcontext_handleを設定しなければなりません。それが不可能なセキュリティコンテキストのエクスポートを完了できるようになり、エラーが発生した場合には、GSS-APIの実装では、プロセス間トークンを返さなければならないとcontext_handle手つかずで参照されるセキュリティコンテキストを残すように努力すべきです。これが不可能な場合、それはまたGSS_C_NO_CONTEXTにcontext_handleパラメータを設定することを提供し、セキュリティコンテキストを削除するには、実装のために許容されます。

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.

携帯発信者は、所与のプロセス間トークンが、それによって単一のコンテキストの複数のインスタンスを作成し、GSS_Import_sec_contextによって回()多くをインポートすることができると仮定してはなりません。 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の実装はコンテキストをインポートする資格プロセスのセットを定義するために、彼らの運用環境に適した政策を採用することが推奨されますが、この分野での具体的な制約がローカル問題です。候補の例は、一般的なジョブを含む同一のユーザーIDの代わりに動作するプロセス、またはプロセス間の転送を含みます。しかし、いくつかの実装では、このようなポリシーを適用することは不可能かもしれません。

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

O interprocess_tokenオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o context_handle CONTEXT HANDLE -- if successfully returned, -- caller must release with GSS_Delete_sec_context()

O context_handleコンテキストハンドル - 正常に返さ場合、 - GSS_Delete_sec_contextで解放する必要があり、発信者()

Return major_status codes:

major_status戻りコード:

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入力interprocess_tokenによって表されるコンテキストが正常に発信者に転送されたことを示し、出力context_handleを介して、将来の使用のために利用可能です。

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入力interprocess_tokenによって表されるコンテキストが無効であったことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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入力interprocess_tokenに欠陥があったことを示します。 major_statusとminor_status以外の戻り値は不定です。

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コンテキストインポート機能が参照コンテキストで使用できないことを示します。 major_statusとminor_status以外の戻り値は不定です。

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入力interprocess_tokenによって表されるコンテキストは、発信者への転送のために不正であることを示しています。 major_statusとminor_status以外の戻り値は不定です。

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レベルに指定されていない理由のために失敗したことを示しています。 major_statusとminor_status以外の戻り値は不定です。

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を通じて委任された資格情報を受信できないことが()、それらの委任資格情報が外部に別のルーチン(例えば、XGSS-APIの呼び出し)を介して取得されていない限り、インポートされているコンテキスト内で輸入のエンドシステムに委任情報に基づいて、新たなコンテキストの確立を妨げますGSS-V2の定義。

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_GetMIC()とGSS_VerifyMIC()によって提供されるデータ発信元認証とデータの整合性サービスに加えて、にGSS_Wrap()とはgss_unwrap()のサポート、呼び出し側が要求した機密性。 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_unwrap()を呼び出し、対応するピアが受信する、にGSS_Wrap()への呼び出し側によって渡されます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 context_handleコンテキスト・ハンドル、

o qop_req INTEGER, -- 0 specifies default QOP

O qop_req INTEGER、 - 0はデフォルトのQOPを指定します

o message OCTET STRING

OメッセージオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o per_msg_token OCTET STRING -- caller must release -- with GSS_Release_buffer()

O per_msg_tokenオクテットSTRING - 呼び出し側が解放しなければなりません - GSS_Release_bufferで()

Return major_status codes:

major_status戻りコード:

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 context_handleコンテキスト・ハンドル、

o message OCTET STRING,

OメッセージオクテットSTRING、

o per_msg_token OCTET STRING

O per_msg_tokenオクテットSTRING

Outputs:

出力:

o qop_state INTEGER,

O qop_state INTEGER、

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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_VerifyMIC()オペレーションは、GSS-APIレベルで不特定の理由で実行できなかったこと。

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 context_handleコンテキスト・ハンドル、

o conf_req_flag BOOLEAN,

O conf_req_flag BOOLEAN、

o qop_req INTEGER, -- 0 specifies default QOP

O qop_req INTEGER、 - 0はデフォルトのQOPを指定します

o input_message OCTET STRING

O input_messageオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER, o conf_state BOOLEAN,

、minor_status INTEGER、O conf_state BOOLEAN O

o output_message OCTET STRING -- caller must release with -- GSS_Release_buffer()

O output_messageオクテットSTRING - 呼び出し側がで解放しなければなりません - GSS_Release_buffer()

Return major_status codes:

major_status戻りコード:

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_Wrap()オペレーションは、GSS-APIレベルで不特定の理由で実行できなかったこと。

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がTRUEの場合、機密性が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 context_handleコンテキスト・ハンドル、

o input_message OCTET STRING

O input_messageオクテットSTRING

Outputs:

出力:

o conf_state BOOLEAN,

O conf_state BOOLEAN、

o qop_state INTEGER,

O qop_state INTEGER、

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o output_message OCTET STRING -- caller must release with -- GSS_Release_buffer()

O output_messageオクテットSTRING - 呼び出し側がで解放しなければなりません - GSS_Release_buffer()

Return major_status codes:

major_status戻りコード:

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_unwrap()オペレーションは、GSS-APIレベルで不特定の理由で実行できなかったこと。

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がTRUEの場合、は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

O STATUS_VALUE INTEGER、 - GSS-APIのmajor_statusまたはminor_status - 戻り値

o status_type INTEGER, -- 1 if major_status, 2 if minor_status

minor_status場合1 major_status場合、2 - O整数をstatus_type

o mech_type OBJECT IDENTIFIER -- mech_type to be used for -- minor_status translation

Oたmech_typeオブジェクト識別子 - メカニズム種別のために使用される - minor_status翻訳

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o status_string_set SET OF OCTET STRING -- required calls for -- release by caller are specific to language bindings

オクテットSTRING OF O status_string_setのSET - のための呼び出しに必要な - 呼び出し側によって解放を言語バインディングに固有のものです

Return major_status codes:

major_status戻りコード:

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_string_setで入手可能である(おそらくSTATUS_VALUE内符号化された複数のステータス・イベントを表す)ことを示しています。

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_Display_statusから返さを反復するとき、いくつかの既存のGSS-API実装は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 major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o mech_set SET OF OBJECT IDENTIFIER -- caller must release -- with GSS_Release_oid_set()

Oオブジェクト識別子のセットmech_set - 呼び出し側が解放しなければなりません - GSS_Release_oid_setで()

Return major_status codes:

major_status戻りコード:

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,

、内部名NAME1 O

o name2 INTERNAL NAME

O name2の内部名

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o name_equal BOOLEAN

O name_equal BOOLEAN

Return major_status codes:

major_status戻りコード:

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は、比較動作が完了することができなかったので、入力名の一方または両方は、その内部の型指定の点で不良を形成したことを示しています。

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とのMNことNAME2必要はありません。いくつかの実装との場合について、GSS_S_BAD_NAMETYPEはいずれも入力された名前がMNである場合の、名前の万全を示す、戻されてもよいです。

2.4.4: GSS_Display_name call
2.4.4:GSS_Display_nameコール

Inputs:

入力:

o name INTERNAL NAME

O内部名に名前を付けます

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o name_string OCTET STRING, -- caller must release -- with GSS_Release_buffer()

O name_stringのオクテット文字列は、 - )(GSS_Release_bufferで - 呼び出し側が解放しなければなりません

o name_type OBJECT IDENTIFIER -- caller should treat -- as read-only; does not need to be released

O name_typeオブジェクト識別子 - 呼び出し側が扱うべき - 読み取り専用として;解放する必要はありません。

Return major_status codes:

major_status戻りコード:

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.

入力された名前が匿名のアイデンティティを表す場合、予約された値(GSS_C_NT_ANONYMOUS)はname_typeに返されなければなりません。

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_string、

o input_name_type OBJECT IDENTIFIER

O input_name_typeオブジェクト識別子

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o output_name INTERNAL NAME -- caller must release with -- GSS_Release_name()

O output_name内部名 - )(GSS_Release_name - 呼び出し側はで解放しなければなりません

Return major_status codes:

major_status戻りコード:

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;

発信者が連続するオクテットストリングとして名前表現を提供することができ、それは解析されるべきと一緒に名前空間のタイプを指定し、他のGSS-APIルーチンへの入力に適した内部形式にその表現に変換します。 input_name_stringの構文は、それに関連付けられた名前タイプと関連して定義されます。 input_name_typeに応じて、関連input_name_stringは、または印刷可能な文字列であってもなくてもよいです。 input_name_typeの値がGSS_C_NO_OIDである場合、(対応するGSS-V2機構仕様で指定されなければならない)機構固有のデフォルトの印刷可能な構文は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_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

O内部名に名前を付けます

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER

minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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

OバッファオクテットSTRING

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER

minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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

オブジェクト識別子の入出力バッファSET

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER

minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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 major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o oid_set SET OF OBJECT IDENTIFIER -- caller must release -- with GSS_Release_oid_set()

オブジェクト識別子のO oid_set SET - 呼び出し側が解放しなければなりません - (GSS_Release_oid_setで)

Return major_status codes:

major_status戻りコード:

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 member_oidオブジェクト識別子、

o oid_set SET OF OBJECT IDENTIFIER

オブジェクト識別子のO oid_set SET

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

Return major_status codes:

major_status戻りコード:

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()に入力するための機構OIDのセットを構築するときに、このルーチンは)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メンバーオブジェクト識別子、

o set SET OF OBJECT IDENTIFIER

オブジェクト識別子Oの設定SET

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o present BOOLEAN

O現在BOOLEAN

Return major_status codes:

major_status戻りコード:

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()によって返されたOIDセットを使用することを意図し、そしてGSS_Inquire_cred()されています。

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

O input_mech_typeオブジェクト識別子、 - メカニズムのタイプ

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o name_type_set SET OF OBJECT IDENTIFIER -- caller must release -- with GSS_Release_oid_set()

オブジェクト識別子のname_type_set O SET - 呼び出し側が解放しなければなりません - (GSS_Release_oid_setで)

Return major_status codes:

major_status戻りコード:

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は、出力name_type_setがinput_mech_typeで識別されるローカルで利用可能なメカニズムによってサポートされている名前タイプのリストが含まれていることを示しています。

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,

oは、内部名をinput_name

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER, o mech_types SET OF OBJECT IDENTIFIER -- caller must release -- with GSS_Release_oid_set()

O minor_status INTEGERは、オブジェクト識別子の入出力メカニズムタイプSETは - )(GSS_Release_oid_setで - 呼び出し側が解放しなければなりません

Return major_status codes:

major_status戻りコード:

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を処理するのに適した機構のセットに対応するオブジェクト識別子のセットは、メカニズムタイプで利用可能であることを示しています。

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つの要素を認識します。このルーチンは、提示名前内に含まれる種別情報を使用して、機構に依存しないGSS-API層内に実装され、個々の機構の実装によって提供された登録情報に基づいてされることが許容されます。これは)返されたメカニズムタイプが実際にそれが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は、内部名をinput_name

o mech_type OBJECT IDENTIFIER -- must be explicit mechanism, -- not "default" specifier or identifier of negotiating mechanism

Oたmech_typeオブジェクト識別子 - 、明示的なメカニズムである必要があります - メカニズムを交渉のない「デフォルト」指定子または識別子

Outputs:

出力:

o major_status INTEGER, o minor_status INTEGER,

minor_status INTEGER〇〇major_status INTEGER、

o output_name INTERNAL NAME -- caller must release with -- GSS_Release_name()

O output_name内部名 - )(GSS_Release_name - 呼び出し側はで解放しなければなりません

Return major_status codes:

major_status戻りコード:

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_COMPLETEはメカニズム種別によって識別機構によって処理されるようinput_nameの機構固有の減少は、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.

このルーチンは、一般的にメカニズム種別によって識別機構に対応する変換を適用することによって、機構固有のメカニズム名(MN)output_nameに、複数のメカニズムに対応する要素を含んでいてもよいGSS-API内部名input_nameを低減します。 input_nameの内容GSS_Canonicalize_name()操作によって影響を受けません。 output_nameが解放されるまでoutput_nameへの参照は、その後input_name解放されているかどうかとは無関係に、有効なままになります。

2.4.15: GSS_Export_name call
2.4.15:GSS_Export_nameコール

Inputs:

入力:

o input_name INTERNAL NAME, -- required to be MN

O input_name内部名、 - MNであることが必要

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER, o output_name OCTET STRING -- caller must release -- with GSS_Release_buffer()

O minor_status INTEGER、output_nameオクテット文字列O - 呼び出し側が解放しなければなりません - GSS_Release_bufferで()

Return major_status codes:

major_status戻りコード:

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は、入力された名前は、MNだったが、処理できなかったことを示しています。

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-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 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によって内部形式機構名例えば射出されたように(MN)からのバイト単位の比較のためにまたは予約GSS-APIエクスポート名オブジェクトのOIDと併せてGSS_Import_name()への入力に適したフラットな名前の表現を、(作成します)または場合gss_accept_sec_context()。

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.

すべての場合において、GSS_Export_name()によって平坦名出力は、特定のインストール内の時間にわたって不変でなければならない特定の入力MNに対応します。

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

O src_name内部名

Outputs:

出力:

o major_status INTEGER,

O major_status INTEGER、

o minor_status INTEGER,

、minor_status INTEGER O

o dest_name INTERNAL NAME -- caller must release -- with GSS_Release_name()

O内部名をDEST_NAME - 呼び出し側が解放しなければなりません - GSS_Release_nameで()

Return major_status codes:

major_status戻りコード:

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はsrc_nameに渡されるDEST_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ピアで明確に解釈されるべきトークンを可能にする機構に依存しないレベルを指定します。このフォーマットの使用は、インターネット標準トラックGSS-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構文当たり)ASN.1とDERから誘導されるが、その具体的な表現はオクテットの点ではなく、順番にASN.1レベルで直接定義されています一般的なASN.1処理コードを使用せずに相互運用可能な実装を容易にします。トークンタグは順番に、次の要素で構成されています。

1. 0x60 -- Tag for [APPLICATION 0] SEQUENCE; indicates that -- constructed form, definite length encoding follows.

1. 0x60 - [APPLICATION 0] SEQUENCEのタグ。フォーム、明確なレングス符号化は、以下の構築 - ことを示しています。

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.

図2(a)。指示値が128未満である場合、それは「0」に設定された値を表す残りのビット(上位)ビット8を有する単一のオクテットで表現されなければなりません。

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以上である場合、それは「1」に設定された第1のオクテットのビット8および追加のオクテットの数を指定する最初のオクテットの残りのビットと、二つ以上のオクテットで表現されなければなりません。後続のオクテットが最初の値、オクテット当たり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:

前記オブジェクト識別子オクテット - オクテットの可変数、 - 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。 (1)トップレベルのオブジェクト識別子40(10進数)を乗じた成分、および(2)は、第2レベルオブジェクト識別子コンポーネント:最初のオクテットは、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。後続のオクテットは、必要であれば、表されるオブジェクト識別子に連続低級成分をコードします。コンポーネントの符号化は、コンポーネントの符号化の最後のオクテットが、すべての複数のオクテット、符号化オクテット当たり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 / DER符号化規則を使用しなければならない必要はありません。

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 ::=
      -- 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
              }
        
      SubsequentContextToken ::= innerContextToken ANY
      -- interpretation based on predecessor InitialContextToken
      -- ASN.1 structure not required
        
      PerMsgToken ::=
      -- as emitted by GSS_GetMIC and processed by GSS_VerifyMIC
      -- ASN.1 structure not required
              innerMsgToken ANY
        
      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

- ANY ASN.1構造ではない必要sealedUserData

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. 2 MECH_OID_LEN Length of the Mechanism OID MECH_OID_LEN MECH_OID Mechanism OID, in DER 4 NAME_LEN Length of name NAME_LEN NAME Exported name; format defined in applicable mechanism draft.

2 TOK_IDトークン識別子の名前のオブジェクトをエクスポートし、これは名前NAME_LEN名エクスポート名のDER 4 NAME_LEN長さは、機構OID MECH_OID_LEN MECH_OIDメカニズムOIDの六角04 01 2 MECH_OID_LEN長さでなければなりません。適用機構のドラフトで定義されたフォーマット。

A concrete example of the contents of an exported name object, derived from the Kerberos Version 5 mechanism, is as follows:

次のようにKerberosバージョン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 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

04 01必須トークン識別子

00 0B 2-byte length of the immediately following DER-encoded ASN.1 value of type OID, most significant octet first

00 0B 2バイト型OIDの直後のDER符号化されたASN.1値の長さは、最も重要なオクテット最初

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

06 09 2A 86 48 86 F7 12 01 02 02型OIDのDER符号化されたASN.1値。ケルベロスV5機構OIDは、Kerberos V5エクスポートされた名前を示し、

          in Detail:      06                  Identifier octet (6=OID)
                          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

最初の直後にエクスポートされた名前のブロブ、最も重要なオクテットのHX XX XX XL 4バイト長

pp qq ... zz exported name blob of specified length, bits and bytes specified in the (Kerberos 5) GSS-API v2 mechanism spec

PPのQQ ... ZZは、指定した長さの名前のブロブをエクスポートビットと(ケルベロス5)GSS-API v2の機構の仕様で指定されたバイト

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)}.

{ISO(1)部材本体(2)米国(840)MIT(113554)インフォシス(1)「GSSAPI(2)一般的な(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)}

{1(ISO)、3(ORG)、6(DOD)、1(インターネット)、5(セキュリティ)、6(nametypes)、2(GSS-ホスト・ベース・サービス)}

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:

この名前タイプは、ホストコンピュータに関連付けられたサービスを表すために使用されます。この名前の形式のサポートは、移植性の利益のために機構設計者に推奨されますが、この仕様で規定されていません。次のようにこの名前の形式は、二つの要素、「サービス」および「ホスト名」を使用して構築されています。

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)すなわち、そのプロトコルのために、(、次いで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."

「値およびその意味は、で、RFCまたは他の利用可能な基準に文書化されなければならない:(A)当たりの特定の名前のIANA登録は、BCP 26によって定義される、「仕様が必要で」割り当てポリシーに従って処理する必要があり、RFC 2434は、次のように十分な詳細独立した実装の間の相互運用が可能であるように。」

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

この名前の形式は、{(2)米国(840)MIT(113554)は、インフォシスISO(1)部材本体(1)GSSAPI(2)一般的な(1)USER_NAME(1)}オブジェクト識別子によって表されなければなりません。このタイプの推奨メカニズムに依存しないシンボリック名は「GSS_C_NT_USER_NAME」です。 (注:同じ名前のフォームとOIDはケルベロスV5 GSS-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.)

この名前の形式は、{(2)米国(840)MIT(113554)は、インフォシスISO(1)部材本体(1)GSSAPI(2)一般的な(1)machine_uid_name(2)}オブジェクト識別子によって表されなければなりません。このタイプの推奨メカニズムに依存しないシンボリック名は「GSS_C_NT_MACHINE_UID_NAME」です。 (注:同じ名前のフォームとOIDはケルベロスV5 GSS-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.4:文字列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.)

この名前の形式は、{(2)米国(840)MIT(113554)は、インフォシスISO(1)部材本体(1)GSSAPI(2)一般的な(1)string_uid_name(3)}オブジェクト識別子によって表されなければなりません。このタイプの推奨シンボリック名は「GSS_C_NT_STRING_UID_NAME」です。 (注:同じ名前のフォームとOIDはケルベロスV5 GSS-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.

この名前タイプは、ローカルシステム上のユーザの数値ユーザIDを表す、数字の文字列を示すために使用されます。その解釈は、OS固有のものです。この名前タイプは、バッファは、ユーザIDを表す文字列が含まれていることを除いて、マシンUIDフォームに似ています。

4.5: Anonymous Nametype
4.5:匿名NAMETYPE

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(インターネット)、5(セキュリティ)、6(nametypes)、3(GSS-匿名名)}

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ではなく実際のオブジェクト識別子のNULL入力値に相当します。指定された場合、これは機構固有のデフォルトの印刷可能な構文に基づいて関連する名前の解釈を示します。

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)}

{1(ISO)、3(ORG)、6(DOD)、1(インターネット)、5(セキュリティ)、6(nametypes)、4(GSS-APIエクスポート名)}

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固有のログイン機能は、ローカル領域Kerberosサーバに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の(成功した場合)の応答(S)または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.

このサービスは、オーセンティケータを検証場合gss_accept_sec_context()への引数input_tokenとして受け取ったトークンを渡し、クライアントの認証された名前でサービスを提供し、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を実装するときに、エラーパスの不要な頻繁に呼び出しを避けるために、別のメカニズムタイプと「シングルTGT 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 major_statusを返し、その返された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.

サービスはTGT要求として認識場合gss_accept_sec_context()の引数input_tokenとして受信したトークンを渡します。 (現在のKerberos V5は、そのような要求を表すないイントラプロトコルメカニズムを定義しないことに注意してください。)場合gss_accept_sec_context()はGSS_S_CONTINUE_NEEDED major_statusを返し、そのた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をキャッシュして、コンテキストと一緒に返されたサービスチケットとセッション鍵を格納し、Kerberos認証サーバへのサービスチケット要求の一部としてそれを使用しています。もしGSS_Init_sec_context()はケルベロス形式の認証子を構築し、GSS_S_COMPLETE戻りmajor_statusと共にた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()は、オーセンティケータを検証し、クライアントの認証された名前でサービスを提供し、major_status 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()、公開鍵証明書のチェーンを呼び出します。証明書の検証作業は、適切な整合性チェックは、信頼できる当局によって適用されたことと、それらの証明書の期限が切れていないことを決定します。もし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.

サービス)(場合gss_accept_sec_contextに引数input_tokenとして受信したトークンを渡します。場合gss_accept_sec_context()は、証明書パスを検証し、その結果として認定クライアントの識別名とクライアントの公開鍵の間の結合を決定します。公開鍵ということを考えると、場合gss_accept_sec_context()は入力トークンのオーセンティケータ量を処理し、クライアントの秘密鍵を入力トークンに署名するために使用されたことを確認することができます。この時点で、クライアントは、サービスに認証されます。このサービスは、コンテキストにメッセージごとの保護操作のためにそれに与えられた暗号化秘密鍵を解読するためにその秘密鍵を使用しています。

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.

[ISO-7498から2]国際規格ISO 7498-2-1988(E)、セキュリティアーキテクチャ。

[ISOIEC-8824] ISO/IEC 8824, "Specification of Abstract Syntax Notation One (ASN.1)".

[ISOIEC-8824] ISO / IEC 8824、 "抽象構文記法1(ASN.1)の仕様"。

[ISOIEC-8825] ISO/IEC 8825, "Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1)".)

[ISOIEC-8825] ISO / IEC 8825、 "抽象構文記法1(ASN.1)のための基本的な符号化規則の仕様"。)

[RFC-1507]: Kaufman, C., "DASS: Distributed Authentication Security Service", RFC 1507, September 1993.

[RFC-1507]:カウフマン、C.、 "DASS:分散認証セキュリティサービス"、RFC 1507、1993年9月。

[RFC-1508]: Linn, J., "Generic Security Service Application Program Interface", RFC 1508, September 1993.

[RFC-1508]:リン、J.、 "ジェネリックセキュリティーサービス適用業務プログラムインタフェース"、RFC 1508、1993年9月。

[RFC-1509]: Wray, J., "Generic Security Service API: C-bindings", RFC 1509, September 1993.

[RFC-1509]:レイ、J.、 "ジェネリックセキュリティーサービスAPI:C-バインディング"、RFC 1509、1993年9月。

[RFC-1964]: Linn, J., "The Kerberos Version 5 GSS-API Mechanism", RFC 1964, June 1996.

[RFC-1964]:リン、J.、 "Kerberosバージョン5 GSS-APIメカニズム"、RFC 1964、1996年6月。

[RFC-2025]: Adams, C., "The Simple Public-Key GSS-API Mechanism (SPKM)", RFC 2025, October 1996.

[RFC-2025]:アダムス、C.、 "単純な公開鍵GSS-APIメカニズム(SPKM)"、RFC 2025、1996年10月。

[RFC-2078]: Linn, J., "Generic Security Service Application Program Interface, Version 2", RFC 2078, January 1997.

[RFC-2078]:リン、J.、 "ジェネリックセキュリティーサービス適用業務プログラムインタフェース、バージョン2"、RFC 2078、1997年1月。

[RFC-2203]: Eisler, M., Chiu, A. and L. Ling, "RPCSEC_GSS Protocol Specification", RFC 2203, September 1997.

[RFC-2203]:アイスラー、M.、チウ、A.及びL.リン、 "RPCSEC_GSSプロトコル仕様"、RFC 2203、1997年9月。

[RFC-2744]: Wray, J., "Generic Security Service API Version 2 : C-bindings", RFC 2744, January 2000.

[RFC-2744]:レイ、J.、 "ジェネリックセキュリティサービスAPIバージョン2:C-バインディング"、RFC 2744、2000年1月。

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.

後者のどちらを提供するメカニズムは、特定の候補発信者プロトコルの認識要件を満たすために失敗すると、メッセージごとの保護サービスを提供するメカニズムはまた、リプレイ検出およびシークエンシングサービスの少なくとも一つを提供することを強くお勧めします。

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-V2内に支持しながら、以下のGSS-V1構築物は、廃止されています。

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_Seal()にGSS_Wrapの非推奨(); GSS_GetMICのために廃止GSS_Sign()(); GSS_Unseal()はgss_unwrap(の賛成で廃止予定)。 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.

メカニズムは、コンテキストの削除を通知することを可能にするcontext_token使用のGSS_Delete_sec_context()機能は、GSS-V1との互換性のために保持されます。現在の使用のために、それは文脈に両方のピアがGSS_Delete_sec_contextを起動することをお勧めします()は、独立して、ヌルを通過してもcontext_tokenが必要とされないことを示すためにバッファoutput_context_token。 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仕様は、セキュリティコンテキストに適用つの新しい機能を導入し、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.

anon_stateは、コンテキストのイニシエータがターゲットの観点から匿名であることを示すために、TRUEに設定しました。本明細書のセクション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.

prot_ready_stateは、コンテキストはコンテキスト確立の最終完了する前に、メッセージごとの保護のために使用されてもよいことを示すために、TRUEに設定します。本明細書のセクション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.

trans_stateは、文脈がGSS-V2 GSS_Export_sec_context()機能を使用して他のプロセスに転送可能であることを示すためにTRUEに設定しました。

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-V2、セクション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で定義されていない以下major_status値を加算します。

        GSS_S_BAD_QOP                 unsupported QOP value
        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_GAP_TOKEN(GSS_GetMIC()とにGSS_Wrap()によって返却)GSS_S_BAD_QOP(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で定義されるようにセットからの追加major_status値の復帰を可能にするために更新されました: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に比べてCHANGES

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-V2 C言語バインディング文書との位置合わせのために、主に実装経験に応じて作られた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.

削除されたGSS_Release_OID、GSS_OID_to_str()、およびGSS_Str_to_OID()ルーチン。

Clarified circumstances under which zero-length tokens may validly exist as inputs and outputs to/from GSS-API calls.

長さゼロのトークンが有効にする/ GSS-APIの呼び出しからの入力および出力として存在してもよいれる状況を明らかにしました。

Added GSS_S_BAD_MIC status code as alias for GSS_S_BAD_SIG.

GSS_S_BAD_SIGの別名としてGSS_S_BAD_MICステータスコードを追加しました。

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.

GSS_Display_status()のために、言語バインディングに平行に又は反復を介して複数の状態値を返すかどうかの選択を延期し、GSS_S_CONTINUE_NEEDEDのリターンを卑下解説を追加しました。

Adapted and incorporated clarifying material on optional service support, delegation, and interprocess context transfer from C bindings document.

適合および任意のサービスのサポート、委任、及びCバインディング文書からプロセス間のコンテキスト転送の上に材料を明確に組み込まれます。

Added and updated references to related documents, and to current status of cited Kerberos mechanism OID.

追加され、関連文書への参照を更新し、引用ケルベロスメカニズムOIDの現在の状態に。

Added general statement about GSS-API calls having no side effects visible at the GSS-API level.

GSS-APIレベルで見える副作用のないGSS-APIの呼び出しに関する一般的な文を追加しました。

Context-related (including per-message protection issues):

コンテキスト関連(メッセージごとの保護の問題を含みます):

Clarified GSS_Delete_sec_context() usage for partially-established contexts.

部分的に確立されたコンテキストのためのGSS_Delete_sec_context()の使用状況を明らかにしました。

Added clarification on GSS_Export_sec_context() and GSS_Import_sec_context() behavior and context usage following an export-import sequence.

輸出入シーケンス以下GSS_Export_sec_context()とGSS_Import_sec_context()の挙動およびコンテキストの使用上の明確化を追加しました。

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

もしGSS_Init_sec_contextにinformatory conf_req_flag、integ_req_flag入力を追加しました()。 (注:この機能は、セクション2.2.1で説明したGSS-V1の発信者、との下位互換性がないことを紹介し、この意味は、認識されワーキンググループディスカッションに承認されました。)

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.

GSS_S_FAILUREは、もしGSS_Init_sec_context()または場合gss_accept_sec_context()が既に十分に確立されたコンテキストのハンドルを渡された場合に返されるべきであると述べました。

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.

GSS_Inquire_sec_context()再、GSS_S_COMPLETE状態に到達するまでsrc_nameとtarg_nameが返されていないと述べました。 GSS_S_CONTEXT_EXPIREDステータスコード(期限切れ寿命の戻り値で置き換える)の使用を除去します。呼び出し側によって解放文脈までinquirableデータを保持する必要性を述べました。コンテキストが完全に開いているか否かを示す結果値を追加しました。

Added discussion of interoperability conditions for mechanisms permitting optional support of QOPs. Removed reference to structured QOP elements in GSS_Verify_MIC().

QOPのオプションのサポートを可能とする仕組みのための相互運用性の条件の説明を追加しました。側はgss_verify_micに構成QOP要素を除去参照()。

Added discussion of use of GSS_S_DUPLICATE_TOKEN status to indicate reflected per-message tokens.

反映メッセージごとのトークンを示すためにGSS_S_DUPLICATE_TOKENステータスの使用についての議論を追加しました。

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.

それに応じてステータスコード記述を調整する、GSS_S_COMPLETEとGSS_S_FAILURE major_status戻ると一緒にメッセージごとの保護コールからの情報シーケンシングコードの使用を明らかにしました。

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.

特定GSS_GetMICの影響についての声明()およびコンテキスト状態情報ににGSS_Wrap()障害、受信したメッセージごとのトークンの処理障害の影響に関する一般的な既存のステートメントを追加しました。

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.

もしGSS_Init_sec_context()及び場合gss_accept_sec_context()のために、連続した継続が交渉機構ケースのコールに値が変化してもよいことを認識し、GSS_S_COMPLETE前に有効であることが返されたmech_typeを可能にしました。

Deleted GSS_S_CONTEXT_EXPIRED status from GSS_Import_sec_context().

GSS_Import_sec_contextから削除GSS_S_CONTEXT_EXPIREDステータス()。

Added conf_req_flag input to GSS_Wrap_size_limit().

gss_wrap_size_limitにconf_req_flag入力を追加しました()。

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_Inquire_credを()適用した結果の名前でもない場合は、gss_acquire_cred()とは、gss_add_cred()の場合は、CバインディングINITIATEのための可能性の高い非サポートのステートメントまたはBOTH資格情報を使用して整列。さらに、GSS_Inquire_context(によって返さ明示的な名前)も受け入れられるべきであると述べました。デフォルトの解像度および付随的意味の潜在的な時間変動の結果についての解説を追加しました。 Cバインディングで整列させた場合の動作を再

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.

GSS_C_NO_NAMEはたdesired_nameのために提供しました。 gss_acquire_cred()において、NULL、むしろ空のOIDセットよりも、デフォルト機構のセットを要求するためにdesired_mechsために使用されるべきであると述べました。

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.

追加GSS_S_CREDENTIALS_EXPIREDは、gss_acquire_cred用としてリターナブルmajor_status()、GSS_Add_credは()、また、一時、ユーザーが修正可能な資格情報が利用できないため、適切なリターンとしてGSS_S_NO_CREDを指定します。 gss_acquire_cred()とGSS_Add_cred()は、認可の失敗が資格取得時に発生した場合GSS_S_NO_CREDを返すこともあります。

Removed GSS_S_CREDENTIALS_EXPIRED status return from per-message protection, GSS_Context_time(), and GSS_Inquire_context() calls.

メッセージごとの保護、GSS_Context_time()、およびGSS_Inquire_contextから削除GSS_S_CREDENTIALS_EXPIREDステータスリターンは()を呼び出します。

For GSS_Add_cred(), aligned with C bindings' description of behavior when addition of elements to the default credential is requested.

デフォルトの資格の元素の添加が要求されたときの挙動のCバインディングの説明と整合)(GSS_Add_credため。

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.

GSS_Release_cred()、GSS_Inquire_cred()、及びGSS_Inquire_cred_by_mech()のために、入力GSS_C_NO_CREDENTIALの動作を明らかにしました。

Name-related:

名前関連:

Aligned GSS_Inquire_mechs_for_name() description with C bindings.

Cバインディングと整列GSS_Inquire_mechs_for_name()の記述。

Removed GSS_S_BAD_NAMETYPE status return from GSS_Duplicate_name(), GSS_Display_name(); constrained its applicability for GSS_Compare_name().

GSS_Duplicate_name()、GSS_Display_name()から削除さGSS_S_BAD_NAMETYPEステータスリターン。 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().

GSS_C_NO_OID入力名タイプでGSS_Import_name再Cバインディング文()の動作と整合、およびGSS-V2機構の仕様はそのメカニズムに適用処理手順を定義することであると述べました。また、)(GSS_Display_nameとGSS_C_NO_OIDの使用状況を明らかにしました。

Downgraded reference to name canonicalization via DNS lookup to an example.

例にDNSルックアップから名の正規化への参照をダウングレード。

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.

GSS_Canonicalize_nameため()、ネゴシエートメカニズムもデフォルトのメカニズムも、この操作の入力メカニズムタイプをサポートしていると述べており、この場合に返されるGSS_S_BAD_MECHステータスを指定。 GSS_Canonicalize_name()操作が入力された名前に非破壊的であることを明らかにしました。

Clarified semantics of GSS_C_NT_USER_NAME name type.

GSS_C_NT_USER_NAME名のタイプの意味を明らかにしました。

Added descriptions of additional name types. Also added discussion of GSS_C_NO_NAME and its constrained usage with specific GSS calls.

追加の名前の種類を追加しまし説明。またGSS_C_NO_NAMEの説明を追加し、特定のGSSとの制約の使用を呼び出します。

Adapted and incorporated C bindings discussion about name comparisons with exported name objects.

適応およびエクスポートされた名前のオブジェクトと名の比較についてのCバインディングの議論を組み込みました。

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.

個々のメカニズムの仕様にどのような要件のステートメントを延期、ホストベースのサービスの名前タイプをサポートするためのメカニズムの設計者への勧告を追加しました。ホストベースのサービスのサービス名要素とそのためのIANA登録政策のための提案されたアプローチの議論を追加しました。

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.

エクスポートされた名前のオブジェクト内の明確化バイト順序。エクスポートされた名前のオブジェクトの未遂輸入の過程で、名前オブジェクトの囲まれたメカニズムの種類が認識できないか、サポートされていない、場合GSS_S_BAD_MECHが返されると述べました。

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.

メカニズムは、必要に応じて、支持体はGSS-V2、アップデート1より以前機構内そうであることをコメントして、gss_init_sec_context()を入力するターゲット名としてGSS_C_NO_NAMEを受け入れることができると述べました。

AUTHOR'S ADDRESS

著者のアドレス

John Linn RSA Laboratories 20 Crosby Drive Bedford, MA 01730 USA

ジョン・リンRSA Laboratories社20クロスビー・ドライブベッドフォード、MA 01730 USA

Phone: +1 781.687.7817 EMail: jlinn@rsasecurity.com

電話:+1 781.687.7817 Eメール: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 Editor機能のための基金は現在、インターネット協会によって提供されます。