什么是RSA“密钥ID”? [英] What is an RSA "key ID"?

查看:495
本文介绍了什么是RSA“密钥ID”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到在几个地方使用的密钥ID,并希望在我的程序中使用它们,但我没有能够找到它们的描述。

I've seen key IDs used in several places and would like to use them in my program, but I haven't been able to find a description of them. How are they generated?

推荐答案

在不同的格式(PGP,SSH,X.509证书)中,密钥ID具有不同的含义。 SSH和X.509都没有专用密钥ID的概念,但有些人使用这个术语(包括他们的软件) - 在这种情况下,它通常是公共密钥或整个证书的哈希。

In different formats (PGP, SSH, X.509 certificates) key ID has different meaning. Neither SSH nor X.509 have a "dedicated" concept of key ID, but some people use this term (including their software) - in this case it's usually a hash of the public key or of the certificate in whole.

更新:注释提醒我,X.509证书中存在密钥标识符扩展名,有时它们被称为密钥ID。然而,这不常见 - 通常哈希(有时也称为指纹)被称为密钥ID。

Update: the comments reminded me that "key identifier" extensions exist in X.509 certifiactes, and they sometimes are being referred to as key IDs. Yet, this is not common - usually the hash (also sometimes called the fingerprint) is referenced as key ID.

这篇关于什么是RSA“密钥ID”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆