Struct pelite::pe32::security::Security[][src]

pub struct Security<'a, P> { /* fields omitted */ }

Security Directory.

For more information see the module-level documentation.

Methods

impl<'a, P: Pe<'a> + Copy> Security<'a, P>
[src]

Gets the PE instance.

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

impl<'a, P: Pe<'a> + Copy> Serialize for Security<'a, P>
[src]

Serialize this value into the given Serde serializer. Read more

impl<'a, P: Pe<'a> + Copy> Debug for Security<'a, P>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, P> Send for Security<'a, P> where
    P: Send

impl<'a, P> Sync for Security<'a, P> where
    P: Sync