Changeset 33672 in project


Ignore:
Timestamp:
09/23/16 14:40:48 (5 years ago)
Author:
Thomas Chust
Message:

[openssl] Document ssl-start*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/openssl

    r32794 r33672  
    141141{{tcp-listener-fileno}}, {{tcp-accept-ready?}} and {{tcp-accept}}.
    142142
     143==== STARTTLS support
     144
     145<procedure>(ssl-start* (server? <bool>) (tcp-in <input-port>) (tcp-out <output-port>) #!key ((protocol <symbol>) 'tlsv12) ((cipher-list <any>) "DEFAULT") (certificate <string|blob>) (private-key <string|blob>) ((private-key-type <symbol>) 'rsa) (private-key-asn1? <bool>) (certificate-authorities <string>) (certificate-authority-directory <string>) ((verify? <bool>) (not server?))) => <input-port>, <output-port></procedure>
     146
     147Given existing TCP input and output ports, {{ssl-start*}} establishes an SSL context working on top of the TCP connection. The returned ports should be used for all further communication with the remote peer. {{ssl-start*}} acts similar to {{ssl-connect*}} if {{server?}} is false or to {{ssl-accept}} if {{server?}} is true. The arguments all behave analogous to those for {{ssl-connect*}} or {{ssl-listen*}}.
     148
    143149==== Certificate procedures
    144150
     
    222228=== Changelog
    223229
     230* 1.8.0 Add ssl-start* to support layering SSL on top of an existing TCP connection
    224231* 1.7.0 Various improvements including CHICKEN 4.10 compatibility and new constructors with more secure defaults
    225232* 1.6.2 Correct read-byte of chars with high bit set; fixes #954
Note: See TracChangeset for help on using the changeset viewer.