pub struct CipherSuiteAes256CbcSha { /* private fields */ }
Implementations§
Trait Implementations§
source§impl CipherSuite for CipherSuiteAes256CbcSha
impl CipherSuite for CipherSuiteAes256CbcSha
fn to_string(&self) -> String
fn id(&self) -> CipherSuiteId
fn certificate_type(&self) -> ClientCertificateType
fn hash_func(&self) -> CipherSuiteHash
fn is_psk(&self) -> bool
fn is_initialized(&self) -> bool
fn init( &mut self, master_secret: &[u8], client_random: &[u8], server_random: &[u8], is_client: bool ) -> Result<(), Error>
fn encrypt( &self, pkt_rlh: &RecordLayerHeader, raw: &[u8] ) -> Result<Vec<u8>, Error>
fn decrypt(&self, input: &[u8]) -> Result<Vec<u8>, Error>
source§impl Clone for CipherSuiteAes256CbcSha
impl Clone for CipherSuiteAes256CbcSha
source§fn clone(&self) -> CipherSuiteAes256CbcSha
fn clone(&self) -> CipherSuiteAes256CbcSha
Returns a copy 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 CipherSuiteAes256CbcSha
impl RefUnwindSafe for CipherSuiteAes256CbcSha
impl Send for CipherSuiteAes256CbcSha
impl Sync for CipherSuiteAes256CbcSha
impl Unpin for CipherSuiteAes256CbcSha
impl UnwindSafe for CipherSuiteAes256CbcSha
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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