fido2.attestation.android

Classes

AndroidSafetynetAttestation

Implements verification of a specific attestation type.

Module Contents

class fido2.attestation.android.AndroidSafetynetAttestation(allow_rooted=False)[source]

Bases: fido2.attestation.base.Attestation

Implements verification of a specific attestation type.

Parameters:

allow_rooted (bool)

FORMAT = 'android-safetynet'
allow_rooted
verify(statement, auth_data, client_data_hash)[source]

Verifies attestation statement.

Returns:

An AttestationResult if successful.