pub struct BootstrappedContext {
pub impi: String,
pub rand: [u8; 16],
pub ks: Vec<u8>,
pub b_tid: String,
pub expires: Instant,
pub used_count: AtomicU32,
}
Fields§
§impi: String
§rand: [u8; 16]
§ks: Vec<u8>
§b_tid: String
§expires: Instant
§used_count: AtomicU32
Implementations§
Source§impl BootstrappedContext
impl BootstrappedContext
pub fn get_credential( &self, fqdn: &[u8], cipher_id: Option<(u8, u8)>, ) -> Result<GbaCredential, ErrorKind>
pub fn increase_and_get_use_count(&self) -> u32
Auto Trait Implementations§
impl !Freeze for BootstrappedContext
impl RefUnwindSafe for BootstrappedContext
impl Send for BootstrappedContext
impl Sync for BootstrappedContext
impl Unpin for BootstrappedContext
impl UnwindSafe for BootstrappedContext
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