pub enum SignatureList<'a> {
Sha256(Vec<SignatureData<Sha256Data<'a>>>),
X509(SignatureData<X509Data<'a>>),
}
Expand description
Rust-y representation of a [EFI_SIGNATURE_LIST
] struct.
Variants§
Sha256(Vec<SignatureData<Sha256Data<'a>>>)
X509(SignatureData<X509Data<'a>>)
Implementations§
source§impl<'a> SignatureList<'a>
impl<'a> SignatureList<'a>
sourcepub fn extend_as_spec_signature_list(&self, res: &mut Vec<u8>)
pub fn extend_as_spec_signature_list(&self, res: &mut Vec<u8>)
Serialize the signature list as a EFI_SIGNATURE_LIST
into a vec
Trait Implementations§
source§impl<'a> Debug for SignatureList<'a>
impl<'a> Debug for SignatureList<'a>
source§impl<'a> PartialEq for SignatureList<'a>
impl<'a> PartialEq for SignatureList<'a>
impl<'a> Eq for SignatureList<'a>
impl<'a> StructuralPartialEq for SignatureList<'a>
Auto Trait Implementations§
impl<'a> Freeze for SignatureList<'a>
impl<'a> RefUnwindSafe for SignatureList<'a>
impl<'a> Send for SignatureList<'a>
impl<'a> Sync for SignatureList<'a>
impl<'a> Unpin for SignatureList<'a>
impl<'a> UnwindSafe for SignatureList<'a>
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