2 implementations of DefaultAuthenticatedEncryptor
Microsoft.AspNetCore.DataProtection (2)
EphemeralDataProtectionProvider.cs (1)
83
public IAuthenticatedEncryptor?
DefaultAuthenticatedEncryptor
{ get; }
KeyManagement\KeyRing.cs (1)
40
public IAuthenticatedEncryptor?
DefaultAuthenticatedEncryptor
5 references to DefaultAuthenticatedEncryptor
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\Internal\IKeyRing.cs (1)
23
/// The id of the key associated with <see cref="
DefaultAuthenticatedEncryptor
"/>.
KeyManagement\KeyRingBasedDataProtector.cs (1)
98
var defaultEncryptorInstance = currentKeyRing.
DefaultAuthenticatedEncryptor
;
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\KeyRingBasedDataProtectorTests.cs (3)
55
mockKeyRing.Setup(o => o.
DefaultAuthenticatedEncryptor
).Returns(mockEncryptor.Object);
93
mockKeyRing.Setup(o => o.
DefaultAuthenticatedEncryptor
).Returns(mockEncryptor.Object);
604
mockKeyRing.Setup(o => o.
DefaultAuthenticatedEncryptor
).Returns(mockEncryptor.Object);