Android Guides | Samples

Javax.Crypto.KeyGeneratorSpi Class

The Service Provider Interface (SPI) definition for the KeyGenerator class.

See Also: KeyGeneratorSpi

Syntax

[Android.Runtime.Register("javax/crypto/KeyGeneratorSpi", DoNotGenerateAcw=true)]
public abstract class KeyGeneratorSpi : Object

Remarks

The Service Provider Interface (SPI) definition for the KeyGenerator class.

See Also

[Android Documentation]

Requirements

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

The members of Javax.Crypto.KeyGeneratorSpi are listed below.

See Also: Object

Public Constructors

Creates a new KeyGeneratorSpi instance.

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
EngineGenerateKey() : ISecretKey
Generates a secret key.
abstract
EngineInit(SecureRandom)
Initializes this KeyGenerator with the specified randomness source.
abstract
EngineInit(IAlgorithmParameterSpec, SecureRandom)
Initializes this KeyGeneratorSpi instance with the specified algorithm parameters and randomness source.
abstract
EngineInit(Int32, SecureRandom)
Initializes this KeyGenerator instance for the specified key size (in bits) using the specified randomness source.