14 references to BuildProtectedDataFromCiphertext
Microsoft.AspNetCore.DataProtection.Tests (14)
KeyManagement\KeyRingBasedDataProtectorTests.cs (14)
48byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 }); 86byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 }); 156byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 174byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 192byte[] badProtectedPayload = BuildProtectedDataFromCiphertext(Guid.NewGuid(), new byte[0]); 205byte[] protectedData = BuildProtectedDataFromCiphertext( 258byte[] protectedData = BuildProtectedDataFromCiphertext( 289byte[] protectedData = BuildProtectedDataFromCiphertext( 325byte[] protectedData = BuildProtectedDataFromCiphertext( 392byte[] protectedData = BuildProtectedDataFromCiphertext( 424byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext); 471byte[] protectedData = BuildProtectedDataFromCiphertext(defaultKeyId, expectedCiphertext); 520byte[] protectedData = BuildProtectedDataFromCiphertext(embeddedKeyId, expectedCiphertext); 597byte[] expectedProtectedData = BuildProtectedDataFromCiphertext(defaultKey, new byte[] { 0x23, 0x29, 0x31, 0x37 });