Struct authenticode_parser::InitializationToken
source · pub struct InitializationToken;
Expand description
Token indicating the library has been initialized.
Implementations§
source§impl InitializationToken
impl InitializationToken
sourcepub unsafe fn new() -> InitializationToken
pub unsafe fn new() -> InitializationToken
Initialize the library.
Initializes all globals OpenSSl
objects we need for parsing.
Safety
This is not thread-safe and can cause crashes if called at the same time as other functions from the OpenSSL library. Therefore, you need to ensure that this function is called when no other threads might call OpenSSL functions, for example before setting up any multithreading environment.