protected static void validateSignature ( final DataInput input ) throws IOException { final byte [ ] signatureBytes = new byte [ 4 ] ; input . readFully ( signatureBytes ) ; if ( ! Arrays . equals ( ManagementProtocol . SIGNATURE , signatureBytes ) ) { throw ProtocolLogger . ROOT_LOGGER . invalidSignature ( Arrays . toString ( signatureBytes ) ) ; } }
Validate the header signature .