pub struct GeneralSigning {
pub transaction_id: Vec<u8>,
pub originator_system_title: Vec<u8>,
pub recipient_system_title: Vec<u8>,
pub date_time: Vec<u8>,
pub other_information: Vec<u8>,
pub content: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
A general-signing APDU ([223]): the address-carrying fields of a
general-ciphering APDU followed by the (optionally protected) content and its
digital signature (IEC 62056-5-3, 5.7.2.5 / DLMS Green Book 9.2.7.2.5).
Fields§
§transaction_id: Vec<u8>Transaction-id identifying the exchange between the two parties.
originator_system_title: Vec<u8>System-title of the originator.
recipient_system_title: Vec<u8>System-title of the recipient (empty for broadcast).
date_time: Vec<u8>Optional date-time (empty octet-string when unused).
other_information: Vec<u8>Optional other-information (empty octet-string when unused).
content: Vec<u8>The signed content: a plain or ciphered xDLMS APDU.
signature: Vec<u8>The digital signature over the content (ECDSA r ‖ s or GOST 34.10).
Implementations§
Trait Implementations§
Source§impl Clone for GeneralSigning
impl Clone for GeneralSigning
Source§fn clone(&self) -> GeneralSigning
fn clone(&self) -> GeneralSigning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneralSigning
impl Debug for GeneralSigning
impl Eq for GeneralSigning
Source§impl PartialEq for GeneralSigning
impl PartialEq for GeneralSigning
impl StructuralPartialEq for GeneralSigning
Auto Trait Implementations§
impl Freeze for GeneralSigning
impl RefUnwindSafe for GeneralSigning
impl Send for GeneralSigning
impl Sync for GeneralSigning
impl Unpin for GeneralSigning
impl UnsafeUnpin for GeneralSigning
impl UnwindSafe for GeneralSigning
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