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 6 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
13 changes: 11 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,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 @@ -3001,6 +3001,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 -- TUP and ED set
00 00 00 01 -- (initial) signature counter
Expand Down Expand Up @@ -3093,7 +3103,6 @@ This [=registration extension=] and [=authentication extension=] enables use of
01 -- Subitem 3: CBOR short for Matcher Protection Type Software
</pre>


# IANA Considerations # {#sctn-IANA}

## WebAuthn Attestation Statement Format Identifier Registrations ## {#sctn-att-fmt-reg}
Expand Down