Javax.Crypto.KeyAgreement Members

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

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Creates a new KeyAgreement instance.

Public Properties

[read-only]
Algorithmstring. Returns the name of the key agreement algorithm.
[read-only]
ProviderJava.Security.Provider. Returns the provider for this KeyAgreement instance.

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

DoPhase(Java.Security.IKey, bool) : Java.Security.IKey
Does the next (or the last) phase of the key agreement, using the specified key.
GenerateSecret() : byte[]
Generates the shared secret.
GenerateSecret(string) : ISecretKey
Generates the shared secret.
GenerateSecret(byte[], int) : int
Generates the shared secret and stores it into the buffer sharedSecred at offset.
static
GetInstance(string) : KeyAgreement
Creates a new KeyAgreement for the specified algorithm.
static
GetInstance(string, Java.Security.Provider) : KeyAgreement
Create a new KeyAgreement for the specified algorithm from the specified provider.
static
GetInstance(string, string) : KeyAgreement
Creates a new KeyAgreement for the specified algorithm from the specified provider.
Init(Java.Security.IKey)
Initializes this KeyAgreement with the specified key.
Init(Java.Security.IKey, Java.Security.SecureRandom)
Initializes this KeyAgreement with the specified key and the specified randomness source.
Init(Java.Security.IKey, Java.Security.Spec.IAlgorithmParameterSpec)
Initializes this KeyAgreement with the specified key and the algorithm parameters.
Init(Java.Security.IKey, Java.Security.Spec.IAlgorithmParameterSpec, Java.Security.SecureRandom)
Initializes this KeyAgreement with the specified key, algorithm parameters and randomness source.