getsecretkey man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



publickey(3N)							 publickey(3N)

NAME
     publickey: getpublickey, getsecretkey - retrieve public or secret key

SYNOPSIS
     #include <rpc/rpc.h>
     #include <rpc/key_prot.h>
     getpublickey(const char netname[MAXNETNAMELEN],
	  char publickey[HEXKEYBYTES]);
     getsecretkey(const char netname[MAXNETNAMELEN],
	  char secretkey[HEXKEYBYTES], const char *passwd);

DESCRIPTION
     getpublickey and getsecretkey get public and secret keys for netname from
     the publickey(4) database.

     getsecretkey has an extra argument, passwd, used to decrypt the encrypted
     secret key stored in the database.

     Both routines return 1 if they are successful in finding the key, 0
     otherwise.	 The keys are returned as NULL-terminated, hexadecimal
     strings.  If the password supplied to getsecretkey fails to decrypt the
     secret key, the routine will return 1 but the secretkey argument will be
     a NULL string.

NOTE
     These routines are not supported, and no actual encryption or decryption
     is done.

SEE ALSO
     secure_rpc(3N)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net