catch ( EncoderException ioe )
{
return null;
}
MethodData methodData = new MethodData();
methodData.addPaData( new PaData( PaDataType.PA_ENC_TIMESTAMP, null ) );
if ( !isNewEtype )
{
methodData.addPaData( new PaData( PaDataType.PA_ENCTYPE_INFO, encTypeInfo ) );
}
methodData.addPaData( new PaData( PaDataType.PA_ENCTYPE_INFO2, encTypeInfo2 ) );
try
{
ByteBuffer buffer = ByteBuffer.allocate( methodData.computeLength() );
return methodData.encode( buffer ).array();
}
catch ( EncoderException ee )
{
LOG_KRB.warn( "Failed to encode the etype information", ee );
return null;