- From: vanupam <notifications@github.com>
- Date: Tue, 07 Nov 2017 02:20:24 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 November 2017 02:20:46 UTC
vanupam commented on this pull request. > +<h4 id=getting-token-binding-key>Getting a Token Binding Key</h4> + +<p>Get the <a for=/>token-binding key</a> for an <a for=/>origin</a> <var>tokenBindingOrigin</var> +and <a for=/>token-binding key parameters</a> <var>tokenBindingKeyParameters</var>, +using the user agent's <a for=/>token-binding key</a> store, by running these substeps: + +<ol> + <li><p>Let <var>keyDomainName</var> be null. + + <li><p>If <var>tokenBindingOrigin</var>'s host is an IP address, set <var>keyDomainName</var> to + <var>tokenBindingOrigin</var>'s host. + + <p>Otherwise, set <var>keyDomainName</var> to the registrable domain of + <var>tokenBindingOrigin</var>'s host, determined by running the steps in the Algorithm section of + <a href=https://publicsuffix.org/list/>Public Suffix List</a> + [[PUBLIC-SUFFIX]] I think the Algorithm in https://publicsuffix.org/list/ gives us the registrable domain that we want. (https://html.spec.whatwg.org/#is-a-registrable-domain-suffix-of-or-is-equal-to returns a boolean) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/325#discussion_r149258461
Received on Tuesday, 7 November 2017 02:20:46 UTC