pub struct PqcHandshakeExtension { /* private fields */ }
Expand description
TLS handshake extension for PQC negotiation
Implementations§
Source§impl PqcHandshakeExtension
impl PqcHandshakeExtension
Sourcepub fn process_client_hello(
&mut self,
supported_groups: &[u16],
signature_schemes: &[u16],
) -> PqcResult<()>
pub fn process_client_hello( &mut self, supported_groups: &[u16], signature_schemes: &[u16], ) -> PqcResult<()>
Process ClientHello and filter supported algorithms
Sourcepub fn process_server_hello(
&mut self,
server_groups: &[u16],
server_signatures: &[u16],
) -> PqcResult<NegotiationResult>
pub fn process_server_hello( &mut self, server_groups: &[u16], server_signatures: &[u16], ) -> PqcResult<NegotiationResult>
Process ServerHello and perform negotiation
Trait Implementations§
Source§impl Clone for PqcHandshakeExtension
impl Clone for PqcHandshakeExtension
Source§fn clone(&self) -> PqcHandshakeExtension
fn clone(&self) -> PqcHandshakeExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PqcHandshakeExtension
impl RefUnwindSafe for PqcHandshakeExtension
impl Send for PqcHandshakeExtension
impl Sync for PqcHandshakeExtension
impl Unpin for PqcHandshakeExtension
impl UnwindSafe for PqcHandshakeExtension
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