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