summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2019-11-02 15:25:34 +0000
committerschwarze <>2019-11-02 15:25:34 +0000
commitd23834869e79079f15a3b1e1045d4a366e9d386e (patch)
treeac8577261b5bd3a596f8501d21d73ded991947e1
parent6f86bda178e1f1455af476e5ac2b5d0f1c266a58 (diff)
downloadopenbsd-d23834869e79079f15a3b1e1045d4a366e9d386e.tar.gz
openbsd-d23834869e79079f15a3b1e1045d4a366e9d386e.tar.bz2
openbsd-d23834869e79079f15a3b1e1045d4a366e9d386e.zip
document PEM_read_CMS(3), PEM_read_bio_CMS(3), PEM_write_CMS(3), and
PEM_write_bio_CMS(3) which jsing@ just enabled in Symbols.list rev. 1.91
-rw-r--r--src/lib/libcrypto/man/PEM_read_bio_PrivateKey.349
1 files changed, 46 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/PEM_read_bio_PrivateKey.3 b/src/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
index ca61f31f87..cf45356cfa 100644
--- a/src/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
+++ b/src/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: PEM_read_bio_PrivateKey.3,v 1.15 2019/08/12 11:36:12 schwarze Exp $ 1.\" $OpenBSD: PEM_read_bio_PrivateKey.3,v 1.16 2019/11/02 15:25:34 schwarze Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL man3/PEM_read_bio_PrivateKey.pod 18bad535 Apr 9 15:13:55 2019 +0100 3.\" OpenSSL man3/PEM_read_bio_PrivateKey.pod 18bad535 Apr 9 15:13:55 2019 +0100
4.\" OpenSSL man3/PEM_read_CMS.pod 83cf7abf May 29 13:07:08 2018 +0100 4.\" OpenSSL man3/PEM_read_CMS.pod 83cf7abf May 29 13:07:08 2018 +0100
@@ -51,7 +51,7 @@
51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
52.\" OF THE POSSIBILITY OF SUCH DAMAGE. 52.\" OF THE POSSIBILITY OF SUCH DAMAGE.
53.\" 53.\"
54.Dd $Mdocdate: August 12 2019 $ 54.Dd $Mdocdate: November 2 2019 $
55.Dt PEM_READ_BIO_PRIVATEKEY 3 55.Dt PEM_READ_BIO_PRIVATEKEY 3
56.Os 56.Os
57.Sh NAME 57.Sh NAME
@@ -141,7 +141,11 @@
141.Nm PEM_read_bio_NETSCAPE_CERT_SEQUENCE , 141.Nm PEM_read_bio_NETSCAPE_CERT_SEQUENCE ,
142.Nm PEM_read_NETSCAPE_CERT_SEQUENCE , 142.Nm PEM_read_NETSCAPE_CERT_SEQUENCE ,
143.Nm PEM_write_bio_NETSCAPE_CERT_SEQUENCE , 143.Nm PEM_write_bio_NETSCAPE_CERT_SEQUENCE ,
144.Nm PEM_write_NETSCAPE_CERT_SEQUENCE 144.Nm PEM_write_NETSCAPE_CERT_SEQUENCE ,
145.Nm PEM_read_CMS ,
146.Nm PEM_read_bio_CMS ,
147.Nm PEM_write_CMS ,
148.Nm PEM_write_bio_CMS
145.Nd PEM routines 149.Nd PEM routines
146.Sh SYNOPSIS 150.Sh SYNOPSIS
147.In openssl/pem.h 151.In openssl/pem.h
@@ -722,6 +726,31 @@
722.Fa "FILE *fp" 726.Fa "FILE *fp"
723.Fa "NETSCAPE_CERT_SEQUENCE *x" 727.Fa "NETSCAPE_CERT_SEQUENCE *x"
724.Fc 728.Fc
729.In openssl/cms.h
730.Ft CMS_ContentInfo *
731.Fo PEM_read_CMS
732.Fa "FILE *fp"
733.Fa "CMS_ContentInfo **x"
734.Fa "pem_password_cb *cb"
735.Fa "void *u"
736.Fc
737.Ft CMS_ContentInfo *
738.Fo PEM_read_bio_CMS
739.Fa "BIO *bp"
740.Fa "CMS_ContentInfo **x"
741.Fa "pem_password_cb *cb"
742.Fa "void *u"
743.Fc
744.Ft int
745.Fo PEM_write_CMS
746.Fa "FILE *fp"
747.Fa "const CMS_ContentInfo *x"
748.Fc
749.Ft int
750.Fo PEM_write_bio_CMS
751.Fa "BIO *bp"
752.Fa "const CMS_ContentInfo *x"
753.Fc
725.Sh DESCRIPTION 754.Sh DESCRIPTION
726The PEM functions read or write structures in PEM format. 755The PEM functions read or write structures in PEM format.
727In this sense PEM format is simply base64-encoded data surrounded by 756In this sense PEM format is simply base64-encoded data surrounded by
@@ -937,6 +966,12 @@ functions process a Netscape Certificate Sequence using a
937.Vt NETSCAPE_CERT_SEQUENCE 966.Vt NETSCAPE_CERT_SEQUENCE
938structure. 967structure.
939.Pp 968.Pp
969The
970.Sy CMS
971functions process a
972.Vt CMS_ContentInfo
973structure.
974.Pp
940The old 975The old
941.Sy PrivateKey 976.Sy PrivateKey
942write routines are retained for compatibility. 977write routines are retained for compatibility.
@@ -1351,6 +1386,14 @@ and
1351.Fn PEM_write_EC_PUBKEY 1386.Fn PEM_write_EC_PUBKEY
1352first appeared in OpenSSL 0.9.8 and have been available since 1387first appeared in OpenSSL 0.9.8 and have been available since
1353.Ox 4.5 . 1388.Ox 4.5 .
1389.Pp
1390.Fn PEM_read_CMS ,
1391.Fn PEM_read_bio_CMS ,
1392.Fn PEM_write_CMS ,
1393and
1394.Fn PEM_write_bio_CMS
1395first appeared in OpenSSL 0.9.8h and have been available since
1396.Ox 6.7 .
1354.Sh CAVEATS 1397.Sh CAVEATS
1355A frequent cause of problems is attempting to use the PEM routines like 1398A frequent cause of problems is attempting to use the PEM routines like
1356this: 1399this: