Android Guides | Samples

Javax.Crypto.KeyAgreementSpi Class

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

See Also: KeyAgreementSpi

Syntax

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

Remarks

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

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

See Also: Object

Public Constructors

Creates a new KeyAgreementSpi 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
EngineDoPhase(IKey, Boolean) : IKey
Does the next (or the last) phase of the key agreement, using the specified key.
abstract
EngineGenerateSecret() : Byte[]
Generates the shared secret.
abstract
EngineGenerateSecret(String) : ISecretKey
Generates the shared secret.
abstract
EngineGenerateSecret(Byte[], Int32) : Int32
Generates the shared secret and stores it into the buffer sharedSecred at offset.
abstract
EngineInit(IKey, SecureRandom)
Initializes this KeyAgreementSpi with the specified key and the specified randomness source.
abstract
EngineInit(IKey, IAlgorithmParameterSpec, SecureRandom)
Initializes this KeyAgreementSpi with the specified key, algorithm parameters and randomness source.