pub struct SecurityArch(/* private fields */);
Expand description
Security Arch Protocol.
When Secure Boot is enabled, the Security Arch protocols are responsible for ensuring that files are authenticated according to platform security policy.
Its main purpose is to authenticate files according to abstracted platform specific security policies.
Implementations§
Source§impl SecurityArch
impl SecurityArch
Sourcepub fn auth_state(&self, auth_status: u32, file: &DevicePath) -> Status
pub fn auth_state(&self, auth_status: u32, file: &DevicePath) -> Status
Check the authentication status of a file using the auth_status
parameter.
You should never need to use this, LoadImage
will call it automatically whenever UEFI Secure Boot is enabled.
Trait Implementations§
Source§impl Clone for SecurityArch
impl Clone for SecurityArch
Source§fn clone(&self) -> SecurityArch
fn clone(&self) -> SecurityArch
Returns a duplicate 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 SecurityArch
impl Debug for SecurityArch
Source§impl Identify for SecurityArch
impl Identify for SecurityArch
impl Copy for SecurityArch
impl Protocol for SecurityArch
Auto Trait Implementations§
impl Freeze for SecurityArch
impl RefUnwindSafe for SecurityArch
impl Send for SecurityArch
impl Sync for SecurityArch
impl Unpin for SecurityArch
impl UnwindSafe for SecurityArch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more