}
// Now, let's decode the Ticket
Asn1Decoder ticketDecoder = new Asn1Decoder();
TicketContainer ticketContainer = new TicketContainer( kdcRepContainer.getStream() );
// Decode the Ticket PDU
try
{
ticketDecoder.decode( kdcRepContainer.getStream(), ticketContainer );
}
catch ( DecoderException de )
{
throw de;
}
// Update the expected length for the current TLV
tlv.setExpectedLength( tlv.getExpectedLength() - tlv.getLength() );
// Update the parent
kdcRepContainer.updateParent();
// Store the Ticket in the container
Ticket ticket = ticketContainer.getTicket();
KdcRep kdcRep = kdcRepContainer.getKdcRep();
kdcRep.setTicket( ticket );
if ( IS_DEBUG )
{