diff options
| author | schwarze <> | 2016-11-03 15:20:36 +0000 |
|---|---|---|
| committer | schwarze <> | 2016-11-03 15:20:36 +0000 |
| commit | fd23280c77e6b5aeafeb054d4c9b369c079020a6 (patch) | |
| tree | 1ce08c06c8b7c83fa9592d241cddc0d7b95ce2ce /src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 | |
| parent | f540f1bc5dd92bb38eace75d62ec5676a16e242e (diff) | |
| download | openbsd-fd23280c77e6b5aeafeb054d4c9b369c079020a6.tar.gz openbsd-fd23280c77e6b5aeafeb054d4c9b369c079020a6.tar.bz2 openbsd-fd23280c77e6b5aeafeb054d4c9b369c079020a6.zip | |
convert PEM and PKCS manuals from pod to mdoc
Diffstat (limited to 'src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3')
| -rw-r--r-- | src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 b/src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 new file mode 100644 index 0000000000..755bf3eb86 --- /dev/null +++ b/src/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | .Dd $Mdocdate: November 3 2016 $ | ||
| 2 | .Dt I2D_PKCS7_BIO_STREAM 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm i2d_PKCS7_bio_stream | ||
| 6 | .Nd output PKCS7 structure in BER format | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/pkcs7.h | ||
| 9 | .Ft int | ||
| 10 | .Fo i2d_PKCS7_bio_stream | ||
| 11 | .Fa "BIO *out" | ||
| 12 | .Fa "PKCS7 *p7" | ||
| 13 | .Fa "BIO *data" | ||
| 14 | .Fa "int flags" | ||
| 15 | .Fc | ||
| 16 | .Sh DESCRIPTION | ||
| 17 | .Fn i2d_PKCS7_bio_stream | ||
| 18 | outputs a | ||
| 19 | .Vt PKCS7 | ||
| 20 | structure in BER format. | ||
| 21 | .Pp | ||
| 22 | It is otherwise identical to the function | ||
| 23 | .Xr SMIME_write_PKCS7 3 . | ||
| 24 | .Pp | ||
| 25 | This function is effectively a version of | ||
| 26 | .Xr d2i_PKCS7_bio 3 | ||
| 27 | supporting streaming. | ||
| 28 | .Sh RETURN VALUES | ||
| 29 | .Fn i2d_PKCS7_bio_stream | ||
| 30 | returns 1 for success or 0 for failure. | ||
| 31 | .Sh SEE ALSO | ||
| 32 | .Xr ERR_get_error 3 , | ||
| 33 | .Xr PEM_write_bio_PKCS7_stream 3 , | ||
| 34 | .Xr PKCS7_decrypt 3 , | ||
| 35 | .Xr PKCS7_encrypt 3 , | ||
| 36 | .Xr PKCS7_sign 3 , | ||
| 37 | .Xr PKCS7_verify 3 , | ||
| 38 | .Xr SMIME_write_PKCS7 3 | ||
| 39 | .Sh HISTORY | ||
| 40 | .Fn i2d_PKCS7_bio_stream | ||
| 41 | was added to OpenSSL 1.0.0. | ||
| 42 | .Sh BUGS | ||
| 43 | The prefix "i2d" is arguably wrong because the function outputs BER | ||
| 44 | format. | ||
