Struct rust_rcs_core::security::gba::BootstrappedContext
source · 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 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