public final boolean verifySign(byte[] data,int offset,int len) throws GSSException {
  byte[] myChecksum=getChecksum(data,offset,len);
  if (MessageDigest.isEqual(checksum,myChecksum)) {
    return true;
  }
  return false;
}

public final boolean verifySign ( byte [ ] data , int offset , int len ) throws GSSException { byte [ ] myChecksum = getChecksum ( data , offset , len ) ; if ( MessageDigest . isEqual ( checksum , myChecksum ) ) { return true ; } return false ; }
verifies the validity of checksum field
