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

Syntax

[Android.Runtime.Register("getObject", "(Ljava/security/Key;)Ljava/lang/Object;", "")]
public Java.Lang.Object GetObject (Java.Security.IKey key)

Parameters

key
the key to decrypt the data with.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif deserialization fails.
Java.Lang.ClassNotFoundExceptionif deserialization fails.
Java.Security.NoSuchAlgorithmExceptionif the algorithm to decrypt the data is not available.
Java.Security.InvalidKeyExceptionif the specified key cannot be used to decrypt the data.

Remarks

Returns the wrapped object, decrypting it using the specified key.

[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