1 helpnode "gnutls-serv help\nUsage: gnutls-serv [options]"
4 option (g, generate) { $generate = 1 } "Generate Diffie Hellman Parameters."
7 option (p, port) INT "integer" { $port = $1 } "The port to connect to."
10 option (http) { $http = 1 } "Act as an HTTP Server."
11 option (echo) { $http = 0 } "Act as an Echo Server."
14 option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
17 option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
20 option (pgpkeyring) STR "FILE" { $pgp_keyring = $1 } "PGP Key ring file to use."
23 option (pgptrustdb) STR "FILE" { $pgp_keyring = $1 } "PGP trustdb file to use."
26 option (pgpkeyfile) STR "FILE" { $pgp_keyfile = $1 } "PGP Key file to use."
29 option (pgpcertfile) STR "FILE" { $pgp_certfile = $1 } "PGP Public Key (certificate) file to use."
32 option (x509keyfile) STR "FILE" { $x509_keyfile = $1 } "X.509 key file to use."
35 option (x509certfile) STR "FILE" { $x509_certfile = $1 } "X.509 Certificate file to use."
38 option (pgpkeyserver) STR "FILE" { $pgp_keyserver = $1 } "PGP Keyserver to use."
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."
49 option (ciphers) *STR "cipher1 cipher2..." { $ciphers = $1; $nciphers = @1 } "Ciphers to enable."
53 option (protocols) *STR "protocol1 protocol2..." { $proto = $1; $nproto = @1 } "Protocols to enable."
57 option (comp) *STR "comp1 comp2..." { $comp = $1; $ncomp = @1 } "Compression methods to enable."
61 option (macs) *STR "mac1 mac2..." { $macs = $1; $nmacs = @1 } "MACs to enable."
65 option (kx) *STR "kx1 kx2..." { $kx = $1; $nkx = @1 } "Key exchange methods to enable."
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; }