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