Struct ChangePinInfo
#[repr(C)]pub struct ChangePinInfo {
pub app_info: AppIdInfo,
pub pin_id: PinId,
pub old_pin_value_len: u32,
pub old_pin_value: [c_char; 8],
pub new_pin_value_len: u32,
pub new_pin_value: [c_char; 8],
}Expand description
Changes the PIN value of an application.
The application must pass both the new and the old values of the PIN to complete the operation. The same PIN can be used by multiple sessions (i.e., the PIN is shared between GSM and RUIM in an ICC card). The PIN is automatically verified for all the sessions when the command is executed.
Fields§
§app_info: AppIdInfoApplication identification information.
pin_id: PinIdPIN ID.
old_pin_value_len: u32Must be set to the number of elements in old_pin_value.
old_pin_value: [c_char; 8]Value of the old PIN as a sequence of ASCII characters.
new_pin_value_len: u32Must be set to the number of elements in new_pin_value.
new_pin_value: [c_char; 8]Value of the new PIN as a sequence of ASCII characters.
Auto Trait Implementations§
impl Freeze for ChangePinInfo
impl RefUnwindSafe for ChangePinInfo
impl Send for ChangePinInfo
impl Sync for ChangePinInfo
impl Unpin for ChangePinInfo
impl UnwindSafe for ChangePinInfo
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