Class: WebAuthn::AttestationStatement::AndroidSafetynet
- Defined in:
- lib/webauthn/attestation_statement/android_safetynet.rb
Overview
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#attestation_certificate, #attestation_certificate_key_id, #format, #initialize
Constructor Details
This class inherits a constructor from WebAuthn::AttestationStatement::Base
Instance Method Details
#valid?(authenticator_data, client_data_hash) ⇒ Boolean
11 12 13 14 15 16 17 |
# File 'lib/webauthn/attestation_statement/android_safetynet.rb', line 11 def valid?(authenticator_data, client_data_hash) valid_response?(authenticator_data, client_data_hash) && valid_version? && cts_profile_match? && trustworthy?(aaguid: authenticator_data.aaguid) && [attestation_type, attestation_trust_path] end |