17. Secured creditors
(1) If a secured creditor realises his security, he may prove for the balance of his debt, after deducting the amount realised.
(2) If a secured creditor voluntarily surrenders his security for the general benefit of creditors, he may prove for his whole debt, as if it was unsecured.