use std::path::{Path, PathBuf};
#[derive(Clone, Deserialize, Debug)]
pub struct SoftSignConfig {
pub id: String,
pub path: SoftPrivateKey,
}
#[derive(Clone, Deserialize, Debug)]
pub struct SoftPrivateKey(PathBuf);
impl SoftPrivateKey {
pub fn as_path(&self) -> &Path {
self.0.as_ref()
}
}