pub(crate) fn verify(file: &PathBuf, public_key: PathBuf) -> Result<()>
Verify the signature of the certificate given public key file path.