AbstractAsn1Object asn1Obj = ( AbstractAsn1Object ) message;
boolean isTcp = !session.getTransportMetadata().isConnectionless();
IoBuffer response = null;
IoBuffer kerberosMessage = null;
int responseLength = asn1Obj.computeLength();
kerberosMessage = IoBuffer.allocate( responseLength );
if ( isTcp )
{
response = IoBuffer.allocate( responseLength + 4 );