Condividi tramite


ECParameterSpec Constructors

Definition

Overloads

ECParameterSpec(IntPtr, JniHandleOwnership)

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

ECParameterSpec(EllipticCurve, ECPoint, BigInteger, Int32)

Creates elliptic curve domain parameters based on the specified values.

ECParameterSpec(IntPtr, JniHandleOwnership)

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

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

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

ECParameterSpec(EllipticCurve, ECPoint, BigInteger, Int32)

Creates elliptic curve domain parameters based on the specified values.

[Android.Runtime.Register(".ctor", "(Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;I)V", "")]
public ECParameterSpec (Java.Security.Spec.EllipticCurve? curve, Java.Security.Spec.ECPoint? g, Java.Math.BigInteger? n, int h);
[<Android.Runtime.Register(".ctor", "(Ljava/security/spec/EllipticCurve;Ljava/security/spec/ECPoint;Ljava/math/BigInteger;I)V", "")>]
new Java.Security.Spec.ECParameterSpec : Java.Security.Spec.EllipticCurve * Java.Security.Spec.ECPoint * Java.Math.BigInteger * int -> Java.Security.Spec.ECParameterSpec

Parameters

curve
EllipticCurve

the elliptic curve which this parameter defines.

g
ECPoint

the generator which is also known as the base point.

n
BigInteger

the order of the generator g.

h
Int32

the cofactor.

Attributes

Exceptions

if order <= zero or cofactor <= zero.

Remarks

Creates elliptic curve domain parameters based on the specified values.

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