# < Summary

Information

Class: | Renci.SshNet.Security.Org.BouncyCastle.Crypto.Parameters.ECKeyGenerationParameters
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\crypto\parameters\ECKeyGenerationParameters.cs

Line coverage
100%

Covered lines: | 5
Uncovered lines: | 0
Coverable lines: | 5
Total lines: | 23
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 100%
get_DomainParameters() | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\crypto\parameters\ECKeyGenerationParameters.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using Renci.SshNet.Security.Org.BouncyCastle.Security;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet.Security.Org.BouncyCastle.Crypto.Parameters`
|  | `4` |  | `{`
|  | `5` |  | `internal class ECKeyGenerationParameters`
|  | `6` |  | `: KeyGenerationParameters`
|  | `7` |  | `{`
|  | `8` |  | `private readonly ECDomainParameters domainParams;`
|  | `9` |  | ``
|  | `10` |  | `public ECKeyGenerationParameters(`
|  | `11` |  | `ECDomainParameters domainParameters,`
|  | `12` |  | `SecureRandom random)`
| 9 | `13` |  | `: base(random, domainParameters.N.BitLength)`
| 9 | `14` |  | `{`
| 9 | `15` |  | `this.domainParams = domainParameters;`
| 9 | `16` |  | `}`
|  | `17` |  | ``
|  | `18` |  | `public ECDomainParameters DomainParameters`
|  | `19` |  | `{`
| 27 | `20` |  | `get { return domainParams; }`
|  | `21` |  | `}`
|  | `22` |  | `}`
|  | `23` |  | `}`

# Methods/Properties

.ctor(Renci.SshNet.Security.Org.BouncyCastle.Crypto.Parameters.ECDomainParameters,Renci.SshNet.Security.Org.BouncyCastle.Security.SecureRandom)
get_DomainParameters()