7 references to AsSpan
Microsoft.AspNetCore.Identity (7)
PasskeyHandler.cs (6)
268
var clientDataHash = SHA256.HashData(response.ClientDataJSON.
AsSpan
());
327
if (!credential.Id.
AsSpan
().SequenceEqual(attestedCredentialData.CredentialId.Span))
510
var clientDataHash = SHA256.HashData(response.ClientDataJSON.
AsSpan
());
513
byte[] data = [.. response.AuthenticatorData.
AsSpan
(), .. clientDataHash];
515
if (!cpk.Verify(data, response.Signature.
AsSpan
()))
591
if (!CryptographicOperations.FixedTimeEquals(clientData.Challenge.
AsSpan
(), originalChallenge.Span))
Passkeys\BufferSourceJsonConverter.cs (1)
38
var bytes = value.
AsSpan
();