SSHAlgorithms constructor
const
SSHAlgorithms({
- List<
SSHKexType> kex = const [SSHKexType.x25519, SSHKexType.nistp521, SSHKexType.nistp384, SSHKexType.nistp256, SSHKexType.dhGexSha256, SSHKexType.dh14Sha256, SSHKexType.dh14Sha1, SSHKexType.dhGexSha1, SSHKexType.dh1Sha1], - List<
SSHHostkeyType> hostkey = const [SSHHostkeyType.ed25519, SSHHostkeyType.rsaSha512, SSHHostkeyType.rsaSha256, SSHHostkeyType.rsaSha1, SSHHostkeyType.ecdsa521, SSHHostkeyType.ecdsa384, SSHHostkeyType.ecdsa256], - List<
SSHCipherType> cipher = const [SSHCipherType.aes128ctr, SSHCipherType.aes128cbc, SSHCipherType.aes256ctr, SSHCipherType.aes256cbc], - List<
SSHMacType> mac = const [SSHMacType.hmacSha1, SSHMacType.hmacSha256, SSHMacType.hmacSha512, SSHMacType.hmacMd5],
Implementation
const SSHAlgorithms({
this.kex = const [
SSHKexType.x25519,
SSHKexType.nistp521,
SSHKexType.nistp384,
SSHKexType.nistp256,
SSHKexType.dhGexSha256,
SSHKexType.dh14Sha256,
SSHKexType.dh14Sha1,
SSHKexType.dhGexSha1,
SSHKexType.dh1Sha1,
],
this.hostkey = const [
SSHHostkeyType.ed25519,
SSHHostkeyType.rsaSha512,
SSHHostkeyType.rsaSha256,
SSHHostkeyType.rsaSha1,
SSHHostkeyType.ecdsa521,
SSHHostkeyType.ecdsa384,
SSHHostkeyType.ecdsa256,
],
this.cipher = const [
SSHCipherType.aes128ctr,
SSHCipherType.aes128cbc,
SSHCipherType.aes256ctr,
SSHCipherType.aes256cbc,
],
this.mac = const [
SSHMacType.hmacSha1,
SSHMacType.hmacSha256,
SSHMacType.hmacSha512,
SSHMacType.hmacMd5,
],
});