1 write to _aadTemplate
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
45
_aadTemplate
= new AdditionalAuthenticatedDataTemplate(Purposes);
4 references to _aadTemplate
Microsoft.AspNetCore.DataProtection (4)
KeyManagement\KeyRingBasedDataProtector.cs (2)
116
var aad =
_aadTemplate
.GetAadForKey(defaultKeyId, isProtecting: true);
288
ArraySegment<byte> additionalAuthenticatedData = new ArraySegment<byte>(
_aadTemplate
.GetAadForKey(keyIdFromPayload, isProtecting: false));
KeyManagement\KeyRingBasedSpanDataProtector.cs (2)
45
var aad =
_aadTemplate
.GetAadForKey(defaultKeyId, isProtecting: true);
152
ReadOnlySpan<byte> aad =
_aadTemplate
.GetAadForKey(keyIdFromPayload, isProtecting: false);