5 references to Common_KeyNotFound
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\KeyRingBasedDataProtector.cs (1)
254throw Error.Common_KeyNotFound(keyIdFromPayload);
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
135throw Error.Common_KeyNotFound(keyIdFromPayload);
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\KeyRingBasedDataProtectorTests.cs (3)
228Assert.Equal(Error.Common_KeyNotFound(notFoundKeyId).Message, ex.Message); 281Assert.Equal(Error.Common_KeyNotFound(notFoundKeyId).Message, ex.Message); 317Assert.Equal(Error.Common_KeyNotFound(notFoundKeyId).Message, ex.Message);