Class SecureRandom
public class SecureRandom : Random, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
SecureRandom
- Implements
- Inherited Members
- 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
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
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
InstanceStrong
public static SecureRandom InstanceStrong { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Parameters
public SecureRandomParameters Parameters { get; }
Property Value
Provider
public Provider Provider { get; }
Property Value
Methods
GenerateSeed(int)
public byte[] GenerateSeed(int arg0)
Parameters
Returns
GetInstance(String)
public static SecureRandom GetInstance(String arg0)
Parameters
Returns
Exceptions
GetInstance(String, String)
public static SecureRandom GetInstance(String arg0, String arg1)
Parameters
Returns
Exceptions
GetInstance(String, Provider)
public static SecureRandom GetInstance(String arg0, Provider arg1)
Parameters
Returns
Exceptions
GetInstance(String, SecureRandomParameters)
public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1)
Parameters
Returns
Exceptions
GetInstance(String, SecureRandomParameters, String)
public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1, String arg2)
Parameters
arg0
Stringarg1
SecureRandomParametersarg2
String
Returns
Exceptions
GetInstance(String, SecureRandomParameters, Provider)
public static SecureRandom GetInstance(String arg0, SecureRandomParameters arg1, Provider arg2)
Parameters
arg0
Stringarg1
SecureRandomParametersarg2
Provider
Returns
Exceptions
GetSeed(int)
public static byte[] GetSeed(int arg0)
Parameters
Returns
NextBytes(byte[], SecureRandomParameters)
public void NextBytes(byte[] arg0, SecureRandomParameters arg1)
Parameters
arg0
byte[]arg1
SecureRandomParameters
Reseed()
public void Reseed()
Reseed(SecureRandomParameters)
public void Reseed(SecureRandomParameters arg0)
Parameters
SetSeed(byte[])
public void SetSeed(byte[] arg0)