Reworked code around signing keys have key details much more isolated from the other parts of the program.
This commit is contained in:
parent
eb872a4f44
commit
0c6f227049
40 changed files with 474 additions and 281 deletions
|
|
@ -11,8 +11,8 @@ public static class EncryptionServiceSubstitute
|
|||
.Encrypt(Arg.Any<byte[]>())
|
||||
.Returns(x => x.ArgAt<byte[]>(0));
|
||||
encryptionService
|
||||
.Decrypt(Arg.Any<byte[]>())
|
||||
.Returns(x => x.ArgAt<byte[]>(0));
|
||||
.Decrypt(Arg.Any<ReadOnlyMemory<byte>>())
|
||||
.Returns(x => x.ArgAt<ReadOnlyMemory<byte>>(0).ToArray());
|
||||
return encryptionService;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue