blob: 9f78c2291da65fe26dabbbc2f10fac105a67de8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$Id$
Rough plan for initial prototype RE.
1) Hack quick cert generator [done]
2) Hack xml-parse-test into something that can:
- Generate XML (just compose directly, probably)
- Encode XML in CMS using specified signing key and certs
- Write that to a destination file
- Pick up signed CMS from from a file
- Check CMS signatures and extract XML
- Validate (xmllint --relaxng) the XML
- Decode (xml.sax) the XML and dump the result
Log everything as we go.
data structures.
Schema is RNC (RelaxNG Compact) syntax, xmllint wants RNG (RelaxNG
XML) syntax, so use /usr/ports/textproc/trang to convert:
$ trang foo.rnc foo.rng
3) Whack (2) into something that does this over minimal HTTP.
4) [to be continued...]
|