diff options
| author | Theodore Tso <tytso@mit.edu> | 1992-09-24 23:10:49 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1992-09-24 23:10:49 +0000 |
| commit | b10fcbd2ffabe35410a385f47aa1f0cbc27a8c52 (patch) | |
| tree | 4189a5a1f4715cf1843113544ccba046e090263a /src/include | |
| parent | 6d14855bbe6ea106b6f12aeeee95e8e2a45f8cbc (diff) | |
| download | krb5-b10fcbd2ffabe35410a385f47aa1f0cbc27a8c52.tar.gz krb5-b10fcbd2ffabe35410a385f47aa1f0cbc27a8c52.tar.xz krb5-b10fcbd2ffabe35410a385f47aa1f0cbc27a8c52.zip | |
Changes to support preauth. Added prototypes for krb5_obtain_padata
and krb5_verify_padata. Changed prototype for krb5_get_in_tkt
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2388 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/func-proto.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h index 35a9a9667f..10285eb30c 100644 --- a/src/include/krb5/func-proto.h +++ b/src/include/krb5/func-proto.h @@ -186,6 +186,15 @@ krb5_error_code krb5_425_conv_principal PROTOTYPE((const char *name, const char *instance, const char *realm, krb5_principal *princ)); +krb5_error_code krb5_obtain_padata + PROTOTYPE((int type, krb5_principal client, krb5_address **src_addr, + krb5_keyblock *encrypt_key, krb5_pa_data **data)); + +krb5_error_code krb5_verify_padata + PROTOTYPE((krb5_pa_data * data, krb5_principal client, + krb5_address **src_addr, krb5_keyblock *decrypt_key, + int *req_id, int *flags)); + /* libkt.spec */ krb5_error_code krb5_kt_register PROTOTYPE((krb5_kt_ops * )); @@ -309,7 +318,8 @@ krb5_error_code krb5_send_tgs krb5_error_code krb5_get_in_tkt PROTOTYPE((const krb5_flags, krb5_address * const *, - const krb5_enctype, + const krb5_preauthtype, + const krb5_enctype, const krb5_keytype, krb5_error_code (* )(const krb5_keytype, krb5_keyblock **, @@ -321,27 +331,35 @@ krb5_error_code krb5_get_in_tkt krb5_kdc_rep * ), krb5_const_pointer, krb5_creds *, - krb5_ccache )); + krb5_ccache, + krb5_kdc_rep ** )); + krb5_error_code krb5_get_in_tkt_with_password PROTOTYPE((const krb5_flags, krb5_address * const *, + const krb5_preauthtype pre_auth_type, const krb5_enctype, const krb5_keytype, const char *, krb5_ccache, - krb5_creds * )); + krb5_creds *, + krb5_kdc_rep ** )); + krb5_error_code krb5_get_in_tkt_with_skey PROTOTYPE((const krb5_flags, krb5_address * const *, + const krb5_preauthtype pre_auth_type, const krb5_enctype, const krb5_keyblock *, krb5_ccache, - krb5_creds * )); + krb5_creds *, + krb5_kdc_rep ** )); krb5_error_code krb5_decode_kdc_rep PROTOTYPE((krb5_data *, const krb5_keyblock *, const krb5_enctype, + krb5_kdc_rep ** )); typedef krb5_error_code (*krb5_rdreq_key_proc) PROTOTYPE((krb5_pointer, |
