6 references to BuildAadFromPurposeStrings
Microsoft.AspNetCore.DataProtection.Tests (6)
KeyManagement\KeyRingBasedDataProtectorTests.cs (6)
40
byte[] expectedAad =
BuildAadFromPurposeStrings
(defaultKey, "purpose1", "purpose2", "yet another purpose");
78
byte[] expectedAad =
BuildAadFromPurposeStrings
(defaultKey, "single purpose");
418
byte[] expectedAad =
BuildAadFromPurposeStrings
(defaultKeyId, "purpose");
465
byte[] expectedAad =
BuildAadFromPurposeStrings
(defaultKeyId, "purpose");
514
byte[] expectedAad =
BuildAadFromPurposeStrings
(embeddedKeyId, "purpose");
589
byte[] expectedAad =
BuildAadFromPurposeStrings
(defaultKey, "purpose1", "purpose2");