// This will generate a PROTOCOL_ERROR
throw new DecoderException( I18n.err( I18n.ERR_04067 ) );
}
TransitedEncodingContainer transitedContainer = new TransitedEncodingContainer();
// Now, let's decode the TransitedEncoding
Asn1Decoder transitedEncodingDecoder = new Asn1Decoder();
try
{
transitedEncodingDecoder.decode( encTicketPartContainer.getStream(), transitedContainer );
}
catch ( DecoderException de )
{
throw de;
}
TransitedEncoding te = transitedContainer.getTransitedEncoding();
if ( IS_DEBUG )
{
LOG.debug( "TransitedEncoding {}", te );
}