Deleted Added
full compact
rpc_secure.3 (108037) rpc_secure.3 (108087)
1.\" @(#)rpc_secure.3n 2.1 88/08/08 4.0 RPCSRC; from 1.19 88/06/24 SMI
1.\" @(#)rpc_secure.3n 2.1 88/08/08 4.0 RPCSRC; from 1.19 88/06/24 SMI
2.\" $FreeBSD: head/lib/libc/rpc/rpc_secure.3 108037 2002-12-18 12:45:11Z ru $
2.\" $FreeBSD: head/lib/libc/rpc/rpc_secure.3 108087 2002-12-19 09:40:28Z ru $
3.\"
4.Dd February 16, 1988
5.Dt RPC 3
6.Os
7.Sh NAME
8.Nm rpc_secure
9.Nd library routines for secure remote procedure calls
10.Sh SYNOPSIS

--- 52 unchanged lines hidden (view full) ---

63.Tn DES
64authentication system to work.
65.Pp
66The
67.Fn authdes_create
68function,
69used on the client side, returns an authentication handle that
70will enable the use of the secure authentication system.
3.\"
4.Dd February 16, 1988
5.Dt RPC 3
6.Os
7.Sh NAME
8.Nm rpc_secure
9.Nd library routines for secure remote procedure calls
10.Sh SYNOPSIS

--- 52 unchanged lines hidden (view full) ---

63.Tn DES
64authentication system to work.
65.Pp
66The
67.Fn authdes_create
68function,
69used on the client side, returns an authentication handle that
70will enable the use of the secure authentication system.
71The first parameter
71The first argument
72.Fa name
73is the network name, or
74.Fa netname ,
75of the owner of the server process.
76This field usually
77represents a
78.Fa hostname
79derived from the utility routine
80.Fn host2netname ,
81but could also represent a user name using
82.Fn user2netname .
83The second field is window on the validity of
84the client credential, given in seconds. A small
85window is more secure than a large one, but choosing
86too small of a window will increase the frequency of
87resynchronizations because of clock drift.
88The third
72.Fa name
73is the network name, or
74.Fa netname ,
75of the owner of the server process.
76This field usually
77represents a
78.Fa hostname
79derived from the utility routine
80.Fn host2netname ,
81but could also represent a user name using
82.Fn user2netname .
83The second field is window on the validity of
84the client credential, given in seconds. A small
85window is more secure than a large one, but choosing
86too small of a window will increase the frequency of
87resynchronizations because of clock drift.
88The third
89parameter
89argument
90.Fa addr
91is optional. If it is
92.Dv NULL ,
93then the authentication system will assume
94that the local clock is always in sync with the server's
95clock, and will not attempt resynchronizations.
96If an address
97is supplied, however, then the system will use the address
98for consulting the remote time service whenever
99resynchronization
100is required.
90.Fa addr
91is optional. If it is
92.Dv NULL ,
93then the authentication system will assume
94that the local clock is always in sync with the server's
95clock, and will not attempt resynchronizations.
96If an address
97is supplied, however, then the system will use the address
98for consulting the remote time service whenever
99resynchronization
100is required.
101This parameter is usually the
101This argument is usually the
102address of the
103.Tn RPC
104server itself.
102address of the
103.Tn RPC
104server itself.
105The final parameter
105The final argument
106.Fa ckey
107is also optional. If it is
108.Dv NULL ,
109then the authentication system will
110generate a random
111.Tn DES
112key to be used for the encryption of credentials.
113If it is supplied, however, then it will be used instead.

--- 166 unchanged lines hidden ---
106.Fa ckey
107is also optional. If it is
108.Dv NULL ,
109then the authentication system will
110generate a random
111.Tn DES
112key to be used for the encryption of credentials.
113If it is supplied, however, then it will be used instead.

--- 166 unchanged lines hidden ---