Android Guides | Samples

Javax.Crypto.BadPaddingException Class

The exception that is thrown when a padding mechanism is expected for the input data, but the input data does not have the proper padding bytes.

See Also: BadPaddingException

Syntax

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

Remarks

The exception that is thrown when a padding mechanism is expected for the input data, but the input data does not have the proper padding bytes.

[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.BadPaddingException are listed below.

See Also: GeneralSecurityException

Public Constructors

Creates a new instance of BadPaddingException with no message.
Creates a new instance of BadPaddingException with a 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.