Table of Contents

Class SecureRandom

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

SecureRandom()

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

public SecureRandom()

SecureRandom(byte[])

public SecureRandom(byte[] arg0)

Parameters

arg0 byte[]

byte

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

Parameters

args object[]

Properties

Algorithm

public String Algorithm { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

InstanceStrong

public static SecureRandom InstanceStrong { get; }

Property Value

SecureRandom

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 SecureRandomParameters Parameters { get; }

Property Value

SecureRandomParameters

Provider

public Provider Provider { get; }

Property Value

Provider

Methods

GenerateSeed(int)

public byte[] GenerateSeed(int arg0)

Parameters

arg0 int

int

Returns

byte[]

byte

GetInstance(String)

public static SecureRandom GetInstance(String arg0)

Parameters

arg0 String

String

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException

GetInstance(String, String)

public static SecureRandom GetInstance(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, Provider)

public static SecureRandom GetInstance(String arg0, Provider arg1)

Parameters

arg0 String

String

arg1 Provider

Provider

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException

GetInstance(String, SecureRandomParameters)

public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1)

Parameters

arg0 String

String

arg1 SecureRandomParameters

SecureRandomParameters

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException

GetInstance(String, SecureRandomParameters, String)

public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1, String arg2)

Parameters

arg0 String

String

arg1 SecureRandomParameters

SecureRandomParameters

arg2 String

String

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException
NoSuchProviderException

GetInstance(String, SecureRandomParameters, Provider)

public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1, Provider arg2)

Parameters

arg0 String

String

arg1 SecureRandomParameters

SecureRandomParameters

arg2 Provider

Provider

Returns

SecureRandom

SecureRandom

Exceptions

NoSuchAlgorithmException

GetSeed(int)

public static byte[] GetSeed(int arg0)

Parameters

arg0 int

int

Returns

byte[]

byte

NextBytes(byte[], SecureRandomParameters)

public void NextBytes(byte[] arg0, SecureRandomParameters arg1)

Parameters

arg0 byte[]

byte

arg1 SecureRandomParameters

SecureRandomParameters

Reseed()

public void Reseed()

Reseed(SecureRandomParameters)

public void Reseed(SecureRandomParameters arg0)

Parameters

arg0 SecureRandomParameters

SecureRandomParameters

SetSeed(byte[])

public void SetSeed(byte[] arg0)

Parameters

arg0 byte[]

byte