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