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)
108
var aad =
_aadTemplate
.GetAadForKey(defaultKeyId, isProtecting: true);
278
ArraySegment<byte> additionalAuthenticatedData = new ArraySegment<byte>(
_aadTemplate
.GetAadForKey(keyIdFromPayload, isProtecting: false));