History

270228c improve descriptions in security-ssl(2) and ssl(3)

Charles.Forsyth committed 19 years ago

Commit e83f2ff1 parent 919cd7f2 files · +24 −27Browse files

Unified · Split

2 files
  1. man/2/security-ssl +3 −14
  2. man/3/ssl +21 −13
man/2/security-ssl+3−14
@@ -46,20 +46,9 @@ which is read and written to exchange data on the original · 45 unmodified lines
4646 using SSL.
4747 .PP
4848 .B Secret
49−writes
50−.I secretin
51−and
52−.I secretout
53−to
54−.IB c .dir/secretin
55−and
56−.IB c .dir/secretout
57−where
58−.I n
59−is obtained from the
60−.B Connection
61−adt
62−.IR c .
49+sets the secrets for each direction on Connection
50+.I c ;
51+if a secret is nil, the existing setting for that direction remains unchanged.
6352 The string returned describes errors encountered, if any; otherwise it is nil.
6453 .PP
6554 .SH SOURCE
man/3/ssl+21−13
@@ -2,24 +2,27 @@ · 1 unmodified line
22 .SH NAME
33 ssl \- secure sockets layer device
44 .SH SYNOPSIS
5−.B bind '#D' /n/ssl
6−.PP
7−.B /n/ssl/clone
5+.B #D/clone
6+.br
7+.BI #D/ n
8+.br
9+.BI #D/ n /data
810 .br
9−.BI /n/ssl/ n
11+.BI #D/ n /ctl
1012 .br
11−.BI /n/ssl/ n /data
13+.BI #D/ n /secretin
1214 .br
13−.BI /n/ssl/ n /ctl
15+.BI #D/ n /secretout
1416 .br
15−.BI /n/ssl/ n /secretin
17+.BI #D/ n /encalgs
1618 .br
17−.BI /n/ssl/ n /secretout
19+.BI #D/ n /hashalgs
1820 .SH DESCRIPTION
1921 The
2022 .I ssl
2123 device provides access to a Secure Socket Layer that implements the record layer protocol
22−of SSLv2.
24+of SSLv2
25+(but not its handshaking).
2326 The device provides encrypting and digesting for many independent connections.
2427 Once associated with a network connection, the
2528 .I ssl
@@ -29,6 +32,10 @@ can send data in the clear, digested or encrypted. In all cases, if · 3 unmodified lines
2932 .I ssl
3033 is associated with both ends of a connection, all messages are delimited.
3134 As long as reads always specify buffers that are of equal or greater lengths than the writes at the other end of the connection, one write will correspond to one read.
35+The device is unusual because it is not bound into the name space but named directly by its local name,
36+.BR #D .
37+That is because the interface described below requires writing a local file descriptor number to a file,
38+which will not work remotely.
3239 .PP
3340 The top-level directory contains a
3441 .B clone
@@ -41,16 +48,17 @@ will be open on the control file, · 6 unmodified lines
4148 .BR ctl ,
4249 in the directory that represents the new connection.
4350 Reading the control file will return a text string giving the connection number
44−(and thus the directory name).
51+.IR n ,
52+and thus the directory name.
4553 .PP
4654 Writing to
4755 .B ctl
4856 controls the corresponding connection.
4957 The following control messages are possible:
5058 .TP
51−.BI fd " n"
52−Associate the network connection on file descriptor
53−.I n
59+.BI fd " m"
60+Associate the network connection on existing file descriptor
61+.I m
5462 with the
5563 .I ssl
5664 device.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t