1

"e": "AQAB"JWKS 中的含义是什么- Json Web 密钥集

{
  "keys": [
    {
      "kty": "RSA", #key type
      "e": "AQAB",  #Question - what does "e" mean or stand for. And what values can e take. What is AQAB here. 
      "use": "sig", #verify client assertion signature. This means what is the use of the key. Answer - to verify signature. Right?
      "kid": "somebase64encodestring", #key id
      "alg": "RS256",  #key algoritham. Here it is RSA.
      "n": "anotherbase64encodestring"  #This is the actual public key base64 encoded.
    }
  ]
}
4

1 回答 1

2

它也是公钥的一部分。来自https://datatracker.ietf.org/doc/html/rfc7518#section-6.3.1.2

6.3.1.2。“e”(指数)参数

“e”(指数)参数包含 RSA 公钥的指数值。它表示为 Base64urlUInt 编码的值。

例如,当表示值 65537 时,要进行 base64url 编码的八位字节序列必须由三个八位字节 [1, 0, 1] 组成;该值的结果表示为“AQAB”。

于 2021-11-18T16:43:52.213 回答