public static byte[] convertCRLToDER(String pemCRL){
  String base64=pemCRL.replace(CRL_BEGIN,"");
  base64=base64.replace(CRL_END,"");
  base64=base64.replaceAll("\\s","");
  return Base64.decodeBase64(base64);
}

public static byte [ ] convertCRLToDER ( String pemCRL ) { String base64 = pemCRL . replace ( CRL_BEGIN , "" ) ; base64 = base64 . replace ( CRL_END , "" ) ; base64 = base64 . replaceAll ( "\\s" , "" ) ; return Base64 . decodeBase64 ( base64 ) ; }
this method converts a pem encoded crl to der encoded
