Android Guides | Samples

Java.Security.KeyPairGeneratorSpi Class

KeyPairGeneratorSpi is the Service Provider Interface (SPI) definition for KeyPairGenerator.

See Also: KeyPairGeneratorSpi

Syntax

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

Remarks

KeyPairGeneratorSpi is the Service Provider Interface (SPI) definition for KeyPairGenerator.

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

See Also: Object

Public Constructors

Constructs a new instance of KeyPairGeneratorSpi.

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.

Public Methods

abstract
GenerateKeyPair() : KeyPair
Computes and returns a new unique KeyPair each time this method is called.
Initialize(IAlgorithmParameterSpec, SecureRandom)
Initializes this KeyPairGeneratorSpi with the given AlgorithmParameterSpec and the given SecureRandom.
abstract
Initialize(Int32, SecureRandom)
Initializes this KeyPairGeneratorSpi with the given key size and the given SecureRandom.