I'm trying to build a FIDO2 client. As part of the FIDO2 registration process, I'm trying to generate the client payload to send to the FIDO2 server. For the authData structure,
https://medium.com/@herrjemand/verifying-fido2-responses-4691288c8770 has the split up of how it is populated, but has no details on the COSEencoded publickey. I have an RSA publickey. Can someone tell me how to coseencode it?
Should i make a CBOR map with fields "n" and "E" that stores the modulus and exponent respectively?
Thanks
Arun