pub struct StoredSymmetricKey {
pub name: String,
pub kind: SymmetricKeyKind,
pub bytes: Zeroizing<Vec<u8>>,
pub usages: KeyUsages,
}Expand description
A named secret imported from an xmlsec key store.
Fields§
§name: StringOpaque caller-supplied lookup name.
kind: SymmetricKeyKindXML Security symmetric-key family.
bytes: Zeroizing<Vec<u8>>Secret bytes, zeroized when the inventory is dropped.
usages: KeyUsagesAllowed operations.
Auto Trait Implementations§
impl Freeze for StoredSymmetricKey
impl RefUnwindSafe for StoredSymmetricKey
impl Send for StoredSymmetricKey
impl Sync for StoredSymmetricKey
impl Unpin for StoredSymmetricKey
impl UnsafeUnpin for StoredSymmetricKey
impl UnwindSafe for StoredSymmetricKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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