共用方式為


EncodedKeySpec Constructors

Definition

Overloads

EncodedKeySpec(Byte[])

Creates a new EncodedKeySpec with the given encoded key.

EncodedKeySpec(IntPtr, JniHandleOwnership)

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

EncodedKeySpec(Byte[])

Creates a new EncodedKeySpec with the given encoded key.

[Android.Runtime.Register(".ctor", "([B)V", "")]
public EncodedKeySpec (byte[]? encodedKey);
[<Android.Runtime.Register(".ctor", "([B)V", "")>]
new Java.Security.Spec.EncodedKeySpec : byte[] -> Java.Security.Spec.EncodedKeySpec

Parameters

encodedKey
Byte[]

the encoded key. The contents of the array are copied to protect against subsequent modification.

Attributes

Remarks

Creates a new EncodedKeySpec with the given encoded key.

Java documentation for java.security.spec.EncodedKeySpec.EncodedKeySpec(byte[]).

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

EncodedKeySpec(IntPtr, JniHandleOwnership)

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

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

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