1 helpnode "gnutls-cli help\nUsage: gnutls-cli [options] hostname"
4 option (r, resume) { $resume = 1 } "Connect, establish a session. Connect again and resume this session."
7 option (crlf) { $crlf = 1 } "Send CR LF instead of LF."
10 option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
13 option (f, fingerprint) { $fingerprint = 1 } "Send the openpgp fingerprint, instead of the key."
16 option (p, port) INT "integer" { $port = $1 } "The port to connect to."
19 option (recordsize) INT "integer" { $record_size = $1 } "The maximum record size to advertize."
24 option (ciphers) *STR "cipher1 cipher2..." { $ciphers = $1; $nciphers = @1 } "Ciphers to enable."
28 option (protocols) *STR "protocol1 protocol2..." { $proto = $1; $nproto = @1 } "Protocols to enable."
32 option (comp) *STR "comp1 comp2..." { $comp = $1; $ncomp = @1 } "Compression methods to enable."
36 option (macs) *STR "mac1 mac2..." { $macs = $1; $nmacs = @1 } "MACs to enable."
40 option (kx) *STR "kx1 kx2..." { $kx = $1; $nkx = @1 } "Key exchange methods to enable."
44 option (ctypes) *STR "certType1 certType2..." { $ctype = $1; $nctype = @1 } "Certificate types to enable."
47 option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
50 option (pgpkeyfile) STR "FILE" { $pgp_keyfile = $1 } "PGP Key file to use."
53 option (pgpkeyring) STR "FILE" { $pgp_keyring = $1 } "PGP Key ring file to use."
56 option (pgptrustdb) STR "FILE" { $pgp_keyring = $1 } "PGP trustdb file to use."
59 option (pgpcertfile) STR "FILE" { $pgp_certfile = $1 } "PGP Public Key (certificate) file to use."
62 option (x509keyfile) STR "FILE" { $x509_keyfile = $1 } "X.509 key file to use."
65 option (x509certfile) STR "FILE" { $x509_certfile = $1 } "X.509 Certificate file to use."
68 option (srpusername) STR "NAME" { $srp_username = $1 } "SRP username to use."
71 option (srppasswd) STR "PASSWD" { $srp_passwd = $1 } "SRP password to use."
74 option (l, list) { print_list(); exit(0); } "Print a list of the supported algorithms and modes."
75 option (h, help) { gaa_help(); exit(0); } "prints this help"
79 rest *STR "hostname" { $rest_args = $1; $nrest_args = @1 }
81 init { $resume=0; $port=443; $rest_args=NULL; $nrest_args=0; $ciphers=NULL;
82 $kx=NULL; $comp=NULL; $macs=NULL; $ctype=NULL; $nciphers=0;
83 $nkx=0; $ncomp=0; $nmacs=0; $nctype = 0; $record_size=0;
84 $fingerprint=0; $pgp_trustdb=NULL; $pgp_keyring=NULL;
85 $x509_cafile = NULL; $pgp_keyfile=NULL; $pgp_certfile=NULL;
86 $x509_keyfile=NULL; $x509_certfile=NULL; $crlf = 0;
87 $srp_username=NULL; $srp_passwd=NULL; $fmtder = 0; }