1 /* 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * 4 * This code is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License version 2 only, as 6 * published by the Free Software Foundation. Oracle designates this 7 * particular file as subject to the "Classpath" exception as provided 8 * by Oracle in the LICENSE file that accompanied this code. 9 * 10 * This code is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * version 2 for more details (a copy is included in the LICENSE file that 14 * accompanied this code). 15 * 16 * You should have received a copy of the GNU General Public License version 17 * 2 along with this work; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 * 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 */ 24 25 /* 26 * 27 * (C) Copyright IBM Corp. 1999 All Rights Reserved. 28 * Copyright 1997 The Open Group Research Institute. All rights reserved. 29 */ 30 31 package sun.security.krb5.internal.ccache; 32 33 /** 34 * Constants used by file-based credential cache classes. 35 * 36 * @author Yanni Zhang 37 * 38 */ 39 public interface FileCCacheConstants { 40 /* 41 * FCC version 2 contains type information for principals. FCC 42 * version 1 does not. 43 * 44 * FCC version 3 contains keyblock encryption type information, and is 45 * architecture independent. Previous versions are not. */ 46 public final int KRB5_FCC_FVNO_1 = 0x501; 47 public final int KRB5_FCC_FVNO_2 = 0x502; 48 public final int KRB5_FCC_FVNO_3 = 0x503; 49 public final int KRB5_FCC_FVNO_4 = 0x504; 50 public final int FCC_TAG_DELTATIME = 1; 51 public final int KRB5_NT_UNKNOWN = 0; 52 public final int TKT_FLG_FORWARDABLE = 0x40000000; 53 public final int TKT_FLG_FORWARDED = 0x20000000; 54 public final int TKT_FLG_PROXIABLE = 0x10000000; 55 public final int TKT_FLG_PROXY = 0x08000000; 56 public final int TKT_FLG_MAY_POSTDATE = 0x04000000; 57 public final int TKT_FLG_POSTDATED = 0x02000000; 58 public final int TKT_FLG_INVALID = 0x01000000; 59 public final int TKT_FLG_RENEWABLE = 0x00800000; 60 public final int TKT_FLG_INITIAL = 0x00400000; 61 public final int TKT_FLG_PRE_AUTH = 0x00200000; 62 public final int TKT_FLG_HW_AUTH = 0x00100000; 63 } 64