Table of Contents

Class X9ECParameters

Namespace
Org.BouncyCastle.Asn1.X9
Assembly
BouncyCastle.Cryptography.dll
public class X9ECParameters : Asn1Encodable, IAsn1Convertible
Inheritance
X9ECParameters
Implements
Inherited Members

Constructors

X9ECParameters(Asn1Sequence)

[Obsolete("Use 'GetInstance' instead")]
public X9ECParameters(Asn1Sequence seq)

Parameters

seq Asn1Sequence

X9ECParameters(ECCurve, X9ECPoint, BigInteger)

public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n)

Parameters

curve ECCurve
g X9ECPoint
n BigInteger

X9ECParameters(ECCurve, X9ECPoint, BigInteger, BigInteger)

public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h)

Parameters

curve ECCurve
g X9ECPoint
n BigInteger
h BigInteger

X9ECParameters(ECCurve, X9ECPoint, BigInteger, BigInteger, DerBitString)

public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, DerBitString seed)

Parameters

curve ECCurve
g X9ECPoint
n BigInteger
h BigInteger
seed DerBitString

X9ECParameters(ECCurve, X9ECPoint, BigInteger, BigInteger, byte[])

public X9ECParameters(ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed)

Parameters

curve ECCurve
g X9ECPoint
n BigInteger
h BigInteger
seed byte[]

Properties

BaseEntry

public X9ECPoint BaseEntry { get; }

Property Value

X9ECPoint

Curve

public ECCurve Curve { get; }

Property Value

ECCurve

CurveEntry

public X9Curve CurveEntry { get; }

Property Value

X9Curve

FieldIDEntry

public X9FieldID FieldIDEntry { get; }

Property Value

X9FieldID

G

public ECPoint G { get; }

Property Value

ECPoint

H

public BigInteger H { get; }

Property Value

BigInteger

N

public BigInteger N { get; }

Property Value

BigInteger

Seed

public DerBitString Seed { get; }

Property Value

DerBitString

Methods

GetInstance(Asn1TaggedObject, bool)

public static X9ECParameters GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

X9ECParameters

GetInstance(object)

public static X9ECParameters GetInstance(object obj)

Parameters

obj object

Returns

X9ECParameters

GetOptional(Asn1Encodable)

public static X9ECParameters GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

X9ECParameters

GetSeed()

public byte[] GetSeed()

Returns

byte[]

GetTagged(Asn1TaggedObject, bool)

public static X9ECParameters GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

X9ECParameters

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object