0

I am getting attestationObject: ArrayBuffer(648) from registartion process. I want to fetch the public key from attestationObject.

sdk
  • 11
  • 1
  • 3
  • Tell us what you have tried and show logs or results and Read: https://stackoverflow.com/help/how-to-ask – jwilleke Nov 25 '20 at 10:21

2 Answers2

0

This is not really a trivial topic. I'd suggest looking at existing implementations and either using them if you can or at least look at their code to see how they've done it.

A Java one: https://github.com/webauthn4j/webauthn4j

A .Net one: https://github.com/abergs/fido2-net-lib

Spec: https://www.w3.org/TR/webauthn/#attestation-object

mackie
  • 4,996
  • 1
  • 17
  • 17
0

Here is the structureenter image description here

Suggest reading my article on verifying FIDO2 responses https://herrjemand.medium.com/verifying-fido2-responses-4691288c8770

Ackermann Yuriy
  • 537
  • 3
  • 10