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