dg_decryptsessionkey(2) DG/UX 5.4.2 dg_decryptsessionkey(2)
NAME
dgdecryptsessionkey - decrypt conversation key with the
client/server common key
SYNOPSIS
int dgdecryptsessionkey (netname, deskey)
char * netname;
desblock * deskey;
where:
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.
DIAGNOSTICS
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/UX (Trademark) ONC
(Trademark)/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
dgencryptsessionkey(2), dggetrootkey(2), dgsetsecretkey(2).
Licensed material--property of copyright holder(s) 1