pub struct ChallengeResponseTlv {
pub status: u8,
pub challenge_status: Option<String>,
pub remaining_tries: Option<u8>,
pub remaining_time_secs: Option<u32>,
pub issued_cert_name: Option<String>,
pub error_code: Option<u8>,
pub error_info: Option<String>,
pub iv: Option<[u8; 12]>,
pub encrypted_payload: Option<Bytes>,
pub auth_tag: Option<[u8; 16]>,
}Expand description
TLV-encoded CHALLENGE response.
Fields§
§status: u8Numeric status code per NDNCERT 0.3 §3.3.
challenge_status: Option<String>§remaining_tries: Option<u8>§remaining_time_secs: Option<u32>§issued_cert_name: Option<String>§error_code: Option<u8>§error_info: Option<String>§iv: Option<[u8; 12]>§encrypted_payload: Option<Bytes>§auth_tag: Option<[u8; 16]>Implementations§
Auto Trait Implementations§
impl !Freeze for ChallengeResponseTlv
impl RefUnwindSafe for ChallengeResponseTlv
impl Send for ChallengeResponseTlv
impl Sync for ChallengeResponseTlv
impl Unpin for ChallengeResponseTlv
impl UnwindSafe for ChallengeResponseTlv
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