pub struct CipherSuiteAes128Ccm { /* private fields */ }
Implementations§
source§impl CipherSuiteAes128Ccm
impl CipherSuiteAes128Ccm
pub fn new( client_certificate_type: ClientCertificateType, id: CipherSuiteId, psk: bool, crypto_ccm_tag_len: CryptoCcmTagLen ) -> Self
Trait Implementations§
source§impl CipherSuite for CipherSuiteAes128Ccm
impl CipherSuite for CipherSuiteAes128Ccm
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 CipherSuiteAes128Ccm
impl Clone for CipherSuiteAes128Ccm
source§fn clone(&self) -> CipherSuiteAes128Ccm
fn clone(&self) -> CipherSuiteAes128Ccm
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 CipherSuiteAes128Ccm
impl RefUnwindSafe for CipherSuiteAes128Ccm
impl Send for CipherSuiteAes128Ccm
impl Sync for CipherSuiteAes128Ccm
impl Unpin for CipherSuiteAes128Ccm
impl UnwindSafe for CipherSuiteAes128Ccm
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