Javax.Crypto.KeyGenerator Members

The members of Javax.Crypto.KeyGenerator 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 KeyGenerator instance.

Public Properties

[read-only]
Algorithmstring. Returns the name of the key generation algorithm.
[read-only]
ProviderJava.Security.Provider. Returns the provider of this KeyGenerator 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

GenerateKey() : ISecretKey
Generates a secret key.
static
GetInstance(string) : KeyGenerator
Creates a new KeyGenerator instance that provides the specified key algorithm,
static
GetInstance(string, Java.Security.Provider) : KeyGenerator
Creates a new KeyGenerator instance that provides the specified key algorithm from the specified provider.
static
GetInstance(string, string) : KeyGenerator
Creates a new KeyGenerator instance that provides the specified key algorithm from the specified provider.
Init(Java.Security.SecureRandom)
Initializes this KeyGenerator with the specified randomness source.
Init(Java.Security.Spec.IAlgorithmParameterSpec)
Initializes this KeyGenerator instance with the specified algorithm parameters.
Init(int)
Initializes this KeyGenerator instance for the specified key size (in bits).
Init(Java.Security.Spec.IAlgorithmParameterSpec, Java.Security.SecureRandom)
Initializes this KeyGenerator instance with the specified algorithm parameters and randomness source.
Init(int, Java.Security.SecureRandom)
Initializes this KeyGenerator instance for the specified key size (in bits) using the specified randomness source.