#define KRB5_KEYUSAGE_GSS_TOK_WRAP_INTEG 23
#define KRB5_KEYUSAGE_GSS_TOK_WRAP_PRIV 24
-
+#if KRB5_PRIVATE
krb5_boolean KRB5_CALLCONV valid_enctype
(krb5_enctype ktype);
krb5_boolean KRB5_CALLCONV valid_cksumtype
(krb5_cksumtype ctype);
krb5_boolean KRB5_CALLCONV is_keyed_cksum
(krb5_cksumtype ctype);
+#endif
#ifdef KRB5_OLD_CRYPTO
/*
const krb5_pointer in, const size_t in_length,
const krb5_pointer seed, const size_t seed_length);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_random_confounder
(size_t, krb5_pointer);
(krb5_context context, krb5_keyblock *key,
krb5_pointer ivec, krb5_enc_data *data,
krb5_data *enc_data);
+#endif
#endif /* KRB5_OLD_CRYPTO */
krb5_timestamp ctime;
} krb5_donot_replay;
+#if KRB5_PRIVATE
krb5_error_code krb5_rc_default
(krb5_context,
krb5_rcache *);
(krb5_context, krb5_rcache);
krb5_error_code KRB5_CALLCONV krb5_rc_resolve
(krb5_context, krb5_rcache, char *);
-
+#endif /* KRB5_PRIVATE */
/*
* end "rcache.h"
*/
void KRB5_CALLCONV krb5_free_context
(krb5_context);
+#if KRB5_PRIVATE
krb5_error_code krb5_set_default_in_tkt_ktypes
(krb5_context,
const krb5_enctype *);
krb5_error_code krb5_set_default_tgs_ktypes
(krb5_context,
const krb5_enctype *);
+#endif
+
krb5_error_code KRB5_CALLCONV
krb5_set_default_tgs_enctypes
(krb5_context,
const krb5_enctype *);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_get_tgs_ktypes
(krb5_context,
krb5_const_principal,
krb5_boolean krb5_is_permitted_enctype
(krb5_context, krb5_enctype);
+#endif
/* libkrb.spec */
+#if KRB5_PRIVATE
krb5_error_code krb5_kdc_rep_decrypt_proc
(krb5_context,
const krb5_keyblock *,
krb5_creds *,
krb5_creds **,
krb5_creds *** );
+#endif
+
void KRB5_CALLCONV krb5_free_tgt_creds
(krb5_context,
krb5_creds **); /* XXX too hard to do with const */
krb5_ccache,
krb5_creds *,
krb5_creds **);
+#if KRB5_PRIVATE
krb5_error_code krb5_get_cred_via_tkt
(krb5_context,
krb5_creds *,
krb5_address * const *,
krb5_creds *,
krb5_creds **);
+#endif
krb5_error_code KRB5_CALLCONV krb5_mk_req
(krb5_context,
krb5_auth_context *,
(krb5_context,
krb5_const_principal,
krb5_principal *);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_copy_addr
(krb5_context,
const krb5_address *,
krb5_address **);
+#endif
krb5_error_code KRB5_CALLCONV krb5_copy_addresses
(krb5_context,
krb5_address * const *,
(krb5_context,
const krb5_checksum *,
krb5_checksum **);
+#if KRB5_PRIVATE
void krb5_init_ets
(krb5_context);
void krb5_free_ets
krb5_error_code krb5_generate_seq_number
(krb5_context,
const krb5_keyblock *, krb5_int32 *);
+#endif
krb5_error_code KRB5_CALLCONV krb5_get_server_rcache
(krb5_context,
const krb5_data *, krb5_rcache *);
(krb5_context context, const krb5_principal princ,
char *name, char *inst, char *realm);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_mk_chpw_req
(krb5_context context, krb5_auth_context auth_context,
krb5_data *ap_req, char *passwd, krb5_data *packet);
krb5_error_code KRB5_CALLCONV krb5_chpw_result_code_string
(krb5_context context, int result_code,
char **result_codestr);
+#endif
/* libkt.spec */
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_kt_register
(krb5_context,
struct _krb5_kt_ops * );
+#endif
+
krb5_error_code KRB5_CALLCONV krb5_kt_resolve
(krb5_context,
const char *,
(krb5_context,
krb5_keytab,
krb5_keytab_entry * );
+#if KRB5_PRIVATE
krb5_error_code krb5_principal2salt
(krb5_context,
krb5_const_principal, krb5_data *);
krb5_error_code krb5_principal2salt_norealm
(krb5_context,
krb5_const_principal, krb5_data *);
-
+#endif
/* librc.spec--see rcache.h */
/* libcc.spec */
krb5_error_code KRB5_CALLCONV krb5_cc_default
(krb5_context,
krb5_ccache *);
+#if KRB5_PRIVATE
unsigned int KRB5_CALLCONV krb5_get_notification_message
(void);
+#endif
krb5_error_code KRB5_CALLCONV krb5_cc_copy_creds
(krb5_context context,
/* chk_trans.c */
+#if KRB5_PRIVATE
krb5_error_code krb5_check_transited_list
(krb5_context, const krb5_data *trans,
const krb5_data *realm1, const krb5_data *realm2);
+#endif
/* free_rtree.c */
+#if KRB5_PRIVATE
void krb5_free_realm_tree
(krb5_context,
krb5_principal *);
+#endif
/* krb5_free.c */
void KRB5_CALLCONV krb5_free_principal
(krb5_context, krb5_principal );
void KRB5_CALLCONV krb5_free_authenticator
(krb5_context, krb5_authenticator * );
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_authenticator_contents
(krb5_context, krb5_authenticator * );
+#endif
void KRB5_CALLCONV krb5_free_addresses
(krb5_context, krb5_address ** );
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_address
(krb5_context, krb5_address * );
+#endif
void KRB5_CALLCONV krb5_free_authdata
(krb5_context, krb5_authdata ** );
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_enc_tkt_part
(krb5_context, krb5_enc_tkt_part * );
+#endif
void KRB5_CALLCONV krb5_free_ticket
(krb5_context, krb5_ticket * );
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_tickets
(krb5_context, krb5_ticket ** );
void KRB5_CALLCONV krb5_free_kdc_req
(krb5_context, krb5_last_req_entry ** );
void KRB5_CALLCONV krb5_free_enc_kdc_rep_part
(krb5_context, krb5_enc_kdc_rep_part * );
+#endif
void KRB5_CALLCONV krb5_free_error
(krb5_context, krb5_error * );
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_ap_req
(krb5_context, krb5_ap_req * );
void KRB5_CALLCONV krb5_free_ap_rep
(krb5_context, krb5_ap_rep * );
void KRB5_CALLCONV krb5_free_cred
(krb5_context, krb5_cred *);
+#endif
void KRB5_CALLCONV krb5_free_creds
(krb5_context, krb5_creds *);
void KRB5_CALLCONV krb5_free_cred_contents
(krb5_context, krb5_creds *);
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_cred_enc_part
(krb5_context, krb5_cred_enc_part *);
+#endif
void KRB5_CALLCONV krb5_free_checksum
(krb5_context, krb5_checksum *);
void KRB5_CALLCONV krb5_free_checksum_contents
(krb5_context, krb5_keyblock *);
void KRB5_CALLCONV krb5_free_keyblock_contents
(krb5_context, krb5_keyblock *);
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_pa_data
(krb5_context, krb5_pa_data **);
+#endif
void KRB5_CALLCONV krb5_free_ap_rep_enc_part
(krb5_context, krb5_ap_rep_enc_part *);
+#if KRB5_PRIVATE
void KRB5_CALLCONV krb5_free_tkt_authent
(krb5_context, krb5_tkt_authent *);
void KRB5_CALLCONV krb5_free_pwd_data
(krb5_context, krb5_pwd_data *);
void KRB5_CALLCONV krb5_free_pwd_sequences
(krb5_context, passwd_phrase_element **);
+#endif
void KRB5_CALLCONV krb5_free_data
(krb5_context, krb5_data *);
void KRB5_CALLCONV krb5_free_data_contents
int *result_code, krb5_data *result_code_string,
krb5_data *result_string);
+#if KRB5_PRIVATE
#ifndef macintosh
krb5_error_code krb5_set_config_files
(krb5_context, const char **);
(char **filenames);
#endif
+#endif
krb5_error_code KRB5_CALLCONV
krb5_get_profile
(krb5_context, profile_t *);
+#if KRB5_PRIVATE
krb5_error_code krb5_send_tgs
(krb5_context,
const krb5_flags,
const krb5_data *,
krb5_creds *,
krb5_response * );
+#endif
+#if KRB5_DEPRECATED
krb5_error_code KRB5_CALLCONV krb5_get_in_tkt
(krb5_context,
const krb5_flags,
krb5_ccache,
krb5_creds *,
krb5_kdc_rep ** );
+#endif /* KRB5_DEPRECATED */
-
+#if KRB5_PRIVATE
krb5_error_code krb5_decode_kdc_rep
(krb5_context,
krb5_data *,
const krb5_keyblock *,
krb5_kdc_rep ** );
+#endif
krb5_error_code KRB5_CALLCONV krb5_rd_req
(krb5_context,
krb5_flags *,
krb5_ticket **);
+#if KRB5_PRIVATE
krb5_error_code krb5_rd_req_decoded
(krb5_context,
krb5_auth_context *,
krb5_keytab,
krb5_flags *,
krb5_ticket **);
+#endif
krb5_error_code KRB5_CALLCONV krb5_kt_read_service_key
(krb5_context,
const krb5_data *,
krb5_data *,
krb5_replay_data *);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_cc_register
(krb5_context,
krb5_cc_ops *,
krb5_boolean );
+#endif
krb5_error_code KRB5_CALLCONV krb5_sendauth
(krb5_context,
krb5_ticket **,
krb5_data *);
+#if KRB5_PRIVATE
krb5_error_code krb5_walk_realm_tree
(krb5_context,
const krb5_data *,
const krb5_data *,
krb5_principal **,
int);
+#endif
krb5_error_code KRB5_CALLCONV krb5_mk_ncred
(krb5_context,
krb5_auth_context,
krb5_keyblock **);
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_auth_con_set_req_cksumtype
(krb5_context,
krb5_auth_context,
(krb5_context,
krb5_auth_context,
krb5_cksumtype);
-
-krb5_error_code krb5_auth_con_getcksumtype
- (krb5_context,
- krb5_auth_context,
- krb5_cksumtype *);
+#endif
krb5_error_code KRB5_CALLCONV krb5_auth_con_getlocalseqnumber
(krb5_context,
krb5_auth_context,
krb5_int32 *);
+#if KRB5_DEPRECATED
krb5_error_code krb5_auth_con_initivector
(krb5_context,
krb5_auth_context);
+#endif
+#if KRB5_PRIVATE
krb5_error_code krb5_auth_con_setivector
(krb5_context,
krb5_auth_context,
(krb5_context,
krb5_auth_context,
krb5_pointer *);
+#endif
krb5_error_code KRB5_CALLCONV krb5_auth_con_setrcache
(krb5_context,
krb5_auth_context,
krb5_rcache *);
+#if KRB5_PRIVATE
krb5_error_code krb5_auth_con_setpermetypes
(krb5_context,
krb5_auth_context,
(krb5_context,
krb5_auth_context,
krb5_enctype **);
+#endif
krb5_error_code KRB5_CALLCONV krb5_auth_con_getauthenticator
(krb5_context,
* begin stuff from libos.h
*/
+#if KRB5_PRIVATE
krb5_error_code krb5_read_message (krb5_context, krb5_pointer, krb5_data *);
krb5_error_code krb5_write_message (krb5_context, krb5_pointer, krb5_data *);
int krb5_net_read (krb5_context, int , char *, int);
int krb5_net_write (krb5_context, int , const char *, int);
+#endif
krb5_error_code KRB5_CALLCONV krb5_read_password
(krb5_context,
krb5_const_principal,
const int,
char * );
+#if KRB5_PRIVATE
krb5_error_code KRB5_CALLCONV krb5_get_host_realm
(krb5_context,
const char *,
(krb5_context,
const char *,
char ** );
+#endif
krb5_boolean KRB5_CALLCONV krb5_kuserok
(krb5_context,
krb5_principal, const char *);
(krb5_context,
krb5_auth_context,
int, int);
+#if KRB5_PRIVATE
krb5_error_code krb5_gen_portaddr
(krb5_context,
const krb5_address *,
(krb5_context, krb5_int32, krb5_int32);
krb5_error_code krb5_use_natural_time
(krb5_context);
+#endif
krb5_error_code krb5_get_time_offsets
(krb5_context, krb5_int32 *, krb5_int32 *);
+#if KRB5_PRIVATE
krb5_error_code krb5_set_time_offsets
(krb5_context, krb5_int32, krb5_int32);
+#endif
/* str_conv.c */
krb5_error_code KRB5_CALLCONV krb5_string_to_enctype
int default_value,
int *ret_value);
+#if KRB5_PRIVATE
/*
* The realm iterator functions
*/
void KRB5_CALLCONV krb5_free_realm_string
(krb5_context context, char *str);
+#endif
/*
* Prompter enhancements