Asks the keyserv daemon for a secure conversation key.
#include <rpc/rpc.h>
key_gendes (deskey) des_block *deskey;
The key_gendes subroutine interfaces to the keyserv daemon, which is associated with the secure authentication system known as Data Encryption Standard (DES). This subroutine asks the keyserv daemon for a secure conversation key. Choosing a key at random is not recommended because the common ways of choosing random numbers, such as the current time, are easy to guess. User programs rarely need to call this subroutine. System commands such as keylogin and the Remote Procedure Call (RPC) library are the main clients.
deskey | Points to the des_block structure. |
Upon successful completion, this subroutine returns a value of 0. If unsuccessful, it returns a value of -1.
This subroutine is part of Base Operating System (BOS) Runtime.
List of RPC Programming References.
The keylogin command.
The keyserv daemon.
Remote Procedure Call (RPC) Overview for Programming in AIX Version 4.3 Communications Programming Concepts.