Table of Contents

Class Signature

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class Signature : SignatureSpi, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<SignatureSpi>
Signature
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<SignatureSpi>.IsAssignableFrom(IJavaType)
JVMBridgeBase<SignatureSpi>.IsAssignableFrom<T>()
JVMBridgeBase<SignatureSpi>.Execute<T>(params T[])
JVMBridgeBase<SignatureSpi>.DynBridgeClazz
JVMBridgeBase<SignatureSpi>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Signature()

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

[Obsolete("Signature class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Signature()

Signature(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

[Obsolete("Signature class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Signature(params object[] args)

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Parameters

public AlgorithmParameters Parameters { get; }

Property Value

AlgorithmParameters

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

GetInstance(String)

public static Signature GetInstance(String arg0)

Parameters

arg0 String

String

Returns

Signature

Signature

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static Signature GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

Signature

Signature

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static Signature GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

Signature

Signature

Exceptions

NoSuchAlgorithmException

InitSign(PrivateKey)

public void InitSign(PrivateKey arg0)

Parameters

arg0 PrivateKey

PrivateKey

Exceptions

InvalidKeyException

InitSign(PrivateKey, SecureRandom)

public void InitSign(PrivateKey arg0, SecureRandom arg1)

Parameters

arg0 PrivateKey

PrivateKey

arg1 SecureRandom

SecureRandom

Exceptions

InvalidKeyException

InitVerify(Certificate)

public void InitVerify(Certificate arg0)

Parameters

arg0 Certificate

Certificate

Exceptions

InvalidKeyException

InitVerify(PublicKey)

public void InitVerify(PublicKey arg0)

Parameters

arg0 PublicKey

PublicKey

Exceptions

InvalidKeyException

SetParameter(AlgorithmParameterSpec)

public void SetParameter(AlgorithmParameterSpec arg0)

Parameters

arg0 AlgorithmParameterSpec

AlgorithmParameterSpec

Exceptions

InvalidAlgorithmParameterException

Sign()

public byte[] Sign()

Returns

byte[]

byte

Exceptions

SignatureException

Sign(byte[], int, int)

public int Sign(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

int

int

Exceptions

SignatureException

Update(ByteBuffer)

public void Update(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Exceptions

SignatureException

Update(byte)

public void Update(byte arg0)

Parameters

arg0 byte

byte

Exceptions

SignatureException

Update(byte[])

public void Update(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

SignatureException

Update(byte[], int, int)

public void Update(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Exceptions

SignatureException

Verify(byte[])

public bool Verify(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

bool

bool

Exceptions

SignatureException

Verify(byte[], int, int)

public bool Verify(byte[] arg0, int arg1, int arg2)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

bool

bool

Exceptions

SignatureException