Quantitative Models for Prudential Credit Risk Management