[−][src]Trait loco_protocol::secure::SecureHandshakeWrite
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]
&mut self,
crypto: &impl LocoCrypto,
key_encrypt_type: KeyEncryptType,
encrypt_type: EncryptType,
key: &Rsa<K>
) -> Result<usize, Error>
Write secure handshake data. Returns written size.
Implementors
impl<T: Write> SecureHandshakeWrite for T
[src]
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]
&mut self,
crypto: &impl LocoCrypto,
key_encrypt_type: KeyEncryptType,
encrypt_type: EncryptType,
key: &Rsa<K>
) -> Result<usize, Error>