Improve the binary storage format of encrypted secrets. Move the related code from AesGcmHelper into the EncryptionService.
This commit is contained in:
parent
ac08956339
commit
4201d0240d
11 changed files with 110 additions and 131 deletions
|
|
@ -72,8 +72,8 @@ public class JwtSignatureGeneratorTests
|
|||
var rsa = RSA.Create();
|
||||
var parameters = new RSAParameters
|
||||
{
|
||||
Modulus = WebEncoders.Base64UrlDecode(jwk.Modulus),
|
||||
Exponent = WebEncoders.Base64UrlDecode(jwk.Exponent)
|
||||
Modulus = WebEncoders.Base64UrlDecode(jwk.Modulus!),
|
||||
Exponent = WebEncoders.Base64UrlDecode(jwk.Exponent!)
|
||||
};
|
||||
|
||||
rsa.ImportParameters(parameters);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue