The language of the court is as follows: ???When an assignment of securities is made by the principal to the surety for indemnity merely, an implied trust is raised in favor of the creditor, which he may enforce on the maturity of the debt, whether the surety has been damnified or not, and whether the surety or principal, either or both, are insolvent.