jdk/src/share/classes/sun/security/krb5/KrbCred.java
changeset 5975 076cd013e5e4
parent 5506 202f599c92aa
child 13247 74902cfeb9c6
equal deleted inserted replaced
5974:f0531b7dfebe 5975:076cd013e5e4
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2010, 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
   128 
   128 
   129         ticket = credMessg.tickets[0];
   129         ticket = credMessg.tickets[0];
   130 
   130 
   131         byte[] temp = credMessg.encPart.decrypt(key,
   131         byte[] temp = credMessg.encPart.decrypt(key,
   132             KeyUsage.KU_ENC_KRB_CRED_PART);
   132             KeyUsage.KU_ENC_KRB_CRED_PART);
   133         byte[] plainText = credMessg.encPart.reset(temp, true);
   133         byte[] plainText = credMessg.encPart.reset(temp);
   134         DerValue encoding = new DerValue(plainText);
   134         DerValue encoding = new DerValue(plainText);
   135         EncKrbCredPart encPart = new EncKrbCredPart(encoding);
   135         EncKrbCredPart encPart = new EncKrbCredPart(encoding);
   136 
   136 
   137         timeStamp = encPart.timeStamp;
   137         timeStamp = encPart.timeStamp;
   138 
   138