refactor(IRSADecryptor): Umbenennung in IAsymmetricPrivateKey
This commit is contained in:
@@ -38,7 +38,7 @@ namespace DigitalData.Core.Security
|
||||
var description = _params.Descriptions?.Get(issuer: issuer, audience: audience)
|
||||
?? throw new InvalidOperationException($"No or multiple token description found for issuer '{issuer}' and audience '{audience}'.");
|
||||
|
||||
description.SigningCredentials = _cryptHandler.Decryptors
|
||||
description.SigningCredentials = _cryptHandler.PrivateKeys
|
||||
.Get(issuer: issuer, audience: audience)
|
||||
.CreateSigningCredentials(algorithm: description.SigningAlgorithm, digest: description.SigningDigest);
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace DigitalData.Core.Security
|
||||
var description = _params.Descriptions.SingleOrDefault(description => description.ApiRoute == apiRoute)
|
||||
?? throw new InvalidOperationException($"No or multiple token description found for api route '{apiRoute}'.");
|
||||
|
||||
description.SigningCredentials = _cryptHandler.Decryptors
|
||||
description.SigningCredentials = _cryptHandler.PrivateKeys
|
||||
.Get(issuer: description.Issuer, audience: description.Audience)
|
||||
.CreateSigningCredentials(algorithm: description.SigningAlgorithm, digest: description.SigningDigest);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user