什么是RSA“密钥ID”?

编程入门 行业动态 更新时间:2024-10-26 02:24:20
本文介绍了什么是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”?

本文发布于:2023-10-30 03:28:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1541628.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密钥   RSA   ID

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!