diff options
author | Anh Vo <anhvo@microsoft.com> | 2023-03-27 18:39:49 -0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-15 19:17:18 +0700 |
commit | 14d34d01a97a3dbc0f5255ce4d84d80664e0038d (patch) | |
tree | 94154a74d2bba2a1b03c312c43a1b42dd867e3ef | |
parent | port OpenSSH key support from java api (diff) | |
download | BouncyCastle.NET-ed25519-14d34d01a97a3dbc0f5255ce4d84d80664e0038d.tar.xz |
removed commented out code
-rw-r--r-- | crypto/src/pkcs/PrivateKeyInfoFactory.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/src/pkcs/PrivateKeyInfoFactory.cs b/crypto/src/pkcs/PrivateKeyInfoFactory.cs index b180e49f2..1baf2dd9f 100644 --- a/crypto/src/pkcs/PrivateKeyInfoFactory.cs +++ b/crypto/src/pkcs/PrivateKeyInfoFactory.cs @@ -164,16 +164,6 @@ namespace Org.BouncyCastle.Pkcs else { X962Parameters x962; - //if (priv.PublicKeyParamSet == null) - //{ - // X9ECParameters ecP = new X9ECParameters(dp.Curve, new X9ECPoint(dp.G, false), dp.N, dp.H, - // dp.GetSeed()); - // x962 = new X962Parameters(ecP); - //} - //else - //{ - // x962 = new X962Parameters(priv.PublicKeyParamSet); - //} if (dp is ECNamedDomainParameters _dp) { x962 = new X962Parameters(_dp.Name); |