From 73b3ce3db3662f4dee3e5a8e8d3a7e5aa84e7643 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 2 Mar 2018 17:58:28 -0800 Subject: [PATCH] document bytes are returned --- acme/acme/crypto_util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/acme/acme/crypto_util.py b/acme/acme/crypto_util.py index 07b55ae33..2281196eb 100644 --- a/acme/acme/crypto_util.py +++ b/acme/acme/crypto_util.py @@ -287,6 +287,9 @@ def dump_pyopenssl_chain(chain, filetype=OpenSSL.crypto.FILETYPE_PEM): :param list chain: List of `OpenSSL.crypto.X509` (or wrapped in :class:`josepy.util.ComparableX509`). + :returns: certificate chain bundle + :rtype: bytes + """ # XXX: returns empty string when no chain is available, which # shuts up RenewableCert, but might not be the best solution...