The amino group and the carboxylic acid group can be on the same monomer, or the polymer can be constituted of two different bifunctional monomers, one with two amino groups, the other with two carboxylic acid or acid chloride groups.