/external/openssl/apps/ |
pkcs8.c | 92 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 94 if (!load_config(bio_err, NULL)) 113 BIO_printf(bio_err, 129 BIO_printf(bio_err, 209 BIO_printf(bio_err, "Usage pkcs8 [options]\n"); 210 BIO_printf(bio_err, "where options are\n"); 211 BIO_printf(bio_err, "-in file input file\n"); 212 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n"); 213 BIO_printf(bio_err, "-passin arg input file pass phrase source\n") [all...] |
pkcs12.c | 145 if (bio_err == NULL ) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 147 if (!load_config(bio_err, NULL)) 203 BIO_printf(bio_err, 216 BIO_printf(bio_err, 304 BIO_printf (bio_err, "Usage: pkcs12 [options]\n"); 305 BIO_printf (bio_err, "where options are\n"); 306 BIO_printf (bio_err, "-export output PKCS12 file\n"); 307 BIO_printf (bio_err, "-chain add certificate chain\n"); 308 BIO_printf (bio_err, "-inkey file private key if not infile\n") [all...] |
dsa.c | 117 if (bio_err == NULL) 118 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 119 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 121 if (!load_config(bio_err, NULL)) 186 BIO_printf(bio_err,"unknown option %s\n",*argv); 197 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 198 BIO_printf(bio_err,"where options are\n"); 199 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 200 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 201 BIO_printf(bio_err," -in arg input file\n") [all...] |
ec.c | 109 if (bio_err == NULL) 110 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 111 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); 113 if (!load_config(bio_err, NULL)) 202 BIO_printf(bio_err, "unknown option %s\n", *argv); 213 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog); 214 BIO_printf(bio_err, "where options are\n"); 215 BIO_printf(bio_err, " -inform arg input format - " 217 BIO_printf(bio_err, " -outform arg output format - " 219 BIO_printf(bio_err, " -in arg input file\n") [all...] |
rsautl.c | 111 if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 113 if (!load_config(bio_err, NULL)) 184 BIO_printf(bio_err, "A private key is needed for this operation\n"); 189 e = setup_engine(bio_err, engine, 0); 191 if(!app_passwd(bio_err, passargin, NULL, &passin, NULL)) { 192 BIO_printf(bio_err, "Error getting password\n"); 197 app_RAND_load_file(NULL, bio_err, 0); 201 pkey = load_key(bio_err, keyfile, keyform, 0, 206 pkey = load_pubkey(bio_err, keyfile, keyform, 0 [all...] |
cms.c | 146 if (bio_err == NULL) 148 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 149 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); 152 if (!load_config(bio_err, NULL)) 303 BIO_printf(bio_err, "Invalid key %s\n", *args); 317 BIO_printf(bio_err, "Invalid id %s\n", *args); 330 BIO_printf(bio_err, "Invalid OID %s\n", *args); 413 BIO_printf(bio_err, "Unknown digest %s\n", 427 BIO_puts(bio_err, "Illegal -inkey without -signer\n"); 500 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm) [all...] |
smime.c | 121 if (bio_err == NULL) 123 if ((bio_err = BIO_new(BIO_s_file())) != NULL) 124 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT); 127 if (!load_config(bio_err, NULL)) 380 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm)) 392 BIO_printf(bio_err, "No signer certificate specified\n"); 401 BIO_printf(bio_err, "No recipient certificate or key specified\n"); 409 BIO_printf(bio_err, "No recipient(s) certificate(s) specified\n"); 419 BIO_printf (bio_err, "Usage smime [options] cert.pem ...\n"); 420 BIO_printf (bio_err, "where options are\n") [all...] |
dgst.c | 116 BIO_printf(bio_err,"out of memory\n"); 119 if (bio_err == NULL) 120 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 121 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 123 if (!load_config(bio_err, NULL)) 185 BIO_printf(bio_err, "Invalid PSS salt length %d\n", saltlen); 238 BIO_printf(bio_err, "No signature to verify: use the -signature option\n"); 245 BIO_printf(bio_err,"unknown option '%s'\n",*argv); 246 BIO_printf(bio_err,"options are\n"); 247 BIO_printf(bio_err,"-c to output the digest with separating colons\n") [all...] |
ocsp.c | 138 if (bio_err == NULL) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 140 if (!load_config(bio_err, NULL)) 166 BIO_printf(bio_err, 181 BIO_printf(bio_err, "Error parsing URL\n"); 323 BIO_printf(bio_err, 339 BIO_printf(bio_err, 389 issuer = load_cert(bio_err, *args, FORMAT_PEM, 401 cert = load_cert(bio_err, *args, FORMAT_PEM, 449 BIO_printf(bio_err, [all...] |
genrsa.c | 114 BN_GENCB_set(&cb, genrsa_cb, bio_err); 116 if (bio_err == NULL) 117 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 118 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 120 if (!load_config(bio_err, NULL)) 124 BIO_printf(bio_err,"unable to create BIO for output\n"); 199 BIO_printf(bio_err,"usage: genrsa [args] [numbits]\n"); 200 BIO_printf(bio_err," -des encrypt the generated key with DES in cbc mode\n"); 201 BIO_printf(bio_err," -des3 encrypt the generated key with DES in ede cbc mode (168 bit key)\n"); 203 BIO_printf(bio_err," -idea encrypt the generated key with IDEA in cbc mode\n") [all...] |
spkac.c | 102 if (!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 104 if (!load_config(bio_err, NULL)) 168 BIO_printf(bio_err,"%s [options]\n",prog); 169 BIO_printf(bio_err,"where options are\n"); 170 BIO_printf(bio_err," -in arg input file\n"); 171 BIO_printf(bio_err," -out arg output file\n"); 172 BIO_printf(bio_err," -key arg create SPKAC using private key\n"); 173 BIO_printf(bio_err," -passin arg input file pass phrase source\n"); 174 BIO_printf(bio_err," -challenge arg challenge string\n") [all...] |
gendh.c | 107 BN_GENCB_set(&cb, dh_cb, bio_err); 108 if (bio_err == NULL) 109 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 110 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 112 if (!load_config(bio_err, NULL)) 151 BIO_printf(bio_err,"usage: gendh [args] [numbits]\n"); 152 BIO_printf(bio_err," -out file - output the key to 'file\n"); 153 BIO_printf(bio_err," -2 - use 2 as the generator value\n"); 154 /* BIO_printf(bio_err," -3 - use 3 as the generator value\n"); */ 155 BIO_printf(bio_err," -5 - use 5 as the generator value\n") [all...] |
gendsa.c | 97 if (bio_err == NULL) 98 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 99 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 101 if (!load_config(bio_err, NULL)) 176 BIO_printf(bio_err,"usage: gendsa [args] dsaparam-file\n"); 177 BIO_printf(bio_err," -out file - output the key to 'file'\n"); 179 BIO_printf(bio_err," -des - encrypt the generated key with DES in cbc mode\n"); 180 BIO_printf(bio_err," -des3 - encrypt the generated key with DES in ede cbc mode (168 bit key)\n"); 183 BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n"); 186 BIO_printf(bio_err," -seed\n") [all...] |
req.c | 209 if (bio_err == NULL) 210 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 211 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 327 BIO_printf(bio_err,"unable to load DSA parameters from file\n"); 338 BIO_printf(bio_err,"Certificate does not contain DSA parameters\n"); 372 BIO_printf(bio_err,"unable to load EC parameters from file\n"); 384 BIO_printf(bio_err,"Certificate does not contain EC parameters\n"); 487 BIO_printf(bio_err,"unknown option %s\n",*argv); 498 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 499 BIO_printf(bio_err,"where options are\n") [all...] |
rsa.c | 120 if (bio_err == NULL) 121 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 122 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 124 if (!load_config(bio_err, NULL)) 190 BIO_printf(bio_err,"unknown option %s\n",*argv); 201 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 202 BIO_printf(bio_err,"where options are\n"); 203 BIO_printf(bio_err," -inform arg input format - one of DER NET PEM\n"); 204 BIO_printf(bio_err," -outform arg output format - one of DER NET PEM\n"); 205 BIO_printf(bio_err," -in arg input file\n") [all...] |
asn1pars.c | 106 if (bio_err == NULL) 107 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 108 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 110 if (!load_config(bio_err, NULL)) 118 BIO_printf(bio_err,"Memory allocation failure\n"); 186 BIO_printf(bio_err,"unknown option %s\n",*argv); 197 BIO_printf(bio_err,"%s [options] <infile\n",prog); 198 BIO_printf(bio_err,"where options are\n"); 199 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); 200 BIO_printf(bio_err," -in arg input file\n") [all...] |
dsaparam.c | 133 if (bio_err == NULL) 134 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 135 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 137 if (!load_config(bio_err, NULL)) 209 BIO_printf(bio_err,"unknown option %s\n",*argv); 220 BIO_printf(bio_err,"%s [options] [bits] <infile >outfile\n",prog); 221 BIO_printf(bio_err,"where options are\n"); 222 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 223 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 224 BIO_printf(bio_err," -in arg input file\n") [all...] |
verify.c | 102 if (bio_err == NULL) 103 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 106 if (!load_config(bio_err, NULL)) 125 else if (args_verify(&argv, &argc, &badarg, bio_err, 165 e = setup_engine(bio_err, engine, 0); 176 BIO_printf(bio_err, "Error loading file %s\n", CAfile); 177 ERR_print_errors(bio_err); 187 BIO_printf(bio_err, "Error loading directory %s\n", CApath); 188 ERR_print_errors(bio_err); [all...] |
enc.c | 134 if (bio_err == NULL) 135 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 136 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 138 if (!load_config(bio_err, NULL)) 149 BIO_printf(bio_err,"%s is an unknown cipher\n",pname); 224 BIO_printf(bio_err,"unable to read key from '%s'\n", 231 BIO_printf(bio_err,"unable to read key from '%s'\n", 245 BIO_printf(bio_err,"zero length password\n"); 281 BIO_printf(bio_err,"unknown option '%s'\n",*argv); 283 BIO_printf(bio_err,"options are\n") [all...] |
crl2p7.c | 103 if (bio_err == NULL) 104 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 105 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 149 BIO_printf(bio_err,"unknown option %s\n",*argv); 160 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 161 BIO_printf(bio_err,"where options are\n"); 162 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 163 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 164 BIO_printf(bio_err," -in arg input file\n"); 165 BIO_printf(bio_err," -out arg output file\n") [all...] |
dh.c | 105 if (bio_err == NULL) 106 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 107 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 109 if (!load_config(bio_err, NULL)) 162 BIO_printf(bio_err,"unknown option %s\n",*argv); 173 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 174 BIO_printf(bio_err,"where options are\n"); 175 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n"); 176 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n"); 177 BIO_printf(bio_err," -in arg input file\n") [all...] |
nseq.c | 79 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); 99 BIO_printf (bio_err, "Netscape certificate sequence utility\n"); 100 BIO_printf (bio_err, "Usage nseq [options]\n"); 101 BIO_printf (bio_err, "where options are\n"); 102 BIO_printf (bio_err, "-in file input file\n"); 103 BIO_printf (bio_err, "-out file output file\n"); 104 BIO_printf (bio_err, "-toseq output NS Sequence file\n"); 110 BIO_printf (bio_err, 118 BIO_printf (bio_err, [all...] |
s_client.c | 193 BIO_printf(bio_err,"usage: s_client args\n"); 194 BIO_printf(bio_err,"\n"); 195 BIO_printf(bio_err," -host host - use -connect instead\n"); 196 BIO_printf(bio_err," -port port - use -connect instead\n"); 197 BIO_printf(bio_err," -connect host:port - who to connect to (default is %s:%s)\n",SSL_HOST_NAME,PORT_STR); 199 BIO_printf(bio_err," -verify depth - turn on peer certificate verification\n"); 200 BIO_printf(bio_err," -cert arg - certificate file to use, PEM format assumed\n"); 201 BIO_printf(bio_err," -certform arg - certificate format (PEM or DER) PEM default\n"); 202 BIO_printf(bio_err," -key arg - Private key file to use, in cert file if\n"); 203 BIO_printf(bio_err," not specified but cert file is.\n") [all...] |
s_server.c | 327 BIO_printf(bio_err,"usage: s_server [args ...]\n"); 328 BIO_printf(bio_err,"\n"); 329 BIO_printf(bio_err," -accept arg - port to accept on (default is %d)\n",PORT); 330 BIO_printf(bio_err," -context arg - set session ID context\n"); 331 BIO_printf(bio_err," -verify arg - turn on peer certificate verification\n"); 332 BIO_printf(bio_err," -Verify arg - turn on peer certificate verification, must have a cert.\n"); 333 BIO_printf(bio_err," -cert arg - certificate file to use\n"); 334 BIO_printf(bio_err," (default is %s)\n",TEST_CERT); 335 BIO_printf(bio_err," -crl_check - check the peer certificate has not been revoked by its CA.\n" \ 337 BIO_printf(bio_err," -crl_check_all - check the peer certificate has not been revoked by its CA\n" [all...] |
pkcs7.c | 101 if (bio_err == NULL) 102 if ((bio_err=BIO_new(BIO_s_file())) != NULL) 103 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT); 105 if (!load_config(bio_err, NULL)) 153 BIO_printf(bio_err,"unknown option %s\n",*argv); 164 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog); 165 BIO_printf(bio_err,"where options are\n"); 166 BIO_printf(bio_err," -inform arg input format - DER or PEM\n"); 167 BIO_printf(bio_err," -outform arg output format - DER or PEM\n"); 168 BIO_printf(bio_err," -in arg input file\n") [all...] |