Sdílet prostřednictvím


KeyGenerator Constructors

Definition

Overloads

KeyGenerator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

KeyGenerator(KeyGeneratorSpi, Provider, String)

Creates a KeyGenerator object.

KeyGenerator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected KeyGenerator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.KeyGenerator : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.KeyGenerator

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

KeyGenerator(KeyGeneratorSpi, Provider, String)

Creates a KeyGenerator object.

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/KeyGeneratorSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected KeyGenerator (Javax.Crypto.KeyGeneratorSpi? keyGenSpi, Java.Security.Provider? provider, string? algorithm);
[<Android.Runtime.Register(".ctor", "(Ljavax/crypto/KeyGeneratorSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]
new Javax.Crypto.KeyGenerator : Javax.Crypto.KeyGeneratorSpi * Java.Security.Provider * string -> Javax.Crypto.KeyGenerator

Parameters

keyGenSpi
KeyGeneratorSpi

the delegate

provider
Provider

the provider

algorithm
String

the algorithm

Attributes

Remarks

Creates a KeyGenerator object.

Java documentation for javax.crypto.KeyGenerator.KeyGenerator(javax.crypto.KeyGeneratorSpi, java.security.Provider, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to