*** empty log message ***
[gnutls.git] / src / serv.gaa
blobeeb6f2ee6e57d23d7f5e6be696d7edf28f15c31e
1 helpnode "gnutls-serv help\nUsage: gnutls-serv [options]"
3 #int generate;
4 option (g, generate) { $generate = 1 } "Generate Diffie Hellman Parameters."
6 #int port;
7 option (p, port) INT "integer" { $port = $1 } "The port to connect to."
9 #int http;
10 option (http) { $http = 1 } "Act as an HTTP Server."
12 #int fmtder;
13 option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
15 #char *x509_cafile;
16 option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
18 #char *pgp_keyring;
19 option (pgpkeyring) STR "FILE" { $pgp_keyring = $1 } "PGP Key ring file to use."
21 #char *pgp_trustdb;
22 option (pgptrustdb) STR "FILE" { $pgp_keyring = $1 } "PGP trustdb file to use."
24 #char *pgp_keyfile;
25 option (pgpkeyfile) STR "FILE" { $pgp_keyfile = $1 } "PGP Key file to use."
27 #char *pgp_certfile;
28 option (pgpcertfile) STR "FILE" { $pgp_certfile = $1 } "PGP Public Key (certificate) file to use."
30 #char *x509_keyfile;
31 option (x509keyfile) STR "FILE" { $x509_keyfile = $1 } "X.509 key file to use."
33 #char *x509_certfile;
34 option (x509certfile) STR "FILE" { $x509_certfile = $1 } "X.509 Certificate file to use."
36 #char *pgp_keyserver;
37 option (pgpkeyserver) STR "FILE" { $pgp_keyserver = $1 } "PGP Keyserver to use."
39 #char *srp_passwd;
40 option (srppasswd) STR "FILE" { $srp_passwd = $1 } "SRP password file to use."
42 #char *srp_passwd_conf;
43 option (srppasswdconf) STR "FILE" { $srp_passwd_conf = $1 } "SRP password conf file to use."
46 #int nciphers;
47 #char **ciphers;
48 option (ciphers) *STR "cipher1 cipher2..." { $ciphers = $1; $nciphers = @1 } "Ciphers to enable."
50 #int nproto;
51 #char **proto;
52 option (protocols) *STR "protocol1 protocol2..." { $proto = $1; $nproto = @1 } "Protocols to enable."
54 #int ncomp;
55 #char **comp;
56 option (comp) *STR "comp1 comp2..." { $comp = $1; $ncomp = @1 } "Compression methods to enable."
58 #int nmacs;
59 #char **macs;
60 option (macs) *STR "mac1 mac2..." { $macs = $1; $nmacs = @1 } "MACs to enable."
62 #int nkx;
63 #char **kx;
64 option (kx) *STR "kx1 kx2..." { $kx = $1; $nkx = @1 } "Key exchange methods to enable."
66 #int nctype;
67 #char **ctype;
68 option (ctypes) *STR "certType1 certType2..." { $ctype = $1; $nctype = @1 } "Certificate types to enable."
71 option (l, list) { print_list(); exit(0); } "Print a list of the supported algorithms  and modes."
72 option (h, help) { gaa_help(); exit(0); } "prints this help"
74 init { $generate=0; $port=5556; $http=0; $ciphers=NULL;
75         $kx=NULL; $comp=NULL; $macs=NULL; $ctype=NULL; $nciphers=0;
76         $nkx=0; $ncomp=0; $nmacs=0; $nctype = 0;
77         $x509_cafile = NULL; $pgp_keyfile=NULL; $pgp_certfile=NULL;
78         $x509_keyfile=NULL; $x509_certfile=NULL; $pgp_keyserver=NULL; 
79         $srp_passwd=NULL; $srp_passwd_conf=NULL; 
80         $pgp_trustdb=NULL; $pgp_keyring=NULL; $fmtder = 0; }
84 #include <common.h>