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: u8Indicates 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: u8Indicates 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: GbaKeyStatusIndMsgHandlerFuncValid when key_status_ind_reg is not zero.
indication_token_valid: u8Indicates that the result is provided in a subsequent indication.
indication_token: u32The indication token. Valid only when indication_token_valid is not zero.
gba_ind_handler: GbaIndMsgHandlerFuncThe indication handler. Valid only when indication_token_valid is not zero.
apn_name_len: u32Must be set to the number of elements in apn_name.
apn_name: [c_char; 100]Identifies the APN name required for bootstrapping.
bsf_info: BsfInfoIdentifies the BSF information required for bootstrapping. If this TLV is absent, the default BSF address derived from IMPI is used.
Auto Trait Implementations§
impl Freeze for GbaInfo
impl RefUnwindSafe for GbaInfo
impl Send for GbaInfo
impl Sync for GbaInfo
impl Unpin for GbaInfo
impl UnwindSafe for GbaInfo
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