Added prototypes for two new routines:
authorRichard Basch <probe@mit.edu>
Tue, 5 Dec 1995 03:41:31 +0000 (03:41 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 5 Dec 1995 03:41:31 +0000 (03:41 +0000)
krb5_set_default_tgs_ktypes - sets default app. session key types.
krb5_get_tgs_ktypes - gets app. session key types.
Also added a new flag for testing credential matches (match supported keytype)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7167 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5.hin

index 59df309e0a92ca2d375b5d1139482efc214cfb0d..b59886138f0214e7da5bc0cb966d93c70113da47 100644 (file)
@@ -1052,6 +1052,7 @@ typedef struct _krb5_cc_ops {
 #define        KRB5_TC_MATCH_AUTHDATA          0x00000020
 #define        KRB5_TC_MATCH_SRV_NAMEONLY      0x00000040
 #define        KRB5_TC_MATCH_2ND_TKT           0x00000080
+#define        KRB5_TC_MATCH_KTYPE             0x00000100
 
 /* for set_flags and other functions */
 #define KRB5_TC_OPENCLOSE              0x00000001
@@ -1258,6 +1259,14 @@ krb5_error_code krb5_get_default_in_tkt_ktypes
        KRB5_PROTOTYPE((krb5_context,
                   krb5_enctype **));
 
+krb5_error_code krb5_set_default_tgs_ktypes
+       KRB5_PROTOTYPE((krb5_context,
+                  krb5_const krb5_enctype *));
+krb5_error_code krb5_get_tgs_ktypes
+       KRB5_PROTOTYPE((krb5_context,
+                  krb5_const_principal,
+                  krb5_enctype **));
+
 /* libkrb.spec */
 krb5_error_code krb5_kdc_rep_decrypt_proc
        KRB5_PROTOTYPE((krb5_context,