aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-19 12:30:52 +0300
committerMartin Storsjö <martin@martin.st>2013-09-26 23:13:35 +0300
commit705b748e8d8612385c96428ae36ed0d42a170d93 (patch)
tree5966e172bdc74c02b7ee39e36fb52b828e9298bd /doc/protocols.texi
parent5c53bf7aaf03748464cbf978bffe7ffdb71112b1 (diff)
downloadffmpeg-705b748e8d8612385c96428ae36ed0d42a170d93.tar.gz
tls: Add support for listen mode
Also add options for specifying a certificate and key, which can be used both when operating as client and as server. Partially based on a patch by Peter Ross. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 2c618b8e0e..1a9f5755a0 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -599,6 +599,19 @@ the host name is validated as well.)
This is disabled by default since it requires a CA database to be
provided by the caller in many cases.
+@item cert_file
+A file containing a certificate to use in the handshake with the peer.
+(When operating as server, in listen mode, this is more often required
+by the peer, while client certificates only are mandated in certain
+setups.)
+
+@item key_file
+A file containing the private key for the certificate.
+
+@item listen=@var{1|0}
+If enabled, listen for connections on the provided port, and assume
+the server role in the handshake instead of the client role.
+
@end table
@section udp