*** empty log message ***
[gnutls.git] / src / serv.gaa
blobadcdb79925699024a7ee2cd04a6a0a0df954946b
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."
11 option (echo) { $http = 0 } "Act as an Echo Server."
13 #int fmtder;
14 option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
16 #char *x509_cafile;
17 option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
19 #char *pgp_keyring;
20 option (pgpkeyring) STR "FILE" { $pgp_keyring = $1 } "PGP Key ring file to use."
22 #char *pgp_trustdb;
23 option (pgptrustdb) STR "FILE" { $pgp_keyring = $1 } "PGP trustdb file to use."
25 #char *pgp_keyfile;
26 option (pgpkeyfile) STR "FILE" { $pgp_keyfile = $1 } "PGP Key file to use."
28 #char *pgp_certfile;
29 option (pgpcertfile) STR "FILE" { $pgp_certfile = $1 } "PGP Public Key (certificate) file to use."
31 #char *x509_keyfile;
32 option (x509keyfile) STR "FILE" { $x509_keyfile = $1 } "X.509 key file to use."
34 #char *x509_certfile;
35 option (x509certfile) STR "FILE" { $x509_certfile = $1 } "X.509 Certificate file to use."
37 #char *pgp_keyserver;
38 option (pgpkeyserver) STR "FILE" { $pgp_keyserver = $1 } "PGP Keyserver to use."
40 #char *srp_passwd;
41 option (srppasswd) STR "FILE" { $srp_passwd = $1 } "SRP password file to use."
43 #char *srp_passwd_conf;
44 option (srppasswdconf) STR "FILE" { $srp_passwd_conf = $1 } "SRP password conf file to use."
47 #int nciphers;
48 #char **ciphers;
49 option (ciphers) *STR "cipher1 cipher2..." { $ciphers = $1; $nciphers = @1 } "Ciphers to enable."
51 #int nproto;
52 #char **proto;
53 option (protocols) *STR "protocol1 protocol2..." { $proto = $1; $nproto = @1 } "Protocols to enable."
55 #int ncomp;
56 #char **comp;
57 option (comp) *STR "comp1 comp2..." { $comp = $1; $ncomp = @1 } "Compression methods to enable."
59 #int nmacs;
60 #char **macs;
61 option (macs) *STR "mac1 mac2..." { $macs = $1; $nmacs = @1 } "MACs to enable."
63 #int nkx;
64 #char **kx;
65 option (kx) *STR "kx1 kx2..." { $kx = $1; $nkx = @1 } "Key exchange methods to enable."
67 #int nctype;
68 #char **ctype;
69 option (ctypes) *STR "certType1 certType2..." { $ctype = $1; $nctype = @1 } "Certificate types to enable."
72 option (l, list) { print_list(); exit(0); } "Print a list of the supported algorithms  and modes."
73 option (h, help) { gaa_help(); exit(0); } "prints this help"
75 init { $generate=0; $port=5556; $http=0; $ciphers=NULL;
76         $kx=NULL; $comp=NULL; $macs=NULL; $ctype=NULL; $nciphers=0;
77         $nkx=0; $ncomp=0; $nmacs=0; $nctype = 0;
78         $x509_cafile = NULL; $pgp_keyfile=NULL; $pgp_certfile=NULL;
79         $x509_keyfile=NULL; $x509_certfile=NULL; $pgp_keyserver=NULL; 
80         $srp_passwd=NULL; $srp_passwd_conf=NULL; 
81         $pgp_trustdb=NULL; $pgp_keyring=NULL; $fmtder = 0; }
85 #include <common.h>