xref: /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/kt_solaris.h (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
1*418e2f30SShawn Emery /*
2*418e2f30SShawn Emery  * CDDL HEADER START
3*418e2f30SShawn Emery  *
4*418e2f30SShawn Emery  * The contents of this file are subject to the terms of the
5*418e2f30SShawn Emery  * Common Development and Distribution License (the "License").
6*418e2f30SShawn Emery  * You may not use this file except in compliance with the License.
7*418e2f30SShawn Emery  *
8*418e2f30SShawn Emery  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*418e2f30SShawn Emery  * or http://www.opensolaris.org/os/licensing.
10*418e2f30SShawn Emery  * See the License for the specific language governing permissions
11*418e2f30SShawn Emery  * and limitations under the License.
12*418e2f30SShawn Emery  *
13*418e2f30SShawn Emery  * When distributing Covered Code, include this CDDL HEADER in each
14*418e2f30SShawn Emery  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*418e2f30SShawn Emery  * If applicable, add the following below this CDDL HEADER, with the
16*418e2f30SShawn Emery  * fields enclosed by brackets "[]" replaced with your own identifying
17*418e2f30SShawn Emery  * information: Portions Copyright [yyyy] [name of copyright owner]
18*418e2f30SShawn Emery  *
19*418e2f30SShawn Emery  * CDDL HEADER END
20*418e2f30SShawn Emery  */
21*418e2f30SShawn Emery 
22*418e2f30SShawn Emery /*
23*418e2f30SShawn Emery  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*418e2f30SShawn Emery  */
25*418e2f30SShawn Emery 
26*418e2f30SShawn Emery #ifndef	_KT_SOLARIS_H
27*418e2f30SShawn Emery #define	_KT_SOLARIS_H
28*418e2f30SShawn Emery 
29*418e2f30SShawn Emery #define	KRB5_KT_FLAG_AES_SUPPORT	1
30*418e2f30SShawn Emery 
31*418e2f30SShawn Emery krb5_error_code krb5_kt_add_ad_entries(krb5_context, char **, char *, krb5_kvno,
32*418e2f30SShawn Emery     uint_t, char *);
33*418e2f30SShawn Emery 
34*418e2f30SShawn Emery krb5_error_code krb5_kt_remove_by_realm(krb5_context, char *);
35*418e2f30SShawn Emery 
36*418e2f30SShawn Emery krb5_error_code krb5_kt_remove_by_svcprinc(krb5_context, char *);
37*418e2f30SShawn Emery 
38*418e2f30SShawn Emery krb5_error_code krb5_kt_ad_validate(krb5_context, char *, uint_t, boolean_t *);
39*418e2f30SShawn Emery 
40*418e2f30SShawn Emery #endif /* _KT_SOLARIS_H */
41