public void apply ( Message m , int error , TSIGRecord old ) { Record r = generate ( m , m . toWire ( ) , error , old ) ; m . addRecord ( r , Section . ADDITIONAL ) ; m . tsigState = Message . TSIG_SIGNED ; }
Generates a TSIG record with a specific error for a message and adds it to the message .