<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
CURLOPT_HTTPSIG_ALGORITHM
RFC9421
</keywords>
</info>

# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Content-Length: 0

</data>
</reply>

# Client-side
<client>
<server>
http
</server>
# this relies on the Debug feature which allows tests to set the time
<features>
Debug
httpsig
</features>

<name>
HTTP RFC 9421 Message Signatures: basic GET with Ed25519
</name>
<tool>
lib%TESTNUMBER
</tool>

<command>
http://example.com:9000/%TESTNUMBER/resource example.com:9000:%HOSTIP:%HTTPPORT
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER/resource HTTP/1.1
Host: example.com:9000
Signature-Input: sig1=("@method" "@authority" "@path");created=0;keyid="test-key-ed25519";alg="ed25519"
Signature: sig1=:Olp3ugYSVwc47PTNBMrkV2P+8p5w2VPFzURxNaG44UA2On6OFG2FzFLEl8QEN1khiOdRNlFDouZsOwpJoPHvBA==:
Accept: */*

</protocol>
</verify>
</testcase>
