14 references to BuildProtectedDataFromCiphertext
Microsoft.AspNetCore.DataProtection.Tests (14)
KeyManagement\KeyRingBasedDataProtectorTests.cs (14)
42byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 }); 80byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 }); 150byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 168byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 186byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 199byte[] protectedData = BuildProtectedDataFromCiphertext( 252byte[] protectedData = BuildProtectedDataFromCiphertext( 283byte[] protectedData = BuildProtectedDataFromCiphertext( 319byte[] protectedData = BuildProtectedDataFromCiphertext( 386byte[] protectedData = BuildProtectedDataFromCiphertext( 418byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext); 465byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext); 514byte[] protectedData = BuildProtectedDataFromCiphertext(embeddedKeyId, expectedCiphertext); 591byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });