Android Guides | Samples

Javax.Crypto.IllegalBlockSizeException Class

The exception, that is thrown when the data length provided to a block cipher does not match the block size of the cipher.

See Also: IllegalBlockSizeException

Syntax

[Android.Runtime.Register("javax/crypto/IllegalBlockSizeException", DoNotGenerateAcw=true)]
public class IllegalBlockSizeException : GeneralSecurityException

Remarks

The exception, that is thrown when the data length provided to a block cipher does not match the block size of the cipher.

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Javax.Crypto.IllegalBlockSizeException are listed below.

See Also: GeneralSecurityException

Public Constructors

Creates a new IllegalBlockSizeException.
Creates a new IllegalBlockSizeException with the specified message.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.