RFC1508 - Generic Security Service Application Program Inter(3)

时间:2005-02-14 来源: 作者: 点击:
BER. -- optional top-level token definitions to -- frame different mechanisms GSS-API DEFINITIONS ::= BEGIN MechType ::= OBJECT IDENTIFIER -- data structure definitions -- callers must be able to dis
  
BER.

-- optional top-level token definitions to
-- frame different mechanisms

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
}

SubsequentContextToken ::= innerContextToken ANY
-- interpretation based on predecessor InitialContextToken

PerMsgToken ::=
-- as emitted by GSS_Sign and processed by GSS_Verify
innerMsgToken ANY

SealedMessage ::=
-- as emitted by GSS_Seal and processed by GSS_Unseal
-- includes internal, mechanism-defined indicator
-- of whether or not encrypted
sealedUserData ANY

END

APPENDIX C

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.

Use of the approach defined in Appendix B of this specification,
applying a mechanism type tag to the InitialContextToken, is
required.

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.

------分隔线----------------------------
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
推荐内容