}
// Now, let's decode the HostAddress
Asn1Decoder krbSafeBodyDecoder = new Asn1Decoder();
KrbSafeBodyContainer krbSafeBodyContainer = new KrbSafeBodyContainer();
// Passes the Stream to the decoder
krbSafeBodyContainer.setStream( krbSafeContainer.getStream() );
// Decode the KrbSafeBody PDU
try
{
krbSafeBodyDecoder.decode( krbSafeContainer.getStream(), krbSafeBodyContainer );
}
catch ( DecoderException de )
{
throw de;
}
// Store the KrbSafeBody in the container
KrbSafeBody krbSafeBody = krbSafeBodyContainer.getKrbSafeBody();
if ( IS_DEBUG )
{
LOG.debug( "KrbSafeBody : {}", krbSafeBody );
}