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)
116var aad = _aadTemplate.GetAadForKey(defaultKeyId, isProtecting: true); 288ArraySegment<byte> additionalAuthenticatedData = new ArraySegment<byte>(_aadTemplate.GetAadForKey(keyIdFromPayload, isProtecting: false));
KeyManagement\KeyRingBasedSpanDataProtector.cs (2)
45var aad = _aadTemplate.GetAadForKey(defaultKeyId, isProtecting: true); 152ReadOnlySpan<byte> aad = _aadTemplate.GetAadForKey(keyIdFromPayload, isProtecting: false);