A library for trust management processing