dgdecryptsessionkey(2) DG/UX 4.30 dgdecryptsessionkey(2)
NAME
dg_decryptsessionkey - Decrypt a conversation key with the
client/server common key.
SYNOPSIS
int dg_decryptsessionkey (netname, deskey)
char * netname;
des_block * deskey;
PARAMETERS
netname Netname of the server.
deskey Pointer to the DES key to decrypt.
DESCRIPTION
This call is used to request the user keyserver process to
decrypt a conversation key with the common key for this user
and the server machine.
ACCESS CONTROL
None.
RETURN VALUE
0 The operation was successful.
-1 An error occurred. Errno indicates the
error.
EXCEPTIONS
Errno may be set to one of the following error codes:
EINVAL
Secure RPC is not configured. Secure RPC using DES
Authentication is an additional feature that must be
purchased separately from the DG/UXTM ONCTM/NFS
product.
ENOMEM
Kernel memory could not be allocated to read in the
netname.
EFAULT
Some part of the string pointed to by netname lies
outside the process's readable address space.
EFAULT
Some part of the string pointed to by deskey lies
outside the process's writable address space.
SEE ALSO
dg_encryptsessionkey.2, dg_getrootkey.2, dg_setsecretkey.2.
Licensed material--property of copyright holder(s) Page 1