pub struct Security<'a> { /* private fields */ }
Expand description

Security Directory.

For more information see the module-level documentation.

Implementations

Returns the underlying security directory image.

Gets the raw certificate data bytes.

The interpretation of this data depends the type of the certificate. No further introspection is provided.

External tools such as OpenSSL can be used to further disect and analyze this data. Eg. for WIN_CERT_TYPE_PKCS_SIGNED_DATA the following can be used to decode the bytes:

openssl pkcs7 -inform DER -print_certs -text -in pe_certificate

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.