publickey.3 (84306) | publickey.3 (108037) |
---|---|
1.\" @(#)publickey.3r 2.1 88/08/07 4.0 RPCSRC | 1.\" @(#)publickey.3r 2.1 88/08/07 4.0 RPCSRC |
2.\" $FreeBSD: head/lib/libc/rpc/publickey.3 84306 2001-10-01 16:09:29Z ru $ | 2.\" $FreeBSD: head/lib/libc/rpc/publickey.3 108037 2002-12-18 12:45:11Z ru $ |
3.\" 4.Dd October 6, 1987 5.Dt PUBLICKEY 3 6.Os 7.Sh NAME 8.Nm publickey , getpublickey , getsecretkey 9.Nd "get public or secret key" 10.Sh LIBRARY --- 11 unchanged lines hidden (view full) --- 22.Fa "char netname[MAXNETNAMELEN+1]" 23.Fa "char secretkey[HEXKEYBYTES+1]" 24.Fa "char *passwd" 25.Fc 26.Sh DESCRIPTION 27These routines are used to get public and secret keys from the 28.Tn YP 29database. | 3.\" 4.Dd October 6, 1987 5.Dt PUBLICKEY 3 6.Os 7.Sh NAME 8.Nm publickey , getpublickey , getsecretkey 9.Nd "get public or secret key" 10.Sh LIBRARY --- 11 unchanged lines hidden (view full) --- 22.Fa "char netname[MAXNETNAMELEN+1]" 23.Fa "char secretkey[HEXKEYBYTES+1]" 24.Fa "char *passwd" 25.Fc 26.Sh DESCRIPTION 27These routines are used to get public and secret keys from the 28.Tn YP 29database. |
30The |
|
30.Fn getsecretkey | 31.Fn getsecretkey |
32function |
|
31has an extra argument, 32.Fa passwd , 33which is used to decrypt the encrypted secret key stored in the database. 34Both routines return 1 if they are successful in finding the key, 0 otherwise. 35The keys are returned as 36.Dv NULL Ns \-terminated , 37hexadecimal strings. 38If the password supplied to --- 13 unchanged lines hidden --- | 33has an extra argument, 34.Fa passwd , 35which is used to decrypt the encrypted secret key stored in the database. 36Both routines return 1 if they are successful in finding the key, 0 otherwise. 37The keys are returned as 38.Dv NULL Ns \-terminated , 39hexadecimal strings. 40If the password supplied to --- 13 unchanged lines hidden --- |