dgsetsecretkey(2) DG/UX 4.30 dgsetsecretkey(2)
NAME
dg_setsecretkey - Store a client's secret key in the
keyserver.
SYNOPSIS
int dg_setsecretkey (secretkey)
char * secretkey;
PARAMETERS
secretkey The secret key.
DESCRIPTION
This call is used to store a user's decrypted secret key in
the database maintained by the keyserver process.
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.
EFAULT
Some part of the string pointed to by secretkey lies
outside the process's readable address space.
SEE ALSO
dg_decryptsessionkey.2, dg_encryptsessionkey.2,
dg_getrootkey.2.
Licensed material--property of copyright holder(s) Page 1