Cross-correlation with Spearman's method

I am trying to calculate the cross-correlation between two time series. I know that ccf in R base can slove this problem and it uses Pearson's correlation method. My question is: How can I calculate cross-correlation with Spearman's method? Thanks a lot.