Back to index

glibc  2.9
Classes | Defines | Typedefs | Enumerations | Functions
key_prot.h File Reference
#include <rpc/rpc.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cryptkeyarg
struct  cryptkeyarg2
struct  cryptkeyres
struct  unixcred
struct  getcredres
struct  key_netstarg
struct  key_netstres
union  cryptkeyres.cryptkeyres_u
struct  unixcred.gids
union  getcredres.getcredres_u
union  key_netstres.key_netstres_u

Defines

#define PROOT   3
#define HEXMODULUS   "d4a0ba0250b6fd2ec626e7efd637df76c716e22d0944b88b"
#define HEXKEYBYTES   48
#define KEYSIZE   192
#define KEYBYTES   24
#define KEYCHECKSUMSIZE   16
#define MAXGIDS   16
#define opaque   char
#define KEY_PROG   ((u_long)100029)
#define KEY_VERS   ((u_long)1)
#define KEY_SET   ((u_long)1)
#define KEY_ENCRYPT   ((u_long)2)
#define KEY_DECRYPT   ((u_long)3)
#define KEY_GEN   ((u_long)4)
#define KEY_GETCRED   ((u_long)5)
#define KEY_VERS2   ((u_long)2)
#define KEY_ENCRYPT_PK   ((u_long)6)
#define KEY_DECRYPT_PK   ((u_long)7)
#define KEY_NET_PUT   ((u_long)8)
#define KEY_NET_GET   ((u_long)9)
#define KEY_GET_CONV   ((u_long)10)

Typedefs

typedef enum keystatus bool_t xdr_keystatus ()
typedef char keybuf [HEXKEYBYTES]
typedef char * netnamestr
typedef struct cryptkeyarg
typedef struct cryptkeyarg2
typedef struct cryptkeyres
typedef struct unixcred
typedef struct getcredres
typedef struct key_netstarg
typedef struct key_netstres

Enumerations

enum  keystatus { KEY_SUCCESS = 0, KEY_NOSECRET = 1, KEY_UNKNOWN = 2, KEY_SYSTEMERR = 3 }

Functions

bool_t xdr_keybuf ()
bool_t xdr_netnamestr ()
bool_t xdr_cryptkeyarg ()
bool_t xdr_cryptkeyarg2 ()
bool_t xdr_cryptkeyres ()
bool_t xdr_unixcred ()
bool_t xdr_getcredres ()
bool_t xdr_key_netstarg ()
bool_t xdr_key_netstres ()
keystatuskey_set_1 ()
keystatuskey_set_1_svc ()
cryptkeyreskey_encrypt_1 ()
cryptkeyreskey_encrypt_1_svc ()
cryptkeyreskey_decrypt_1 ()
cryptkeyreskey_decrypt_1_svc ()
des_blockkey_gen_1 ()
des_blockkey_gen_1_svc ()
getcredreskey_getcred_1 ()
getcredreskey_getcred_1_svc ()
keystatuskey_set_2 ()
keystatuskey_set_2_svc ()
cryptkeyreskey_encrypt_2 ()
cryptkeyreskey_encrypt_2_svc ()
cryptkeyreskey_decrypt_2 ()
cryptkeyreskey_decrypt_2_svc ()
des_blockkey_gen_2 ()
des_blockkey_gen_2_svc ()
getcredreskey_getcred_2 ()
getcredreskey_getcred_2_svc ()
cryptkeyreskey_encrypt_pk_2 ()
cryptkeyreskey_encrypt_pk_2_svc ()
cryptkeyreskey_decrypt_pk_2 ()
cryptkeyreskey_decrypt_pk_2_svc ()
keystatuskey_net_put_2 ()
keystatuskey_net_put_2_svc ()
key_netstreskey_net_get_2 ()
key_netstreskey_net_get_2_svc ()
cryptkeyreskey_get_conv_2 ()
cryptkeyreskey_get_conv_2_svc ()

Class Documentation

struct cryptkeyarg

Definition at line 92 of file key_prot.h.

Class Members
des_block deskey
netnamestr remotename
struct cryptkeyarg2

Definition at line 106 of file key_prot.h.

Class Members
des_block deskey
netobj remotekey
netnamestr remotename
struct cryptkeyres

Definition at line 121 of file key_prot.h.

Class Members
union cryptkeyres cryptkeyres_u
keystatus status
struct unixcred

Definition at line 138 of file key_prot.h.

Class Members
u_int gid
struct unixcred gids
u_int uid
struct getcredres

Definition at line 156 of file key_prot.h.

Class Members
union getcredres getcredres_u
keystatus status
struct key_netstarg

Definition at line 172 of file key_prot.h.

Class Members
netnamestr st_netname
keybuf st_priv_key
keybuf st_pub_key
struct key_netstres

Definition at line 187 of file key_prot.h.

Class Members
union key_netstres key_netstres_u
keystatus status
union cryptkeyres.cryptkeyres_u

Definition at line 123 of file key_prot.h.

Class Members
des_block deskey
struct unixcred.gids

Definition at line 141 of file key_prot.h.

Class Members
u_int gids_len
u_int * gids_val
union getcredres.getcredres_u

Definition at line 158 of file key_prot.h.

Class Members
unixcred cred
union key_netstres.key_netstres_u

Definition at line 189 of file key_prot.h.

Class Members
key_netstarg knet

Define Documentation

#define HEXKEYBYTES   48

Definition at line 51 of file key_prot.h.

#define HEXMODULUS   "d4a0ba0250b6fd2ec626e7efd637df76c716e22d0944b88b"

Definition at line 50 of file key_prot.h.

#define KEY_DECRYPT   ((u_long)3)

Definition at line 252 of file key_prot.h.

#define KEY_DECRYPT_PK   ((u_long)7)

Definition at line 332 of file key_prot.h.

#define KEY_ENCRYPT   ((u_long)2)

Definition at line 249 of file key_prot.h.

#define KEY_ENCRYPT_PK   ((u_long)6)

Definition at line 329 of file key_prot.h.

#define KEY_GEN   ((u_long)4)

Definition at line 255 of file key_prot.h.

#define KEY_GET_CONV   ((u_long)10)

Definition at line 341 of file key_prot.h.

#define KEY_GETCRED   ((u_long)5)

Definition at line 258 of file key_prot.h.

#define KEY_NET_GET   ((u_long)9)

Definition at line 338 of file key_prot.h.

#define KEY_NET_PUT   ((u_long)8)

Definition at line 335 of file key_prot.h.

#define KEY_PROG   ((u_long)100029)

Definition at line 208 of file key_prot.h.

#define KEY_SET   ((u_long)1)

Definition at line 246 of file key_prot.h.

#define KEY_VERS   ((u_long)1)

Definition at line 209 of file key_prot.h.

#define KEY_VERS2   ((u_long)2)

Definition at line 262 of file key_prot.h.

#define KEYBYTES   24

Definition at line 53 of file key_prot.h.

#define KEYCHECKSUMSIZE   16

Definition at line 54 of file key_prot.h.

#define KEYSIZE   192

Definition at line 52 of file key_prot.h.

#define MAXGIDS   16

Definition at line 136 of file key_prot.h.

#define opaque   char

Definition at line 204 of file key_prot.h.

#define PROOT   3

Definition at line 49 of file key_prot.h.


Typedef Documentation

typedef struct cryptkeyarg

Definition at line 96 of file key_prot.h.

typedef struct cryptkeyarg2

Definition at line 111 of file key_prot.h.

typedef struct cryptkeyres

Definition at line 127 of file key_prot.h.

typedef struct getcredres

Definition at line 162 of file key_prot.h.

typedef struct key_netstarg

Definition at line 177 of file key_prot.h.

typedef struct key_netstres

Definition at line 193 of file key_prot.h.

typedef char keybuf[HEXKEYBYTES]

Definition at line 72 of file key_prot.h.

typedef char* netnamestr

Definition at line 82 of file key_prot.h.

typedef struct unixcred

Definition at line 146 of file key_prot.h.

typedef enum keystatus bool_t xdr_keystatus()

Definition at line 68 of file key_prot.h.


Enumeration Type Documentation

enum keystatus
Enumerator:
KEY_SUCCESS 
KEY_NOSECRET 
KEY_UNKNOWN 
KEY_SYSTEMERR 

Definition at line 56 of file key_prot.h.


Function Documentation