Javax.Crypto.SealedObject.GetObject Method
Returns the wrapped object, decrypting it using the specified cipher.

Syntax

[Android.Runtime.Register("getObject", "(Ljavax/crypto/Cipher;)Ljava/lang/Object;", "")]
public Java.Lang.Object GetObject (Cipher c)

Parameters

c
the cipher to decrypt the data.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif deserialization fails.
Java.Lang.ClassNotFoundExceptionif deserialization fails.
Javax.Crypto.IllegalBlockSizeExceptionif the specified cipher is a block cipher and the length of the serialized data is not a multiple of the ciphers block size.
Javax.Crypto.BadPaddingExceptionif the padding of the data does not match the padding scheme.

Remarks

Returns the wrapped object, decrypting it using the specified 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