Table of Contents

Class SealedObject

Namespace
Javax.Crypto
Assembly
MASES.Netdroid.dll
public class SealedObject : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable
Inheritance
SealedObject
Implements
Extension Methods

Constructors

SealedObject(Serializable, Cipher)

public SealedObject(Serializable arg0, Cipher arg1)

Parameters

arg0 Serializable

Serializable

arg1 Cipher

Cipher

Exceptions

IOException
IllegalBlockSizeException

SealedObject(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SealedObject(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance(Serializable, Cipher)

HPA initializer for SealedObject(Java.Io.Serializable arg0, Javax.Crypto.Cipher arg1)

public static SealedObject CreatePoolableInstance(Serializable arg0, Cipher arg1)

Parameters

arg0 Serializable
arg1 Cipher

Returns

SealedObject

GetAlgorithm()

public String GetAlgorithm()

Returns

String

String

GetObject(Key)

public object GetObject(Key arg0)

Parameters

arg0 Key

Key

Returns

object

object

Exceptions

IOException
ClassNotFoundException
NoSuchAlgorithmException
InvalidKeyException

GetObject(Key, String)

public object GetObject(Key arg0, String arg1)

Parameters

arg0 Key

Key

arg1 String

String

Returns

object

object

Exceptions

IOException
ClassNotFoundException
NoSuchAlgorithmException
NoSuchProviderException
InvalidKeyException

GetObject(Cipher)

public object GetObject(Cipher arg0)

Parameters

arg0 Cipher

Cipher

Returns

object

object

Exceptions

IOException
ClassNotFoundException
IllegalBlockSizeException
BadPaddingException