[][src]Trait loco_protocol::secure::SecureHandshakeWrite

pub trait SecureHandshakeWrite {
    pub fn write_handshake<K: HasPublic>(
        &mut self,
        crypto: &impl LocoCrypto,
        key_encrypt_type: KeyEncryptType,
        encrypt_type: EncryptType,
        key: &Rsa<K>
    ) -> Result<usize, Error>; }

Required methods

pub fn write_handshake<K: HasPublic>(
    &mut self,
    crypto: &impl LocoCrypto,
    key_encrypt_type: KeyEncryptType,
    encrypt_type: EncryptType,
    key: &Rsa<K>
) -> Result<usize, Error>
[src]

Write secure handshake data. Returns written size.

Loading content...

Implementors

impl<T: Write> SecureHandshakeWrite for T[src]

Loading content...