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))
513
var clientDataHash = SHA256.HashData(response.ClientDataJSON.
AsSpan
());
516
byte[] data = [.. response.AuthenticatorData.
AsSpan
(), .. clientDataHash];
518
if (!cpk.Verify(data, response.Signature.
AsSpan
()))
594
if (!CryptographicOperations.FixedTimeEquals(clientData.Challenge.
AsSpan
(), originalChallenge.Span))
Passkeys\BufferSourceJsonConverter.cs (1)
38
var bytes = value.
AsSpan
();