次の方法で共有


KeyInfo.GetBlockModes Method

Definition

Gets the set of block modes (e.

[Android.Runtime.Register("getBlockModes", "()[Ljava/lang/String;", "GetGetBlockModesHandler", ApiSince=23)]
[Android.Runtime.StringDef(Fields=new System.String[] { "BlockModeEcb", "BlockModeCbc", "BlockModeCtr", "BlockModeGcm" }, Type="Android.Security.Keystore.KeyProperties")]
public virtual string[] GetBlockModes ();
[<Android.Runtime.Register("getBlockModes", "()[Ljava/lang/String;", "GetGetBlockModesHandler", ApiSince=23)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "BlockModeEcb", "BlockModeCbc", "BlockModeCtr", "BlockModeGcm" }, Type="Android.Security.Keystore.KeyProperties")>]
abstract member GetBlockModes : unit -> string[]
override this.GetBlockModes : unit -> string[]

Returns

String[]
Attributes

Remarks

Gets the set of block modes (e.g., GCM, CBC) with which the key can be used when encrypting/decrypting. Attempts to use the key with any other block modes will be rejected.

See KeyProperties.BLOCK_MODE constants.

Java documentation for android.security.keystore.KeyInfo.getBlockModes().

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