Partager via


SecureRandom.Reseed Method

Definition

Overloads

Reseed()

Reseeds this SecureRandom with entropy input read from its entropy source.

Reseed(ISecureRandomParameters)

Reseeds this SecureRandom with entropy input read from its entropy source with additional parameters.

Reseed()

Reseeds this SecureRandom with entropy input read from its entropy source.

[Android.Runtime.Register("reseed", "()V", "GetReseedHandler", ApiSince=35)]
public virtual void Reseed ();
[<Android.Runtime.Register("reseed", "()V", "GetReseedHandler", ApiSince=35)>]
abstract member Reseed : unit -> unit
override this.Reseed : unit -> unit
Attributes

Remarks

Reseeds this SecureRandom with entropy input read from its entropy source.

Added in 9.

Java documentation for java.security.SecureRandom.reseed().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Reseed(ISecureRandomParameters)

Reseeds this SecureRandom with entropy input read from its entropy source with additional parameters.

[Android.Runtime.Register("reseed", "(Ljava/security/SecureRandomParameters;)V", "GetReseed_Ljava_security_SecureRandomParameters_Handler", ApiSince=35)]
public virtual void Reseed (Java.Security.ISecureRandomParameters? params);
[<Android.Runtime.Register("reseed", "(Ljava/security/SecureRandomParameters;)V", "GetReseed_Ljava_security_SecureRandomParameters_Handler", ApiSince=35)>]
abstract member Reseed : Java.Security.ISecureRandomParameters -> unit
override this.Reseed : Java.Security.ISecureRandomParameters -> unit

Parameters

params
ISecureRandomParameters

extra parameters

Attributes

Remarks

Reseeds this SecureRandom with entropy input read from its entropy source with additional parameters.

Note that entropy is obtained from an entropy source. While some data in params may contain entropy, its main usage is to provide diversity.

Added in 9.

Java documentation for java.security.SecureRandom.reseed(java.security.SecureRandomParameters).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to