Class: WebAuthn::AuthenticatorData::AttestedCredentialData::Credential
- Inherits:
-
Struct
- Object
- Struct
- WebAuthn::AuthenticatorData::AttestedCredentialData::Credential
- Defined in:
- lib/webauthn/authenticator_data/attested_credential_data.rb
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#id ⇒ Object
Returns the value of attribute id.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
Instance Method Summary collapse
Instance Attribute Details
#algorithm ⇒ Object
Returns the value of attribute algorithm
25 26 27 |
# File 'lib/webauthn/authenticator_data/attested_credential_data.rb', line 25 def algorithm @algorithm end |
#id ⇒ Object
Returns the value of attribute id
25 26 27 |
# File 'lib/webauthn/authenticator_data/attested_credential_data.rb', line 25 def id @id end |
#public_key ⇒ Object
Returns the value of attribute public_key
25 26 27 |
# File 'lib/webauthn/authenticator_data/attested_credential_data.rb', line 25 def public_key @public_key end |
Instance Method Details
#public_key_object ⇒ Object
27 28 29 |
# File 'lib/webauthn/authenticator_data/attested_credential_data.rb', line 27 def public_key_object COSE::Key.deserialize(public_key).to_pkey end |