Share via


CipherSpi.EngineSetMode(String) Method

Definition

Sets the mode of this cipher.

[Android.Runtime.Register("engineSetMode", "(Ljava/lang/String;)V", "GetEngineSetMode_Ljava_lang_String_Handler")]
protected abstract void EngineSetMode (string? mode);
[<Android.Runtime.Register("engineSetMode", "(Ljava/lang/String;)V", "GetEngineSetMode_Ljava_lang_String_Handler")>]
abstract member EngineSetMode : string -> unit

Parameters

mode
String

the cipher mode

Attributes

Exceptions

if the specified cipher mode is not supported by this provider.

Remarks

Sets the mode of this cipher.

Java documentation for javax.crypto.CipherSpi.engineSetMode(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to