pub enum CodeSigningCertificate {
Auto,
File(FileBasedCodeSigningCertificate),
SubjectName(SystemStore, String),
Sha1Thumbprint(SystemStore, String),
}
Expand description
Represents a code signing certificate used to sign binaries on Windows.
This only represents the location of the certificate. It is possible for instances to refer to entities that don’t exist.
Variants§
Auto
Select the best available signing certificate.
File(FileBasedCodeSigningCertificate)
An x509 certificate backed by a filesystem file.
SubjectName(SystemStore, String)
An x509 certificate specified by its subject name or substring thereof.
Sha1Thumbprint(SystemStore, String)
A certificate specified by its store and SHA-1 thumbprint.
This is the most reliable way to specify a certificate in the Windows certificate store because thumbprints should be unique.
Trait Implementations§
source§impl Clone for CodeSigningCertificate
impl Clone for CodeSigningCertificate
source§fn clone(&self) -> CodeSigningCertificate
fn clone(&self) -> CodeSigningCertificate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CodeSigningCertificate
impl Debug for CodeSigningCertificate
source§impl From<FileBasedCodeSigningCertificate> for CodeSigningCertificate
impl From<FileBasedCodeSigningCertificate> for CodeSigningCertificate
source§fn from(v: FileBasedCodeSigningCertificate) -> Self
fn from(v: FileBasedCodeSigningCertificate) -> Self
Converts to this type from the input type.