Table of Contents

Class MessageDigest

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class MessageDigest : MessageDigestSpi, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<MessageDigestSpi>
MessageDigest
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<MessageDigestSpi>.IsAssignableFrom(IJavaType)
JVMBridgeBase<MessageDigestSpi>.IsAssignableFrom<T>()
JVMBridgeBase<MessageDigestSpi>.Execute<T>(params T[])
JVMBridgeBase<MessageDigestSpi>.DynBridgeClazz
JVMBridgeBase<MessageDigestSpi>.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

MessageDigest()

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

[Obsolete("MessageDigest 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 MessageDigest()

MessageDigest(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("MessageDigest 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 MessageDigest(params object[] args)

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DigestLength

public int DigestLength { get; }

Property Value

int

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

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

Digest()

public byte[] Digest()

Returns

byte[]

byte

Digest(byte[])

public byte[] Digest(byte[] arg0)

Parameters

arg0 byte[]

byte

Returns

byte[]

byte

Digest(byte[], int, int)

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

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

Returns

int

int

Exceptions

DigestException

GetInstance(String)

public static MessageDigest GetInstance(String arg0)

Parameters

arg0 String

String

Returns

MessageDigest

MessageDigest

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static MessageDigest GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

MessageDigest

MessageDigest

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static MessageDigest GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

MessageDigest

MessageDigest

Exceptions

NoSuchAlgorithmException

IsEqual(byte[], byte[])

public static bool IsEqual(byte[] arg0, byte[] arg1)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

Returns

bool

bool

Reset()

public void Reset()

Update(ByteBuffer)

public void Update(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Update(byte)

public void Update(byte arg0)

Parameters

arg0 byte

byte

Update(byte[])

public void Update(byte[] arg0)

Parameters

arg0 byte[]

byte

Update(byte[], int, int)

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

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int