SmbEncryptionPolicy

Policy for applying SMB3 packet encryption (SMB2_TRANSFORM_HEADER).

Entries

Link copied to clipboard

Encrypts traffic when required by the server (session or share) or when SmbConfig.preferEncryption is enabled and the server supports SMB 3.x encryption.

Link copied to clipboard

Forces SMB 3.x packet encryption. Throws an exception during connection if the server or credentials do not support encryption.

Link copied to clipboard

Never initiates encryption from the client. The server will reject the connection or share access if encryption is mandatory on the server side.

Companion properties

Link copied to clipboard
val entries: EnumEntries<SmbEncryptionPolicy>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): SmbEncryptionPolicy

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int