4 references to GetAadForKey
Microsoft.AspNetCore.DataProtection (4)
KeyManagement\KeyRingBasedDataProtector.cs (2)
116
var aad = _aadTemplate.
GetAadForKey
(defaultKeyId, isProtecting: true);
288
ArraySegment<byte> additionalAuthenticatedData = new ArraySegment<byte>(_aadTemplate.
GetAadForKey
(keyIdFromPayload, isProtecting: false));
KeyManagement\KeyRingBasedSpanDataProtector.cs (2)
45
var aad = _aadTemplate.
GetAadForKey
(defaultKeyId, isProtecting: true);
152
ReadOnlySpan<byte> aad = _aadTemplate.
GetAadForKey
(keyIdFromPayload, isProtecting: false);