Identity Server 4文档(此处为http://docs.identityserver.io/en/latest/topics/crypto.html?highlight=data%20protection)讨论了签名密钥和验证密钥。我知道签名密钥是使用
AddSigningCredential(<X509Certificate2>)
Run Code Online (Sandbox Code Playgroud)
有两个用于验证密钥的API
AddValidationKey(<X509Certificate2>)
AddValidationKeys(<Microsoft.IdentityModel.Tokens.AsymmetricSecurityKey[]>)
Run Code Online (Sandbox Code Playgroud)
该文档讨论了对密钥过渡进行签名并将多个验证密钥添加到发现文档中。问题-