PowerTCP SSH and SFTP for .NET
Client2ServerCiphers Property




Returns a list of ciphers available for the client-to-server direction, in order of preference.
Syntax
'Declaration
 
Public Property Client2ServerCiphers As String()
'Usage
 
Dim instance As Connection
Dim value() As String
 
instance.Client2ServerCiphers = value
 
value = instance.Client2ServerCiphers
public string[] Client2ServerCiphers {get; set;}
public: __property string*[]* get_Client2ServerCiphers();
public: __property void set_Client2ServerCiphers( 
   string*[][]* value
);
public:
property array<String^>^ Client2ServerCiphers {
   array<String^>^ get();
   void set (    array<String^>^ value);
}
Remarks

By default, the array contains the following strings:

This array can be modified to remove unwanted ciphers, or to re-order the list for preference.

The algorithms specified in this array will be backed by the corresponding System.Security.Cryptography classes available under the project's target .NET Framework (up to and including .NET 4.6.2) and runtime OS in the following order of preference: *Cng, *CryptoServiceProvider, *Managed. AesCng and TripleDesCng will not be utilized under Windows 7, as despite that they are available under .NET 4.6.2 on Windows 7, their implementation under Windows 7 does not include support for symmetric keys, which is required. Only algorithms backed by a System.Security.Cryptography class available under the project's target .NET Framework and runtime OS will be added to this array when the component is created.

Note on FIPS compliance: If the system security policy dictates that only FIPS-certified algorithms may be used, only algorithms backed by FIPS-certified System.Security.Cryptography classes available under the project's target .NET Framework and runtime OS will be added to this array when the component is created. If non-certified algorithms are added to the collection, they will be removed prior to establishing a connection.

See Also

Reference

Connection Class
Connection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic