# < Summary

Information

Class: | Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9.X9ECParameters
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\asn1\x9\X9ECParameters.cs

Line coverage
53%

Covered lines: | 21
Uncovered lines: | 18
Coverable lines: | 39
Total lines: | 93
Line coverage: | 53.8%

Branch coverage
0%

Covered branches: | 0
Total branches: | 2
Branch coverage: | 0%

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
GetInstance(...) | 0% | 2 | 0%
.ctor(...) | 100% | 1 | 0%
.ctor(...) | 100% | 1 | 0%
.ctor(...) | 100% | 1 | 0%
.ctor(...) | 100% | 1 | 0%
.ctor(...) | 100% | 1 | 100%
get_Curve() | 100% | 1 | 100%
get_G() | 100% | 1 | 100%
get_N() | 100% | 1 | 100%
get_H() | 100% | 1 | 100%
GetSeed() | 100% | 1 | 100%
get_CurveEntry() | 100% | 1 | 0%
get_BaseEntry() | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\asn1\x9\X9ECParameters.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `using Renci.SshNet.Security.Org.BouncyCastle.Math;`
|  | `4` |  | `using Renci.SshNet.Security.Org.BouncyCastle.Math.EC;`
|  | `5` |  | ``
|  | `6` |  | `namespace Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9`
|  | `7` |  | `{`
|  | `8` |  | `internal class X9ECParameters`
|  | `9` |  | `{`
|  | `10` |  | `private byte[] seed;`
|  | `11` |  | ``
|  | `12` |  | `public static X9ECParameters GetInstance(Object obj)`
| 0 | `13` |  | `{`
| 0 | `14` |  | `if (obj is X9ECParameters)`
| 0 | `15` |  | `return (X9ECParameters)obj;`
|  | `16` |  | ``
| 0 | `17` |  | `return null;`
| 0 | `18` |  | `}`
|  | `19` |  | ``
|  | `20` |  | `public X9ECParameters(`
|  | `21` |  | `ECCurve curve,`
|  | `22` |  | `ECPoint g,`
|  | `23` |  | `BigInteger n)`
| 0 | `24` |  | `: this(curve, g, n, null, null)`
| 0 | `25` |  | `{`
| 0 | `26` |  | `}`
|  | `27` |  | ``
|  | `28` |  | `public X9ECParameters(`
|  | `29` |  | `ECCurve curve,`
|  | `30` |  | `X9ECPoint g,`
|  | `31` |  | `BigInteger n,`
|  | `32` |  | `BigInteger h)`
| 0 | `33` |  | `: this(curve, g, n, h, null)`
| 0 | `34` |  | `{`
| 0 | `35` |  | `}`
|  | `36` |  | ``
|  | `37` |  | `public X9ECParameters(`
|  | `38` |  | `ECCurve curve,`
|  | `39` |  | `ECPoint g,`
|  | `40` |  | `BigInteger n,`
|  | `41` |  | `BigInteger h)`
| 0 | `42` |  | `: this(curve, g, n, h, null)`
| 0 | `43` |  | `{`
| 0 | `44` |  | `}`
|  | `45` |  | ``
|  | `46` |  | `public X9ECParameters(`
|  | `47` |  | `ECCurve curve,`
|  | `48` |  | `ECPoint g,`
|  | `49` |  | `BigInteger n,`
|  | `50` |  | `BigInteger h,`
|  | `51` |  | `byte[] seed)`
| 0 | `52` |  | `: this(curve, new X9ECPoint(g), n, h, seed)`
| 0 | `53` |  | `{`
| 0 | `54` |  | `}`
|  | `55` |  | ``
| 3 | `56` |  | `public X9ECParameters(`
| 3 | `57` |  | `ECCurve curve,`
| 3 | `58` |  | `X9ECPoint g,`
| 3 | `59` |  | `BigInteger n,`
| 3 | `60` |  | `BigInteger h,`
| 3 | `61` |  | `byte[] seed)`
| 3 | `62` |  | `{`
| 3 | `63` |  | `this.Curve = curve;`
| 3 | `64` |  | `this.BaseEntry = g;`
| 3 | `65` |  | `this.N = n;`
| 3 | `66` |  | `this.H = h;`
| 3 | `67` |  | `this.seed = seed;`
| 3 | `68` |  | `}`
|  | `69` |  | ``
| 12 | `70` |  | `public ECCurve Curve { get; private set; }`
|  | `71` |  | ``
|  | `72` |  | `public ECPoint G`
|  | `73` |  | `{`
| 27 | `74` |  | `get { return BaseEntry.Point; }`
|  | `75` |  | `}`
|  | `76` |  | ``
| 12 | `77` |  | `public BigInteger N { get; private set; }`
|  | `78` |  | ``
| 12 | `79` |  | `public BigInteger H { get; private set; }`
|  | `80` |  | ``
|  | `81` |  | `public byte[] GetSeed()`
| 9 | `82` |  | `{`
| 9 | `83` |  | `return seed;`
| 9 | `84` |  | `}`
|  | `85` |  | ``
|  | `86` |  | `public X9Curve CurveEntry`
|  | `87` |  | `{`
| 0 | `88` |  | `get { return new X9Curve(Curve, seed); }`
|  | `89` |  | `}`
|  | `90` |  | ``
| 12 | `91` |  | `public X9ECPoint BaseEntry { get; private set; }`
|  | `92` |  | `}`
|  | `93` |  | `}`

# Methods/Properties

GetInstance(System.Object)
.ctor(Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECCurve,Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECPoint,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger)
.ctor(Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECCurve,Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9.X9ECPoint,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger)
.ctor(Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECCurve,Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECPoint,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger)
.ctor(Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECCurve,Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECPoint,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,System.Byte[])
.ctor(Renci.SshNet.Security.Org.BouncyCastle.Math.EC.ECCurve,Renci.SshNet.Security.Org.BouncyCastle.Asn1.X9.X9ECPoint,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,Renci.SshNet.Security.Org.BouncyCastle.Math.BigInteger,System.Byte[])
get_Curve()
get_G()
get_N()
get_H()
GetSeed()
get_CurveEntry()
get_BaseEntry()