pub struct MacOSSignConfig {
pub certificate: Option<String>,
pub password: Option<String>,
pub entitlements: Option<String>,
pub timestamp_url: Option<String>,
}Expand description
P12-certificate signing configuration for rcodesign sign.
Fields§
§certificate: Option<String>Path to .p12 certificate file or base64-encoded contents. Templates allowed.
password: Option<String>Password for the .p12 certificate. Templates allowed.
entitlements: Option<String>Path to entitlements XML file. Templates allowed.
timestamp_url: Option<String>RFC-3161 timestamp service URL passed to rcodesign sign --timestamp-url.
Defaults to Apple’s public timestamp service. Override when running
behind a corporate proxy or when Apple’s service is unreachable.
Implementations§
Source§impl MacOSSignConfig
impl MacOSSignConfig
Sourcepub const DEFAULT_TIMESTAMP_URL: &'static str = "http://timestamp.apple.com/ts01"
pub const DEFAULT_TIMESTAMP_URL: &'static str = "http://timestamp.apple.com/ts01"
Apple’s public RFC-3161 timestamp service. Used so the signature
carries a trusted timestamp rather than the host clock; override via
notarize.macos[*].sign.timestamp_url when running behind a corporate
proxy or when Apple’s service is unreachable.
Sourcepub fn resolved_timestamp_url(&self) -> &str
pub fn resolved_timestamp_url(&self) -> &str
Resolve the timestamp URL, ignoring whitespace-only overrides and
falling back to Self::DEFAULT_TIMESTAMP_URL.
Trait Implementations§
Source§impl Clone for MacOSSignConfig
impl Clone for MacOSSignConfig
Source§fn clone(&self) -> MacOSSignConfig
fn clone(&self) -> MacOSSignConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MacOSSignConfig
impl Debug for MacOSSignConfig
Source§impl Default for MacOSSignConfig
impl Default for MacOSSignConfig
Source§fn default() -> MacOSSignConfig
fn default() -> MacOSSignConfig
Source§impl<'de> Deserialize<'de> for MacOSSignConfigwhere
MacOSSignConfig: Default,
impl<'de> Deserialize<'de> for MacOSSignConfigwhere
MacOSSignConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MacOSSignConfig
impl JsonSchema for MacOSSignConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more