17 references to Compute
Microsoft.AspNetCore.Identity.Test (17)
Passkeys\PasskeyHandlerAssertionTest.cs (8)
1012
var storedPasskey = StoredPasskey.
Compute
(new(
1060
var assertionStateJson = AssertionStateJson.
Compute
(requestOptionsResult.AssertionState);
1061
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1067
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1068
var clientDataJson = ClientDataJson.
Compute
($$"""
1076
var clientDataHash = ClientDataHash.
Compute
(SHA256.HashData(clientDataJsonBytes));
1078
var signature = Signature.
Compute
(credential.SignData(dataToSign));
1079
var credentialJson = CredentialJson.
Compute
($$"""
Passkeys\PasskeyHandlerAttestationTest.cs (9)
1040
var attestationState = AttestationStateJson.
Compute
(creationOptionsResult.AttestationState);
1043
var attestedCredentialDataArgs = AttestedCredentialDataArgs.
Compute
(new()
1049
var attestedCredentialData = AttestedCredentialData.
Compute
(MakeAttestedCredentialData(attestedCredentialDataArgs));
1050
var authenticatorDataArgs = AuthenticatorDataArgs.
Compute
(new()
1057
var authenticatorData = AuthenticatorData.
Compute
(MakeAuthenticatorData(authenticatorDataArgs));
1058
var attestationObjectArgs = AttestationObjectArgs.
Compute
(new()
1065
var attestationObject = AttestationObject.
Compute
(MakeAttestationObject(attestationObjectArgs));
1066
var clientDataJson = ClientDataJson.
Compute
($$"""
1073
var credentialJson = CredentialJson.
Compute
($$"""