Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 232) sorted by relevance

12345678910

/openssl/include/openssl/
H A Dtrace.h289 # define OSSL_TRACE1(category, format, arg1) \ argument
290 OSSL_TRACEV(category, (trc_out, format, arg1))
291 # define OSSL_TRACE2(category, format, arg1, arg2) \ argument
292 OSSL_TRACEV(category, (trc_out, format, arg1, arg2))
293 # define OSSL_TRACE3(category, format, arg1, arg2, arg3) \ argument
294 OSSL_TRACEV(category, (trc_out, format, arg1, arg2, arg3))
295 # define OSSL_TRACE4(category, format, arg1, arg2, arg3, arg4) \ argument
296 OSSL_TRACEV(category, (trc_out, format, arg1, arg2, arg3, arg4))
297 # define OSSL_TRACE5(category, format, arg1, arg2, arg3, arg4, arg5) \ argument
298 OSSL_TRACEV(category, (trc_out, format, arg1, arg2, arg3, arg4, arg5))
[all …]
/openssl/crypto/bio/
H A Dbio_print.c108 ch = *format++; in _dopr()
121 ch = *format++; in _dopr()
127 ch = *format++; in _dopr()
131 ch = *format++; in _dopr()
135 ch = *format++; in _dopr()
139 ch = *format++; in _dopr()
190 format++; in _dopr()
347 format++; in _dopr()
353 ch = *format++; in _dopr()
883 va_start(args, format); in BIO_printf()
[all …]
/openssl/test/
H A Dbioprinttest.c111 const char *format; member
135 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_zu()
143 const char *format; member
163 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_j()
191 char format[80], result[80]; in dofptest() local
198 BIO_snprintf(format, sizeof(format), "%%%s.%d%s", width, prec, in dofptest()
201 BIO_snprintf(format, sizeof(format), "%%%s%s", width, fspec); in dofptest()
202 BIO_snprintf(result, sizeof(result), format, val); in dofptest()
211 test, format, fpexpected[test][sub][i], result); in dofptest()
/openssl/apps/include/
H A Dapps.h60 BIO *dup_bio_in(int format);
61 BIO *dup_bio_out(int format);
62 BIO *dup_bio_err(int format);
63 BIO *bio_open_owner(const char *filename, int format, int private);
64 BIO *bio_open_default(const char *filename, char mode, int format);
121 X509_REQ *load_csr(const char *file, int format, const char *desc);
122 X509_REQ *load_csr_autofmt(const char *infile, int format,
124 X509 *load_cert_pass(const char *uri, int format, int maybe_stdin,
126 # define load_cert(uri, format, desc) load_cert_pass(uri, format, 1, NULL, desc) argument
127 X509_CRL *load_crl(const char *uri, int format, int maybe_stdin,
[all …]
/openssl/doc/man1/
H A Dopenssl-format-options.pod5 openssl-format-options - OpenSSL command input and output format options
21 format is no more needed and the openssl commands will automatically try all
25 In order to access a key via an engine the input format B<ENGINE> may be used;
34 The options to specify the format are as follows.
39 =item B<-inform> I<format>, B<-outform> I<format>
41 The format of the input or output streams.
43 =item B<-keyform> I<format>
47 =item B<-CRLform> I<format>
55 The possible format arguments are described below.
58 The list of acceptable format arguments, and the default,
[all …]
H A Dopenssl-pkcs8.pod.in6 openssl-pkcs8 - PKCS#8 format private key conversion command
36 This command processes private keys in PKCS#8 format. It can handle
52 reversed: it reads a private key and writes a PKCS#8 format key.
57 See L<openssl-format-options(1)> for details.
65 used then a traditional format private key is written instead.
68 unencrypted private key in traditional DER format.
89 For more information about the format of B<arg>
222 Convert a private key to PKCS#8 unencrypted format:
245 Read a DER unencrypted PKCS#8 format private key:
249 Convert a private key from any PKCS#8 encrypted format to traditional format:
[all …]
H A Dopenssl-crl.pod.in37 This command processes CRL files in DER or PEM format.
49 The CRL input format; unspecified by default.
50 See L<openssl-format-options(1)> for details.
54 The CRL output format; the default is B<PEM>.
55 See L<openssl-format-options(1)> for details.
63 The format of the private key file; unspecified by default.
64 See L<openssl-format-options(1)> for details.
87 Specify the date output format. Values are: rfc_822 and iso_8601.
H A Dopenssl-rsa.pod.in63 The key input format; unspecified by default.
64 See L<openssl-format-options(1)> for details.
68 The key output format; the default is B<PEM>.
69 See L<openssl-format-options(1)> for details.
73 When writing a private key, use the traditional PKCS#1 format
74 instead of the PKCS#8 format.
85 For more information about the format of B<arg>
103 These options can only be used with PEM format output files.
136 Like B<-pubin> and B<-pubout> except B<RSAPublicKey> format is used instead.
174 To convert a private key from PEM to DER format:
[all …]
H A Dopenssl-dsa.pod.in48 traditional SSLeay compatible format for private key encryption: newer
49 applications should use the more secure PKCS#8 format using the B<pkcs8>
61 The key input format; unspecified by default.
62 See L<openssl-format-options(1)> for details.
66 The key output format; the default is B<PEM>.
67 See L<openssl-format-options(1)> for details.
73 The B<PEM> format also accepts PKCS#8 data.
91 For more information about the format of B<arg>
102 These options can only be used with PEM format output files.
162 To convert a private key from PEM to DER format:
H A Dopenssl-crl2pkcs7.pod.in36 The input format of the CRL; the default is B<PEM>.
37 See L<openssl-format-options(1)> for details.
41 The output format of the PKCS#7 object; the default is B<PEM>.
42 See L<openssl-format-options(1)> for details.
56 Specifies a filename containing one or more certificates in B<PEM> format.
76 Creates a PKCS#7 structure in DER format with no CRL from several
H A Dopenssl-pkey.pod.in80 The key input format; unspecified by default.
81 See L<openssl-format-options(1)> for details.
87 For more information about the format of B<arg>
116 The key output format; the default is B<PEM>.
117 See L<openssl-format-options(1)> for details.
129 For more information about the format of B<arg>
134 Normally a private key is written using standard format: this is PKCS#8 form
136 option is specified then the older "traditional" format is used instead.
154 This cannot be combined with encoded output in DER format.
159 This cannot be combined with encoded output in DER format.
[all …]
/openssl/crypto/asn1/
H A Dasn1_gen.c60 int format; member
119 asn1_tags.format = ASN1_GEN_FORMAT_ASCII; in generate_v3()
331 arg->format = ASN1_GEN_FORMAT_UTF8; in asn1_cb()
333 arg->format = ASN1_GEN_FORMAT_HEX; in asn1_cb()
602 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
617 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
629 if (format != ASN1_GEN_FORMAT_ASCII) { in asn1_str2type()
670 if (format == ASN1_GEN_FORMAT_ASCII) in asn1_str2type()
671 format = MBSTRING_ASC; in asn1_str2type()
673 format = MBSTRING_UTF8; in asn1_str2type()
[all …]
/openssl/apps/
H A Drand.c55 int format = FORMAT_BINARY, r, i, ret = 1; in rand_main() local
84 format = FORMAT_BASE64; in rand_main()
87 format = FORMAT_TEXT; in rand_main()
186 out = bio_open_default(outfile, 'w', format); in rand_main()
190 if (format == FORMAT_BASE64) { in rand_main()
205 if (format != FORMAT_TEXT) { in rand_main()
215 if (format == FORMAT_TEXT) in rand_main()
H A Dsess_id.c46 static SSL_SESSION *load_sess_id(char *file, int format);
176 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() argument
181 in = bio_open_default(infile, 'r', format); in load_sess_id()
184 if (format == FORMAT_ASN1) in load_sess_id()
/openssl/doc/man3/
H A DBIO_printf.pod12 int BIO_printf(BIO *bio, const char *format, ...);
13 int BIO_vprintf(BIO *bio, const char *format, va_list args);
15 int BIO_snprintf(char *buf, size_t n, const char *format, ...);
16 int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args);
22 output. All common format specifiers are supported.
26 output. All common format specifiers are supported. The argument
H A DASN1_generate_nconf.pod30 the configuration information. The general format of the string
47 Unless otherwise specified only the B<ASCII> format is permissible.
77 a short name, a long name or numerical format.
82 the format B<YYMMDDHHMMSSZ>.
87 the format B<YYYYMMDDHHMMSSZ>.
92 of this structure, the format strings B<ASCII> and B<HEX> can be
93 used to specify the format of I<value>.
99 can be used to specify the format of I<value>.
101 If the format is anything other than B<BITLIST> the number of unused
111 contents of this structure. The format can be B<ASCII> or B<UTF8>.
[all …]
H A DASN1_TIME_set.pod85 this function performs a format check on I<str> only. The string I<str>
89 represented by string I<str> which must be in appropriate time format
91 YYYYMMDDHHMMSSZ (leap second is rejected), all other ASN.1 time format
92 are not allowed. If I<s> is NULL this function performs a format check
105 format. It will be of the format MMM DD HH:MM:SS YYYY [GMT], for example
111 ASN1_TIME_print_ex() provides I<flags> to specify the output format of the
119 a format check on I<s> only. If I<s> is in Generalized format with fractional
180 either format.
190 of an I/O error or invalid time format.
215 error occurred (invalid time format).
[all …]
H A DOSSL_DECODER_from_bio.pod54 const char *format = "PEM"; /* NULL for any format */
59 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, format, structure,
79 const char *format = "DER"; /* NULL for any format */
86 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, format, structure,
H A DOSSL_ENCODER_to_bio.pod60 To encode a pkey as PKCS#8 with PEM format into a bio:
63 const char *format = "PEM";
70 format, structure,
84 To encode a pkey as PKCS#8 with DER format encrypted with
88 const char *format = "DER";
97 format, structure,
/openssl/util/
H A Dcheck-format-commit.sh112 mkdir -p $TEMPDIR/check-format/$FDIR
113 git show $COMMIT_LAST:$j > $TEMPDIR/check-format/$j
140 [ -n "$COMMIT_RANGE" ] && cd $TEMPDIR/check-format
145 $TOPDIR/util/check-format.pl $j > $TEMPDIR/results.txt
/openssl/apps/lib/
H A Dapps.c534 if (format == FORMAT_UNDEF) in load_csr()
535 format = FORMAT_PEM; in load_csr()
540 if (format == FORMAT_ASN1) in load_csr()
614 if (format == FORMAT_ENGINE) in load_key()
896 switch (format) { in format2string()
2994 BIO *dup_bio_in(int format) in dup_bio_in() argument
3000 BIO *dup_bio_out(int format) in dup_bio_out() argument
3010 if (FMT_istext(format)) in dup_bio_out()
3014 if (FMT_istext(format) in dup_bio_out()
3023 BIO *dup_bio_err(int format) in dup_bio_err() argument
[all …]
H A Dfmt.c12 int FMT_istext(int format) in FMT_istext() argument
14 return (format & B_FORMAT_TEXT) == B_FORMAT_TEXT; in FMT_istext()
/openssl/test/recipes/
H A D20-test_dhparam.t32 my $format = shift; #DER or PEM?
56 ok(($format eq "PEM") && defined $pemtype, "Checking format is PEM");
58 ok($format eq "DER", "Checking format is DER");
64 '-text', '-inform', $format]), capture => 1);
/openssl/providers/common/
H A Dbio_prov.c141 int ossl_prov_bio_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list ap) in ossl_prov_bio_vprintf() argument
145 return c_bio_vprintf(bio, format, ap); in ossl_prov_bio_vprintf()
148 int ossl_prov_bio_printf(OSSL_CORE_BIO *bio, const char *format, ...) in ossl_prov_bio_printf() argument
153 va_start(ap, format); in ossl_prov_bio_printf()
154 ret = ossl_prov_bio_vprintf(bio, format, ap); in ossl_prov_bio_printf()
/openssl/doc/man7/
H A Dopenssl-qlog.pod9 OpenSSL has unstable support for generating logs in the qlog logging format,
17 B<WARNING:> The output of OpenSSL's qlog functionality uses an unstable format
18 based on a draft specification. qlog output is not subject to any format
30 Log files are generated in the I<.sqlog> format based on JSON-SEQ (RFC 7464).
109 Formally, the format of the filter specification in ABNF is as follows:
173 the qlog format. The OpenSSL qlog functionality will transition to producing
174 output in this format in the future once standardisation is complete.
178 qlog output of OpenSSL is considered unstable and not subject to any format
189 format compatibility, the output format of the OpenSSL qlog functionality is
216 Only the JSON-SEQ (B<.sqlog>) output format is supported.

Completed in 60 milliseconds

12345678910