Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dg_encryptsessionkey(2) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     dgencryptsessionkey(2)    DG/UX 4.30     dgencryptsessionkey(2)



     NAME
          dg_encryptsessionkey - Encrypt a conversation key with the
          client/server common key.

     SYNOPSIS
          int dg_encryptsessionkey  (netname, deskey)
                     char *          netname;
                     des_block *     deskey;

     PARAMETERS
          netname        Netname of the server.

          deskey         Pointer to the des key to encrypt.

     DESCRIPTION
          This call is used to request the user keyserver process to
          encrypt 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_decryptsessionkey.2, dg_getrootkey.2, dg_setsecretykey.2.




     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026