4 references to GetAadForKey
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);