}
// Now, let's decode the PrincipalName
Asn1Decoder encryptedDataDecoder = new Asn1Decoder();
EncryptedDataContainer encryptedDataContainer = new EncryptedDataContainer();
encryptedDataContainer.setStream( container.getStream() );
// Decode the Ticket PDU
try
{
encryptedDataDecoder.decode( container.getStream(), encryptedDataContainer );
}
catch ( DecoderException de )
{
throw de;
}
EncryptedData encryptedData = encryptedDataContainer.getEncryptedData();
if ( IS_DEBUG )
{
LOG.debug( "EncryptedData : " + encryptedData );
}