2 implementations of DefaultKeyId
Microsoft.AspNetCore.DataProtection (2)
EphemeralDataProtectionProvider.cs (1)
85public Guid DefaultKeyId { get; }
KeyManagement\KeyRing.cs (1)
48public Guid DefaultKeyId { get; }
6 references to DefaultKeyId
Microsoft.AspNetCore.DataProtection (3)
Internal\DataProtectionHostedService.cs (1)
37_logger.KeyRingWasLoadedOnStartup(keyRing.DefaultKeyId);
KeyManagement\KeyRingBasedDataProtector.cs (2)
97var defaultKeyId = currentKeyRing.DefaultKeyId; 250if (keyIdFromPayload != currentKeyRing.DefaultKeyId)
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\KeyRingBasedDataProtectorTests.cs (3)
54mockKeyRing.Setup(o => o.DefaultKeyId).Returns(defaultKey); 92mockKeyRing.Setup(o => o.DefaultKeyId).Returns(defaultKey); 603mockKeyRing.Setup(o => o.DefaultKeyId).Returns(defaultKey);