Any such bank, insurance company, or association, may borrow from any home loan bank and as security for borrowing may pledge therewith the notes, mortgages, trust deeds which it holds as shall be required by federal law, and under such rules and regulations as shall be adopted by a federal home loan bank.