Struct webrtc_dtls::crypto::CryptoPrivateKey
source · pub struct CryptoPrivateKey {
pub kind: CryptoPrivateKeyKind,
pub serialized_der: Vec<u8>,
}
Expand description
Private key.
Fields§
§kind: CryptoPrivateKeyKind
Keypair.
serialized_der: Vec<u8>
DER-encoded keypair.
Implementations§
source§impl CryptoPrivateKey
impl CryptoPrivateKey
pub fn from_key_pair(key_pair: &KeyPair) -> Result<Self, Error>
Trait Implementations§
source§impl Clone for CryptoPrivateKey
impl Clone for CryptoPrivateKey
source§impl Debug for CryptoPrivateKey
impl Debug for CryptoPrivateKey
Auto Trait Implementations§
impl Freeze for CryptoPrivateKey
impl RefUnwindSafe for CryptoPrivateKey
impl Send for CryptoPrivateKey
impl Sync for CryptoPrivateKey
impl Unpin for CryptoPrivateKey
impl UnwindSafe for CryptoPrivateKey
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