Class: WebAuthn::AttestationStatement::AndroidKey
- Defined in:
- lib/webauthn/attestation_statement/android_key.rb
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
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/webauthn/attestation_statement/android_key.rb', line 10 def valid?(authenticator_data, client_data_hash) valid_signature?(authenticator_data, client_data_hash) && matching_public_key?(authenticator_data) && valid_attestation_challenge?(client_data_hash) && all_applications_fields_not_set? && && && trustworthy?(aaguid: authenticator_data.aaguid) && [attestation_type, attestation_trust_path] end |