Struct GbaKey
#[repr(C)]pub struct GbaKey {
pub result: Error,
pub indication_token: u32,
pub ks_naf_valid: u8,
pub ks_naf: [u8; 32],
pub encrypted_ks_naf_len: u32,
pub encrypted_ks_naf: [u8; 1024],
pub btid_len: u32,
pub btid: [c_char; 255],
pub lifetime_len: u32,
pub lifetime: [c_char; 255],
pub impi_len: u32,
pub impi: [c_char; 255],
}ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Fields§
§result: Errorql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
When the key is received from indication, it indicates whether the request is successful.
indication_token: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
When the key is received from indication, it indicates the token of the original request.
ks_naf_valid: u8ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Whether ks_naf is valid.
ks_naf: [u8; 32]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Key shared between the NAF and the UE. Derivation of the key is specified in 3GPP TS 33.220.
encrypted_ks_naf_len: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Number of elements in encrypted_ks_naf, 0 if invalid.
encrypted_ks_naf: [u8; 1024]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Encrypted value of Ks(_ext)_NAF, as specified in 3GPP TS 33.220.
btid_len: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Number of elements in btid, 0 if invalid.
btid: [c_char; 255]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
ID that binds the subscriber identity to the keying material. For B-TID formatting, refer to 3GPP TS 33.220.
lifetime_len: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Number of elements in lifetime, 0 if invalid.
lifetime: [c_char; 255]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Lifetime of the BSF-generated key material. The lifetime is expressed in UTC format with the trailing character indicating the timezone. For time formatting, refer to ISO 8601.
impi_len: u32ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Number of elements in impi, 0 if invalid.
impi: [c_char; 255]ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds
Private user identity used for the GBA procedure.