pub struct ExplicitPrimeContent<'a> {
pub prime_p: &'a [u8],
pub curve: ECCurve<'a>,
pub base: ECPoint<'a>,
pub order: &'a [u8],
pub cofactor: &'a [u8],
}
Expand description
Elliptic curve parameters, conveyed verbosely as a prime field, as defined in RFC4492 section 5.4
Fields§
§prime_p: &'a [u8]
§curve: ECCurve<'a>
§base: ECPoint<'a>
§order: &'a [u8]
§cofactor: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for ExplicitPrimeContent<'a>
impl<'a> Debug for ExplicitPrimeContent<'a>
Source§impl<'a, 'nom> Parse<&'nom [u8]> for ExplicitPrimeContent<'a>where
'nom: 'a,
impl<'a, 'nom> Parse<&'nom [u8]> for ExplicitPrimeContent<'a>where
'nom: 'a,
Source§impl<'a> PartialEq for ExplicitPrimeContent<'a>
impl<'a> PartialEq for ExplicitPrimeContent<'a>
impl<'a> StructuralPartialEq for ExplicitPrimeContent<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExplicitPrimeContent<'a>
impl<'a> RefUnwindSafe for ExplicitPrimeContent<'a>
impl<'a> Send for ExplicitPrimeContent<'a>
impl<'a> Sync for ExplicitPrimeContent<'a>
impl<'a> Unpin for ExplicitPrimeContent<'a>
impl<'a> UnwindSafe for ExplicitPrimeContent<'a>
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