1 write to _aadTemplate
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
44_aadTemplate = new AdditionalAuthenticatedDataTemplate(Purposes);
2 references to _aadTemplate
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\KeyRingBasedDataProtector.cs (2)
112var aad = _aadTemplate.GetAadForKey(defaultKeyId, isProtecting: true); 282ArraySegment<byte> additionalAuthenticatedData = new ArraySegment<byte>(_aadTemplate.GetAadForKey(keyIdFromPayload, isProtecting: false));