equal
deleted
inserted
replaced
809 key, |
809 key, |
810 cname, |
810 cname, |
811 new TransitedEncoding(1, new byte[0]), // TODO |
811 new TransitedEncoding(1, new byte[0]), // TODO |
812 new KerberosTime(new Date()), |
812 new KerberosTime(new Date()), |
813 body.from, |
813 body.from, |
814 till, body.rtime, |
814 till, etp.renewTill, |
815 body.addresses != null ? body.addresses |
815 body.addresses != null ? body.addresses |
816 : etp.caddr, |
816 : etp.caddr, |
817 null); |
817 null); |
818 EncryptionKey skey = keyForUser(service, e3, true); |
818 EncryptionKey skey = keyForUser(service, e3, true); |
819 if (skey == null) { |
819 if (skey == null) { |
832 new KerberosTime(new Date().getTime() + 1000 * 3600 * 24), |
832 new KerberosTime(new Date().getTime() + 1000 * 3600 * 24), |
833 // Next 5 and last MUST be same with ticket |
833 // Next 5 and last MUST be same with ticket |
834 tFlags, |
834 tFlags, |
835 new KerberosTime(new Date()), |
835 new KerberosTime(new Date()), |
836 body.from, |
836 body.from, |
837 till, body.rtime, |
837 till, etp.renewTill, |
838 service, |
838 service, |
839 body.addresses |
839 body.addresses |
840 ); |
840 ); |
841 EncryptedData edata = new EncryptedData(ckey, enc_part.asn1Encode(), KeyUsage.KU_ENC_TGS_REP_PART_SESSKEY); |
841 EncryptedData edata = new EncryptedData(ckey, enc_part.asn1Encode(), KeyUsage.KU_ENC_TGS_REP_PART_SESSKEY); |
842 TGSRep tgsRep = new TGSRep(null, |
842 TGSRep tgsRep = new TGSRep(null, |