14 references to BuildProtectedDataFromCiphertext
Microsoft.AspNetCore.DataProtection.Tests (14)
KeyManagement\KeyRingBasedDataProtectorTests.cs (14)
55byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });
93byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });
163byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
181byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
199byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]);
212byte[] protectedData = BuildProtectedDataFromCiphertext(
265byte[] protectedData = BuildProtectedDataFromCiphertext(
296byte[] protectedData = BuildProtectedDataFromCiphertext(
332byte[] protectedData = BuildProtectedDataFromCiphertext(
399byte[] protectedData = BuildProtectedDataFromCiphertext(
431byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext);
478byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext);
527byte[] protectedData = BuildProtectedDataFromCiphertext(embeddedKeyId, expectedCiphertext);
604byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });