Table of Contents

Class SealedObject

Namespace
Javax.Crypto
Assembly
MASES.JNet.dll
public class SealedObject : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
SealedObject
Implements
Inherited Members
Extension Methods

Constructors

SealedObject()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public SealedObject()

SealedObject(Serializable, Cipher)

public SealedObject(Serializable arg0, Cipher arg1)

Parameters

arg0 Serializable

Serializable

arg1 Cipher

Cipher

Exceptions

IOException
IllegalBlockSizeException

SealedObject(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public SealedObject(params object[] args)

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

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 Closeable

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

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