Struct webrtc_dtls::cipher_suite::cipher_suite_aes_128_gcm_sha256::CipherSuiteAes128GcmSha256
source · pub struct CipherSuiteAes128GcmSha256 { /* private fields */ }
Implementations§
Trait Implementations§
source§impl CipherSuite for CipherSuiteAes128GcmSha256
impl CipherSuite for CipherSuiteAes128GcmSha256
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 CipherSuiteAes128GcmSha256
impl Clone for CipherSuiteAes128GcmSha256
source§fn clone(&self) -> CipherSuiteAes128GcmSha256
fn clone(&self) -> CipherSuiteAes128GcmSha256
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 CipherSuiteAes128GcmSha256
impl RefUnwindSafe for CipherSuiteAes128GcmSha256
impl Send for CipherSuiteAes128GcmSha256
impl Sync for CipherSuiteAes128GcmSha256
impl Unpin for CipherSuiteAes128GcmSha256
impl UnwindSafe for CipherSuiteAes128GcmSha256
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