Udostępnij za pośrednictwem


EllipticCurve Constructors

Definition

Overloads

EllipticCurve(IntPtr, JniHandleOwnership)

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

EllipticCurve(IECField, BigInteger, BigInteger)

Creates an elliptic curve with the specified elliptic field field and the coefficients a and b.

EllipticCurve(IECField, BigInteger, BigInteger, Byte[])

Creates an elliptic curve with the specified elliptic field field, the coefficients a and b, and the seed used for curve generation.

EllipticCurve(IntPtr, JniHandleOwnership)

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

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

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

EllipticCurve(IECField, BigInteger, BigInteger)

Creates an elliptic curve with the specified elliptic field field and the coefficients a and b.

[Android.Runtime.Register(".ctor", "(Ljava/security/spec/ECField;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")]
public EllipticCurve (Java.Security.Spec.IECField? field, Java.Math.BigInteger? a, Java.Math.BigInteger? b);
[<Android.Runtime.Register(".ctor", "(Ljava/security/spec/ECField;Ljava/math/BigInteger;Ljava/math/BigInteger;)V", "")>]
new Java.Security.Spec.EllipticCurve : Java.Security.Spec.IECField * Java.Math.BigInteger * Java.Math.BigInteger -> Java.Security.Spec.EllipticCurve

Parameters

field
IECField

the finite field that this elliptic curve is over.

a
BigInteger

the first coefficient of this elliptic curve.

b
BigInteger

the second coefficient of this elliptic curve.

Attributes

Exceptions

if the specified coefficients are not in the specified field.

Remarks

Creates an elliptic curve with the specified elliptic field field and the coefficients a and b.

Java documentation for java.security.spec.EllipticCurve.EllipticCurve(java.security.spec.ECField, java.math.BigInteger, 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

EllipticCurve(IECField, BigInteger, BigInteger, Byte[])

Creates an elliptic curve with the specified elliptic field field, the coefficients a and b, and the seed used for curve generation.

[Android.Runtime.Register(".ctor", "(Ljava/security/spec/ECField;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V", "")]
public EllipticCurve (Java.Security.Spec.IECField? field, Java.Math.BigInteger? a, Java.Math.BigInteger? b, byte[]? seed);
[<Android.Runtime.Register(".ctor", "(Ljava/security/spec/ECField;Ljava/math/BigInteger;Ljava/math/BigInteger;[B)V", "")>]
new Java.Security.Spec.EllipticCurve : Java.Security.Spec.IECField * Java.Math.BigInteger * Java.Math.BigInteger * byte[] -> Java.Security.Spec.EllipticCurve

Parameters

field
IECField

the finite field that this elliptic curve is over.

a
BigInteger

the first coefficient of this elliptic curve.

b
BigInteger

the second coefficient of this elliptic curve.

seed
Byte[]

the bytes used during curve generation for later validation. Contents of this array are copied to protect against subsequent modification.

Attributes

Exceptions

if the specified coefficients are not in the specified field.

Remarks

Creates an elliptic curve with the specified elliptic field field, the coefficients a and b, and the seed used for curve generation.

Java documentation for java.security.spec.EllipticCurve.EllipticCurve(java.security.spec.ECField, java.math.BigInteger, java.math.BigInteger, 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