18 references to Compute
Microsoft.AspNetCore.Identity.Test (18)
Passkeys\DefaultPasskeyHandlerAssertionTest.cs (8)
1227
var originalOptionsJson = OriginalOptionsJson.
Compute
($$"""
1237
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1243
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1244
var clientDataJson = ClientDataJson.
Compute
($$"""
1252
var clientDataHash = ClientDataHash.
Compute
(SHA256.HashData(clientDataJsonBytes));
1254
var signature = Signature.
Compute
(credential.SignData(dataToSign));
1255
var credentialJson = CredentialJson.
Compute
($$"""
1271
var storedPasskey = StoredPasskey.
Compute
(new(
Passkeys\DefaultPasskeyHandlerAttestationTest.cs (10)
1204
var supportedPublicKeyCredentialParameters = SupportedPublicKeyCredentialParameters.
Compute
(
1209
var originalOptionsJson = OriginalOptionsJson.
Compute
($$"""
1231
var attestedCredentialDataArgs = AttestedCredentialDataArgs.
Compute
(new()
1237
var attestedCredentialData = AttestedCredentialData.
Compute
(MakeAttestedCredentialData(attestedCredentialDataArgs));
1238
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1245
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1246
var attestationObjectArgs = AttestationObjectArgs.
Compute
(new()
1253
var attestationObject = AttestationObject.
Compute
(MakeAttestationObject(attestationObjectArgs));
1254
var clientDataJson = ClientDataJson.
Compute
($$"""
1261
var credentialJson = CredentialJson.
Compute
($$"""