Share via


CipherSpi.EngineSetPadding(String) Method

Definition

Sets the padding mechanism of this cipher.

[Android.Runtime.Register("engineSetPadding", "(Ljava/lang/String;)V", "GetEngineSetPadding_Ljava_lang_String_Handler")]
protected abstract void EngineSetPadding (string? padding);
[<Android.Runtime.Register("engineSetPadding", "(Ljava/lang/String;)V", "GetEngineSetPadding_Ljava_lang_String_Handler")>]
abstract member EngineSetPadding : string -> unit

Parameters

padding
String

the padding mechanism

Attributes

Exceptions

if the specified padding method is not supported by this cipher.

Remarks

Sets the padding mechanism of this cipher.

Java documentation for javax.crypto.CipherSpi.engineSetPadding(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