Android Guides | Samples

Java.Security.SecureRandomSpi Class

SecureRandomSpi is the Service Provider Interface (SPI) definition for SecureRandom.

See Also: SecureRandomSpi

Syntax

[Android.Runtime.Register("java/security/SecureRandomSpi", DoNotGenerateAcw=true)]
public abstract class SecureRandomSpi : Object, ISerializable, IDisposable

Remarks

SecureRandomSpi is the Service Provider Interface (SPI) definition for SecureRandom.

See Also

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Security.SecureRandomSpi are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Protected Methods

abstract
EngineGenerateSeed(Int32) : Byte[]
Generates and returns the specified number of seed bytes, computed using the seed generation algorithm used by this SecureRandomSpi.
abstract
EngineNextBytes(Byte[])
Generates and stores random bytes in the given byte[] for each array element.
abstract
EngineSetSeed(Byte[])
Reseeds this SecureRandomSpi instance with the specified seed.