Enum tugger_windows_codesign::CodeSigningCertificate[][src]

pub enum CodeSigningCertificate {
    Auto,
    File(FileBasedCodeSigningCertificate),
    SubjectName(SystemStoreString),
    Sha1Thumbprint(SystemStoreString),
}

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.

An x509 certificate backed by a filesystem file.

SubjectName(SystemStoreString)

An x509 certificate specified by its subject name or substring thereof.

Sha1Thumbprint(SystemStoreString)

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

impl Clone for CodeSigningCertificate[src]

impl Debug for CodeSigningCertificate[src]

impl From<FileBasedCodeSigningCertificate> for CodeSigningCertificate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.