2008-05-07 13:39:42 +00:00
|
|
|
/* This is a generated file */
|
|
|
|
#ifndef __kdc_private_h__
|
|
|
|
#define __kdc_private_h__
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_add_KRB5SignedPath (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
hdb_entry_ex */*krbtgt*/,
|
|
|
|
krb5_enctype /*enctype*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_principal /*client*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
krb5_const_principal /*server*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_principals /*principals*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
EncTicketPart */*tkt*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_add_inital_verified_cas (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
pk_client_params */*cp*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
EncTicketPart */*tkt*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_as_rep (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
KDC_REQ */*req*/,
|
|
|
|
const krb5_data */*req_buffer*/,
|
|
|
|
krb5_data */*reply*/,
|
|
|
|
const char */*from*/,
|
|
|
|
struct sockaddr */*from_addr*/,
|
|
|
|
int /*datagram_reply*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
2011-10-05 07:23:29 +00:00
|
|
|
_kdc_check_access (
|
2008-05-07 13:39:42 +00:00
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
hdb_entry_ex */*client_ex*/,
|
|
|
|
const char */*client_name*/,
|
|
|
|
hdb_entry_ex */*server_ex*/,
|
|
|
|
const char */*server_name*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
KDC_REQ */*req*/,
|
|
|
|
krb5_data */*e_data*/);
|
|
|
|
|
|
|
|
krb5_boolean
|
|
|
|
_kdc_check_addresses (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
HostAddresses */*addresses*/,
|
|
|
|
const struct sockaddr */*from*/);
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_db_fetch (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
krb5_const_principal /*principal*/,
|
|
|
|
unsigned /*flags*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5uint32 */*kvno_ptr*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
HDB **/*db*/,
|
|
|
|
hdb_entry_ex **/*h*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_do_digest (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
const struct DigestREQ */*req*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
krb5_data */*reply*/,
|
|
|
|
const char */*from*/,
|
|
|
|
struct sockaddr */*addr*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_do_kx509 (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
const struct Kx509Request */*req*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
krb5_data */*reply*/,
|
|
|
|
const char */*from*/,
|
|
|
|
struct sockaddr */*addr*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_encode_reply (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
KDC_REP */*rep*/,
|
|
|
|
const EncTicketPart */*et*/,
|
|
|
|
EncKDCRepPart */*ek*/,
|
|
|
|
krb5_enctype /*etype*/,
|
|
|
|
int /*skvno*/,
|
|
|
|
const EncryptionKey */*skey*/,
|
|
|
|
int /*ckvno*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
const EncryptionKey */*reply_key*/,
|
|
|
|
int /*rk_is_subkey*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
const char **/*e_text*/,
|
|
|
|
krb5_data */*reply*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_find_etype (
|
|
|
|
krb5_context /*context*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_boolean /*use_strongest_session_key*/,
|
|
|
|
krb5_boolean /*is_preauth*/,
|
|
|
|
hdb_entry_ex */*princ*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
krb5_enctype */*etypes*/,
|
|
|
|
unsigned /*len*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_enctype */*ret_enctype*/,
|
|
|
|
Key **/*ret_key*/);
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
const PA_DATA*
|
|
|
|
_kdc_find_padata (
|
|
|
|
const KDC_REQ */*req*/,
|
|
|
|
int */*start*/,
|
|
|
|
int /*type*/);
|
|
|
|
|
|
|
|
void
|
|
|
|
_kdc_fix_time (time_t **/*t*/);
|
|
|
|
|
|
|
|
void
|
|
|
|
_kdc_free_ent (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
hdb_entry_ex */*ent*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_get_preferred_key (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
hdb_entry_ex */*h*/,
|
|
|
|
const char */*name*/,
|
|
|
|
krb5_enctype */*enctype*/,
|
|
|
|
Key **/*key*/);
|
|
|
|
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_boolean
|
|
|
|
_kdc_is_anonymous (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_principal /*principal*/);
|
|
|
|
|
|
|
|
krb5_boolean
|
|
|
|
_kdc_is_weak_exception (
|
|
|
|
krb5_principal /*principal*/,
|
|
|
|
krb5_enctype /*etype*/);
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
void
|
|
|
|
_kdc_log_timestamp (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
const char */*type*/,
|
|
|
|
KerberosTime /*authtime*/,
|
|
|
|
KerberosTime */*starttime*/,
|
|
|
|
KerberosTime /*endtime*/,
|
|
|
|
KerberosTime */*renew_till*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_make_anonymous_principalname (PrincipalName */*pn*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_pac_generate (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
hdb_entry_ex */*client*/,
|
|
|
|
krb5_pac */*pac*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_pac_verify (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
const krb5_principal /*client_principal*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
const krb5_principal /*delegated_proxy_principal*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
hdb_entry_ex */*client*/,
|
|
|
|
hdb_entry_ex */*server*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
hdb_entry_ex */*krbtgt*/,
|
|
|
|
krb5_pac */*pac*/,
|
|
|
|
int */*verified*/);
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_pk_check_client (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
HDB */*clientdb*/,
|
|
|
|
hdb_entry_ex */*client*/,
|
|
|
|
pk_client_params */*cp*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
char **/*subject_name*/);
|
|
|
|
|
|
|
|
void
|
|
|
|
_kdc_pk_free_client_param (
|
|
|
|
krb5_context /*context*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
pk_client_params */*cp*/);
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_pk_mk_pa_reply (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
pk_client_params */*cp*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
const hdb_entry_ex */*client*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_enctype /*sessionetype*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
const KDC_REQ */*req*/,
|
|
|
|
const krb5_data */*req_buffer*/,
|
|
|
|
krb5_keyblock **/*reply_key*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
krb5_keyblock */*sessionkey*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
METHOD_DATA */*md*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_pk_rd_padata (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
const KDC_REQ */*req*/,
|
|
|
|
const PA_DATA */*pa*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
hdb_entry_ex */*client*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
pk_client_params **/*ret_params*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_tgs_rep (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
krb5_kdc_configuration */*config*/,
|
|
|
|
KDC_REQ */*req*/,
|
|
|
|
krb5_data */*data*/,
|
|
|
|
const char */*from*/,
|
|
|
|
struct sockaddr */*from_addr*/,
|
|
|
|
int /*datagram_reply*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_tkt_add_if_relevant_ad (
|
|
|
|
krb5_context /*context*/,
|
|
|
|
EncTicketPart */*tkt*/,
|
|
|
|
int /*type*/,
|
|
|
|
const krb5_data */*data*/);
|
|
|
|
|
|
|
|
krb5_error_code
|
|
|
|
_kdc_try_kx509_request (
|
|
|
|
void */*ptr*/,
|
|
|
|
size_t /*len*/,
|
2011-10-05 07:23:29 +00:00
|
|
|
struct Kx509Request */*req*/,
|
2008-05-07 13:39:42 +00:00
|
|
|
size_t */*size*/);
|
|
|
|
|
|
|
|
#endif /* __kdc_private_h__ */
|