Android Guides | Samples

Java.Security.AlgorithmParameterGenerator Class

AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with.

See Also: AlgorithmParameterGenerator

Syntax

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

Remarks

AlgorithmParameterGenerator is an engine class which is capable of generating parameters for the algorithm it was initialized with.

[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.AlgorithmParameterGenerator are listed below.

See Also: Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Constructs a new instance of AlgorithmParameterGenerator with the given arguments.

Public Properties

[read-only]
AlgorithmString. Returns the name of the algorithm.
[read-only]
ProviderProvider. Returns the provider associated with this AlgorithmParameterGenerator.

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.

Public Methods

GenerateParameters() : AlgorithmParameters
Computes and returns AlgorithmParameters for this generator's algorithm.
static
GetInstance(String) : AlgorithmParameterGenerator
Returns a new instance of AlgorithmParameterGenerator for the specified algorithm.
static
GetInstance(String, Provider) : AlgorithmParameterGenerator
Returns a new instance of AlgorithmParameterGenerator from the specified provider for the specified algorithm.
static
GetInstance(String, String) : AlgorithmParameterGenerator
Returns a new instance of AlgorithmParameterGenerator from the specified provider for the specified algorithm.
Init(IAlgorithmParameterSpec)
Initializes this AlgorithmParameterGenerator with the given AlgorithmParameterSpec.
Init(Int32)
Initializes this AlgorithmParameterGenerator with the given size.
Init(IAlgorithmParameterSpec, SecureRandom)
Initializes this AlgorithmParameterGenerator with the given AlgorithmParameterSpec and the given SecureRandom.
Init(Int32, SecureRandom)
Initializes this AlgorithmParameterGenerator with the given size and the given SecureRandom.