pub(crate) fn decode(file: &PathBuf, output: Option<PathBuf>) -> Result<()>
Decode the certificate to JSON.