cmp协议与spkm协议

分别看下官方文档对两者的定义,在RFC-4210中详细的描述了cmp协议,

cmp(Certificate Management Protocol,证书管理协议):
   This document describes the Internet X.509 Public Key Infrastructure(PKI) Certificate Management Protocol (CMP).  Protocol messages are defined for X.509v3 certificate creation and management.CMP provides on-line interactions between PKI components, including an   exchange between a Certification Authority (CA) and a client system.

最后一句话说明了CMP协议的作用,是用于在pKI各个组件(RA、CA和KM)间进行通信时所遵守的消息格式,说白了就是规范了各个组件通信时的数据包格式(反映到程序上就是一个结构体)。

        在RFC-2025中详细描述了spkm(The Simple Public-Key GSS-API Mechanism): This specification defines protocols, procedures, and conventions to be employed by peers implementing the Generic Security Service Application Program Interface (GSS-API as specified in RFCs 1508 and 1509) when using the Simple Public-Key Mechanism.这句话仅仅说明了RFC-2025所要说明的东西,并没有说明spkm的具体作用,在RFC-2025中紧跟这个定义后有下面一句话:
   Although the Kerberos Version 5 GSS-API mechanism [KRB5] is becoming   well-established in many environments, it is important in some applications to have a GSS-API mechanism which is based on a public-key, rather than a symmetric-key, infrastructure.The mechanism described in this document has been proposed to meet this need and to provide the following features.

这段话的意思说的是:为了保证通信双方的安全性,在GSS-API(Generic Security Service Application Program Interface)第五版中虽然定义了些安全接口,但是这些接口都是基于对称密钥的,为了对非对称密码的支持,引入了spkm机制。

       到这里我们就很清晰的明了他们两者的各自用途了,CMP协议规范了PKI实体间应该以什么样的格式来组织通信的数据包,实际上就是一个结构体;而spkm是支持非对称密钥的、对CMP进行了消息保护的一种机制,也可以说是种协议。如果将CMP比作为网络通信领域的tcp协议的话,那么spkm相当于保护tcp的ssl协议,只不过CMP仅仅限于PKI各个实体间通信时所采用的数据包标准而已。

        CMP协议定义在tcp/http协议(数据传输协议)之上的数据交换协议,规定了通信双方消息以什么样的报文格式(数据结构)传递,数据报文以asn1编码为二进制在网络上进行传输。

最后,更加具体的内容建议大家下载这两个官方的RFC文档进行了解。

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值