dg_setsecretkey(2) DG/UX 5.4.2 dg_setsecretkey(2)
NAME
dgsetsecretkey - store a client's secret key in the keyserver
SYNOPSIS
int dgsetsecretkey (secretkey)
char * secretkey;
where:
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.
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.
EFAULT Some part of the string pointed to by secretkey lies
outside the process's readable address space.
SEE ALSO
dgdecryptsessionkey(2), dgencryptsessionkey(2), dggetrootkey(2).
Licensed material--property of copyright holder(s) 1