a Secarta project ...

HTTPsec Authentication Protocol


Preamble

3.3.1. Challenge Response

The WWW-Authenticate header [HTTP][ 14.47] for challenge responses has the following form:

"WWW-Authenticate: httpsec/1.0 challenge, "
 1#(  id
   | [certificate] )

id          = "id=" <URI>
certificate = "certificate=" <URI>

Example message:

HTTP/1.1 401 Unauthorized
WWW-Authenticate: httpsec/1.0 challenge
    id=alice.example.com
    certificate=http://alice.example.com/my-cert

(For legibility, the example's protocol header is extended over multiple lines, as per [HTTP][4.2].)