pub struct KeyPairHex {
pub private_key_hex: String,
pub public_key_hex: String,
}Expand description
SM2 密钥对(十六进制):私钥 64 位,公钥 130 位(非压缩 04‖X‖Y)。
Fields§
§private_key_hex: String§public_key_hex: StringTrait Implementations§
Source§impl Clone for KeyPairHex
impl Clone for KeyPairHex
Source§impl Debug for KeyPairHex
impl Debug for KeyPairHex
impl Eq for KeyPairHex
Source§impl PartialEq for KeyPairHex
impl PartialEq for KeyPairHex
impl StructuralPartialEq for KeyPairHex
Auto Trait Implementations§
impl Freeze for KeyPairHex
impl RefUnwindSafe for KeyPairHex
impl Send for KeyPairHex
impl Sync for KeyPairHex
impl Unpin for KeyPairHex
impl UnsafeUnpin for KeyPairHex
impl UnwindSafe for KeyPairHex
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