added parameter digest to select digest algorithm for CRL