Share via


AlgorithmParameterGeneratorSpi.EngineInit Method

Definition

Overloads

EngineInit(IAlgorithmParameterSpec, SecureRandom)

Initializes this parameter generator with a set of algorithm-specific parameter generation values.

EngineInit(Int32, SecureRandom)

Initializes this parameter generator for a certain size and source of randomness.

EngineInit(IAlgorithmParameterSpec, SecureRandom)

Initializes this parameter generator with a set of algorithm-specific parameter generation values.

[Android.Runtime.Register("engineInit", "(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V", "GetEngineInit_Ljava_security_spec_AlgorithmParameterSpec_Ljava_security_SecureRandom_Handler")]
protected abstract void EngineInit (Java.Security.Spec.IAlgorithmParameterSpec? genParamSpec, Java.Security.SecureRandom? random);
[<Android.Runtime.Register("engineInit", "(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V", "GetEngineInit_Ljava_security_spec_AlgorithmParameterSpec_Ljava_security_SecureRandom_Handler")>]
abstract member EngineInit : Java.Security.Spec.IAlgorithmParameterSpec * Java.Security.SecureRandom -> unit

Parameters

genParamSpec
IAlgorithmParameterSpec

the set of algorithm-specific parameter generation values.

random
SecureRandom

the source of randomness.

Attributes

Exceptions

if the specified parameters are not supported.

Remarks

Initializes this parameter generator with a set of algorithm-specific parameter generation values.

Java documentation for java.security.AlgorithmParameterGeneratorSpi.engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom).

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

EngineInit(Int32, SecureRandom)

Initializes this parameter generator for a certain size and source of randomness.

[Android.Runtime.Register("engineInit", "(ILjava/security/SecureRandom;)V", "GetEngineInit_ILjava_security_SecureRandom_Handler")]
protected abstract void EngineInit (int size, Java.Security.SecureRandom? random);
[<Android.Runtime.Register("engineInit", "(ILjava/security/SecureRandom;)V", "GetEngineInit_ILjava_security_SecureRandom_Handler")>]
abstract member EngineInit : int * Java.Security.SecureRandom -> unit

Parameters

size
Int32

the size (number of bits).

random
SecureRandom

the source of randomness.

Attributes

Remarks

Initializes this parameter generator for a certain size and source of randomness.

Java documentation for java.security.AlgorithmParameterGeneratorSpi.engineInit(int, java.security.SecureRandom).

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