17 references to Compute
Microsoft.AspNetCore.Identity.Test (17)
Passkeys\PasskeyHandlerAssertionTest.cs (8)
1009
var storedPasskey = StoredPasskey.
Compute
(new(
1057
var assertionStateJson = AssertionStateJson.
Compute
(requestOptionsResult.AssertionState);
1058
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1064
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1065
var clientDataJson = ClientDataJson.
Compute
($$"""
1073
var clientDataHash = ClientDataHash.
Compute
(SHA256.HashData(clientDataJsonBytes));
1075
var signature = Signature.
Compute
(credential.SignData(dataToSign));
1076
var credentialJson = CredentialJson.
Compute
($$"""
Passkeys\PasskeyHandlerAttestationTest.cs (9)
1037
var attestationState = AttestationStateJson.
Compute
(creationOptionsResult.AttestationState);
1040
var attestedCredentialDataArgs = AttestedCredentialDataArgs.
Compute
(new()
1046
var attestedCredentialData = AttestedCredentialData.
Compute
(MakeAttestedCredentialData(attestedCredentialDataArgs));
1047
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1054
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1055
var attestationObjectArgs = AttestationObjectArgs.
Compute
(new()
1062
var attestationObject = AttestationObject.
Compute
(MakeAttestationObject(attestationObjectArgs));
1063
var clientDataJson = ClientDataJson.
Compute
($$"""
1070
var credentialJson = CredentialJson.
Compute
($$"""