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