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."
13 option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
16 option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
19 option (pgpkeyring) STR "FILE" { $pgp_keyring = $1 } "PGP Key ring file to use."
22 option (pgptrustdb) STR "FILE" { $pgp_keyring = $1 } "PGP trustdb file to use."
25 option (pgpkeyfile) STR "FILE" { $pgp_keyfile = $1 } "PGP Key file to use."
28 option (pgpcertfile) STR "FILE" { $pgp_certfile = $1 } "PGP Public Key (certificate) file to use."
31 option (x509keyfile) STR "FILE" { $x509_keyfile = $1 } "X.509 key file to use."
34 option (x509certfile) STR "FILE" { $x509_certfile = $1 } "X.509 Certificate file to use."
37 option (pgpkeyserver) STR "FILE" { $pgp_keyserver = $1 } "PGP Keyserver to use."
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."
48 option (ciphers) *STR "cipher1 cipher2..." { $ciphers = $1; $nciphers = @1 } "Ciphers to enable."
52 option (protocols) *STR "protocol1 protocol2..." { $proto = $1; $nproto = @1 } "Protocols to enable."
56 option (comp) *STR "comp1 comp2..." { $comp = $1; $ncomp = @1 } "Compression methods to enable."
60 option (macs) *STR "mac1 mac2..." { $macs = $1; $nmacs = @1 } "MACs to enable."
64 option (kx) *STR "kx1 kx2..." { $kx = $1; $nkx = @1 } "Key exchange methods to enable."
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; }