Table of Contents

Class CipherInfo

Namespace
Renci.SshNet
Assembly
Renci.SshNet.dll

Holds information about key size and cipher to use.

public class CipherInfo

Inheritance

Inherited Members

Constructors

CipherInfo(int, Func<byte[], byte[], Cipher>, bool)

Initializes a new instance of the Renci.SshNet.CipherInfo class.

public CipherInfo(int keySize, Func<byte[], byte[], Cipher> cipher, bool isAead = false)

Parameters

keySize int

Size of the key.

cipher Func<byte[], byte[], Cipher>

The cipher.

isAead bool

true to indicate the cipher is AEAD, false to indicate the cipher is not AEAD.

Properties

Cipher

Gets the cipher.

public Func<byte[], byte[], Cipher> Cipher { get; }

Property Value

Func<byte[], byte[], Cipher>

IsAead

Gets a value indicating whether the cipher is AEAD (Authenticated Encryption with Associated data).

public bool IsAead { get; }

Property Value

bool

KeySize

Gets the size of the key.

public int KeySize { get; }

Property Value

int