src/java.security.jgss/share/classes/sun/security/krb5/internal/crypto/KeyUsage.java
changeset 55258 d65d3c37232c
parent 47216 71c04702a3d5
equal deleted inserted replaced
55257:442b86eb633c 55258:d65d3c37232c
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    54     public static final int KU_ENC_KRB_PRIV_PART = 13;          // KrbPriv
    54     public static final int KU_ENC_KRB_PRIV_PART = 13;          // KrbPriv
    55     public static final int KU_ENC_KRB_CRED_PART = 14;          // KrbCred
    55     public static final int KU_ENC_KRB_CRED_PART = 14;          // KrbCred
    56     public static final int KU_KRB_SAFE_CKSUM = 15;             // KrbSafe
    56     public static final int KU_KRB_SAFE_CKSUM = 15;             // KrbSafe
    57     public static final int KU_PA_FOR_USER_ENC_CKSUM = 17;      // S4U2user
    57     public static final int KU_PA_FOR_USER_ENC_CKSUM = 17;      // S4U2user
    58     public static final int KU_AD_KDC_ISSUED_CKSUM = 19;
    58     public static final int KU_AD_KDC_ISSUED_CKSUM = 19;
       
    59     public static final int KU_AS_REQ = 56;
    59 
    60 
    60     public static final boolean isValid(int usage) {
    61     public static final boolean isValid(int usage) {
    61         return usage >= 0;
    62         return usage >= 0;
    62     }
    63     }
    63 }
    64 }