Language

EdDSAParameterSpec Constructors

Definition

Overloads

Name Description
EdDSAParameterSpec(Boolean)

Construct an EdDSAParameterSpec by specifying whether the prehash mode is used.

EdDSAParameterSpec(Boolean, Byte[])

Construct an EdDSAParameterSpec by specifying a context and whether the prehash mode is used.

EdDSAParameterSpec(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

EdDSAParameterSpec(Boolean)

Construct an EdDSAParameterSpec by specifying whether the prehash mode is used.

[Android.Runtime.Register(".ctor", "(Z)V", "", ApiSince=35)]
public EdDSAParameterSpec(bool prehash);
[<Android.Runtime.Register(".ctor", "(Z)V", "", ApiSince=35)>]
new Java.Security.Spec.EdDSAParameterSpec : bool -> Java.Security.Spec.EdDSAParameterSpec

Parameters

prehash
Boolean

whether the prehash mode is specified.

Attributes

Remarks

Construct an EdDSAParameterSpec by specifying whether the prehash mode is used. No context is provided so this constructor specifies a mode in which the context is null. Note that this mode may be different than the mode in which an empty array is used as the context.

Java documentation for java.security.spec.EdDSAParameterSpec.EdDSAParameterSpec(boolean).

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

EdDSAParameterSpec(Boolean, Byte[])

Construct an EdDSAParameterSpec by specifying a context and whether the prehash mode is used.

[Android.Runtime.Register(".ctor", "(Z[B)V", "", ApiSince=35)]
public EdDSAParameterSpec(bool prehash, byte[]? context);
[<Android.Runtime.Register(".ctor", "(Z[B)V", "", ApiSince=35)>]
new Java.Security.Spec.EdDSAParameterSpec : bool * byte[] -> Java.Security.Spec.EdDSAParameterSpec

Parameters

prehash
Boolean

whether the prehash mode is specified.

context
Byte[]

the context is copied and bound to the signature.

Attributes

Remarks

Construct an EdDSAParameterSpec by specifying a context and whether the prehash mode is used. The context may not be null, but it may be an empty array. The mode used when the context is an empty array may not be the same as the mode used when the context is absent.

Java documentation for java.security.spec.EdDSAParameterSpec.EdDSAParameterSpec(boolean, 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

EdDSAParameterSpec(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to