osslsigncode 0.1.0

In-process Rust bindings for the vendored osslsigncode Authenticode implementation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;

use crate::digest::JpLevel;

/// Optional Authenticode attributes shared by sign and attach jobs.
#[derive(Clone, Debug, Default, Eq, PartialEq)]
#[must_use = "options do nothing until passed to a job"]
pub struct AuthenticodeOptions {
    pub nest: bool,
    pub page_hashes: bool,
    pub commercial: bool,
    pub pem: bool,
    pub msi_dse: bool,
    pub jp: Option<JpLevel>,
    pub description: Option<String>,
    pub url: Option<String>,
    pub blob: Option<PathBuf>,
}