Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDDL description of location extension #695

Merged
merged 9 commits into from
Dec 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3727,7 +3727,7 @@ This [=registration extension=] and [=authentication extension=] enables use of
## Location Extension (loc) ## {#sctn-location-extension}

The location [=registration extension=] and [=authentication extension=] provides the client device's current location to the
WebAuthn [=[RP]=].
WebAuthn [=[RP]=].

: Extension identifier
:: `loc`
Expand Down Expand Up @@ -3759,6 +3759,16 @@ WebAuthn [=[RP]=].
Specification](https://dev.w3.org/geo/api/spec-source.html#coordinates_interface).

<pre>
CDDL:
{
loc: positionCoordinates,
}
positionCoordinates = [
latitude: float64,
longitude: float64,
altitude: float64
]
CBOR Example:
... -- [=RP ID=] hash (32 bytes)
81 -- UP and ED set
00 00 00 01 -- (initial) signature counter
Expand Down