Compartilhar via


ECFieldF2m Constructors

Definition

Overloads

ECFieldF2m(Int32)

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with normal basis.

ECFieldF2m(Int32, BigInteger)

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis.

ECFieldF2m(Int32, Int32[])

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis.

ECFieldF2m(IntPtr, JniHandleOwnership)

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

ECFieldF2m(Int32)

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with normal basis.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ECFieldF2m (int m);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Security.Spec.ECFieldF2m : int -> Java.Security.Spec.ECFieldF2m

Parameters

m
Int32

with 2^m being the number of elements.

Attributes

Exceptions

if m <= zero.

Remarks

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with normal basis.

Java documentation for java.security.spec.ECFieldF2m.ECFieldF2m(int).

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

ECFieldF2m(Int32, BigInteger)

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis.

[Android.Runtime.Register(".ctor", "(ILjava/math/BigInteger;)V", "")]
public ECFieldF2m (int m, Java.Math.BigInteger? rp);
[<Android.Runtime.Register(".ctor", "(ILjava/math/BigInteger;)V", "")>]
new Java.Security.Spec.ECFieldF2m : int * Java.Math.BigInteger -> Java.Security.Spec.ECFieldF2m

Parameters

m
Int32

with 2^m being the number of elements.

rp
BigInteger

the BigInteger whose i-th bit corresponds to the i-th coefficient of the reduction polynomial.

Attributes

Exceptions

if m <= zero or the rp is invalid.

Remarks

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis. The reduction polynomial for this field is based on rp whose i-th bit corresponds to the i-th coefficient of the reduction polynomial.

Note: A valid reduction polynomial is either a trinomial (X^m + X^k + 1 with m &gt; k &gt;= 1) or a pentanomial (X^m + X^k3 + X^k2 + X^k1 + 1 with m &gt; k3 &gt; k2 &gt; k1 &gt;= 1).

Java documentation for java.security.spec.ECFieldF2m.ECFieldF2m(int, java.math.BigInteger).

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

ECFieldF2m(Int32, Int32[])

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis.

[Android.Runtime.Register(".ctor", "(I[I)V", "")]
public ECFieldF2m (int m, int[]? ks);
[<Android.Runtime.Register(".ctor", "(I[I)V", "")>]
new Java.Security.Spec.ECFieldF2m : int * int[] -> Java.Security.Spec.ECFieldF2m

Parameters

m
Int32

with 2^m being the number of elements.

ks
Int32[]

the order of the middle term(s) of the reduction polynomial. Contents of this array are copied to protect against subsequent modification.

Attributes

Exceptions

if m <= zero or the reduction polynomial is not valid.

Remarks

Creates an elliptic curve characteristic 2 finite field which has 2^m elements with polynomial basis. The reduction polynomial for this field is based on ks whose content contains the order of the middle term(s) of the reduction polynomial. Note: A valid reduction polynomial is either a trinomial (X^m + X^k + 1 with m &gt; k &gt;= 1) or a pentanomial (X^m + X^k3 + X^k2 + X^k1 + 1 with m &gt; k3 &gt; k2 &gt; k1 &gt;= 1), so ks should have length 1 or 3.

Java documentation for java.security.spec.ECFieldF2m.ECFieldF2m(int, int[]).

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

ECFieldF2m(IntPtr, JniHandleOwnership)

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

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

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