14 references to BuildProtectedDataFromCiphertext
Microsoft.AspNetCore.DataProtection.Tests (14)
KeyManagement\KeyRingBasedDataProtectorTests.cs (14)
41byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });
79byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });
149byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
167byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
185byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
198byte[] protectedData = BuildProtectedDataFromCiphertext(
251byte[] protectedData = BuildProtectedDataFromCiphertext(
282byte[] protectedData = BuildProtectedDataFromCiphertext(
318byte[] protectedData = BuildProtectedDataFromCiphertext(
385byte[] protectedData = BuildProtectedDataFromCiphertext(
417byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext);
464byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext);
513byte[] protectedData = BuildProtectedDataFromCiphertext(embeddedKeyId, expectedCiphertext);
590byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });