pub struct P384Signature {
pub r: P384Scalar,
pub s: P384Scalar,
}Expand description
ECDSA/P-384 (secp384r1) signature: canonical (r, s), each in [1, n).
Signatures produced by drivers are low-S normalized (s <= n/2), as TLS 1.3
requires. Verification accepts both low-S and high-S signatures.
Fields§
§r: P384Scalarr component.
s: P384Scalars component.
Trait Implementations§
Source§impl Clone for P384Signature
impl Clone for P384Signature
Source§fn clone(&self) -> P384Signature
fn clone(&self) -> P384Signature
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 moreimpl Copy for P384Signature
Source§impl Debug for P384Signature
impl Debug for P384Signature
impl Eq for P384Signature
Source§impl Format for P384Signaturewhere
P384Scalar: Format,
impl Format for P384Signaturewhere
P384Scalar: Format,
Source§impl PartialEq for P384Signature
impl PartialEq for P384Signature
impl StructuralPartialEq for P384Signature
Auto Trait Implementations§
impl Freeze for P384Signature
impl RefUnwindSafe for P384Signature
impl Send for P384Signature
impl Sync for P384Signature
impl Unpin for P384Signature
impl UnsafeUnpin for P384Signature
impl UnwindSafe for P384Signature
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