Udostępnij za pośrednictwem


KeyPairGenerator Constructors

Definition

Overloads

KeyPairGenerator(String)

Creates a KeyPairGenerator object for the specified algorithm.

KeyPairGenerator(IntPtr, JniHandleOwnership)

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

KeyPairGenerator(String)

Creates a KeyPairGenerator object for the specified algorithm.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
protected KeyPairGenerator (string? algorithm);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.KeyPairGenerator : string -> Java.Security.KeyPairGenerator

Parameters

algorithm
String

the standard string name of the algorithm. See the KeyPairGenerator section in the Java Security Standard Algorithm Names Specification for information about standard algorithm names.

Attributes

Remarks

Creates a KeyPairGenerator object for the specified algorithm.

Java documentation for java.security.KeyPairGenerator.KeyPairGenerator(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

KeyPairGenerator(IntPtr, JniHandleOwnership)

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

protected KeyPairGenerator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.KeyPairGenerator : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.KeyPairGenerator

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