pub struct P256Signature {
pub r: P256Scalar,
pub s: P256Scalar,
}Expand description
Raw P-256 ECDSA signature: canonical (r, s), each 32 bytes big-endian.
This is the portable representation that crosses the backend boundary.
s is low-S normalized (s <= n/2) as produced and as required for
TLS 1.3 interop; verification must accept both low-S and high-S.
Fields§
§r: P256Scalarr component, canonical big-endian.
s: P256Scalars component, canonical big-endian, low-S normalized.
Trait Implementations§
Source§impl Clone for P256Signature
impl Clone for P256Signature
Source§fn clone(&self) -> P256Signature
fn clone(&self) -> P256Signature
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 P256Signature
Source§impl Debug for P256Signature
impl Debug for P256Signature
impl Eq for P256Signature
Source§impl PartialEq for P256Signature
impl PartialEq for P256Signature
impl StructuralPartialEq for P256Signature
Auto Trait Implementations§
impl Freeze for P256Signature
impl RefUnwindSafe for P256Signature
impl Send for P256Signature
impl Sync for P256Signature
impl Unpin for P256Signature
impl UnsafeUnpin for P256Signature
impl UnwindSafe for P256Signature
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