a Secarta project ...

HTTPsec Authentication Protocol


Preamble

3.2.2. Continuation Response

The WWW-Authenticate header [HTTP][ 14.47] in protocol continuation responses has the following form:

"WWW-Authenticate: httpsec/1.0 continue, "
 1#(  count
   |  mac
   | [digest] )

count  = "count=" 1*decimal
mac    = "mac=" base64
digest = "digest=" base64

Example message:

HTTP/1.1 200 OK
Date: Thu, 11 Aug 2005 18:20:48 GMT
Expires: Thu, 11 Aug 2005 18:20:48 GMT
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 1234
Cache-Control: no-transform
Content-Encoding: x-httpsec/1.0-cipher
WWW-Authenticate: httpsec/1.0 continue
    count=2
    mac=VplDHX3SNgzWkLKgZkjZ+I5wvImOHAMptVSc/Abttps=
    digest=V3w0W9y2X5Vy+5+Ncv5lAI3rb8qMlGzrOh9zjHXRHbk= 

<entity-body ciphertext bytes>

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