GbaInfo

Struct GbaInfo 

#[repr(C)]
pub struct GbaInfo { pub naf_id: NafId, pub force_bootstrapping: u8, pub key_status_ind_reg: u8, pub key_status_ind_handler: GbaKeyStatusIndMsgHandlerFunc, pub indication_token_valid: u8, pub indication_token: u32, pub gba_ind_handler: GbaIndMsgHandlerFunc, pub apn_name_len: u32, pub apn_name: [c_char; 100], pub bsf_info: BsfInfo, }

Fields§

§naf_id: NafId§force_bootstrapping: u8

Indicates whether bootstrapping is required even if the key is still valid.

Valid values:

  • 0 – Do not force bootstrap and reuse Ks if it is still valid
  • 1 – Force bootstrapping even if the Ks is still valid
§key_status_ind_reg: u8

Indicates whether the client is to receive key status indications.

Valid values:

  • 0 – Do not register for key status indications (Default)
  • 1 – Register for key status indications
§key_status_ind_handler: GbaKeyStatusIndMsgHandlerFunc

Valid when key_status_ind_reg is not zero.

§indication_token_valid: u8

Indicates that the result is provided in a subsequent indication.

§indication_token: u32

The indication token. Valid only when indication_token_valid is not zero.

§gba_ind_handler: GbaIndMsgHandlerFunc

The indication handler. Valid only when indication_token_valid is not zero.

§apn_name_len: u32

Must be set to the number of elements in apn_name.

§apn_name: [c_char; 100]

Identifies the APN name required for bootstrapping.

§bsf_info: BsfInfo

Identifies the BSF information required for bootstrapping. If this TLV is absent, the default BSF address derived from IMPI is used.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.