summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 16:58:53 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-07-01 16:58:53 +0700
commitfe161d043699655430af72f77d50c4924d764662 (patch)
tree03b3f654c0bccd0c498c322edee051de8da56cb5 /crypto/test
parentRefactoring in Asn1.Oiw (diff)
downloadBouncyCastle.NET-ed25519-fe161d043699655430af72f77d50c4924d764662.tar.xz
Refactoring in Asn1.Sec
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/tls/test/TlsTestUtilities.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/test/src/tls/test/TlsTestUtilities.cs b/crypto/test/src/tls/test/TlsTestUtilities.cs
index 72d09c808..b7ab5463d 100644
--- a/crypto/test/src/tls/test/TlsTestUtilities.cs
+++ b/crypto/test/src/tls/test/TlsTestUtilities.cs
@@ -362,8 +362,7 @@ namespace Org.BouncyCastle.Tls.Tests
             if (pem.Type.Equals("EC PRIVATE KEY"))
             {
                 ECPrivateKeyStructure pKey = ECPrivateKeyStructure.GetInstance(pem.Content);
-                AlgorithmIdentifier algId = new AlgorithmIdentifier(X9ObjectIdentifiers.IdECPublicKey,
-                    pKey.GetParameters());
+                AlgorithmIdentifier algId = new AlgorithmIdentifier(X9ObjectIdentifiers.IdECPublicKey, pKey.Parameters);
                 PrivateKeyInfo privInfo = new PrivateKeyInfo(algId, pKey);
                 return PrivateKeyFactory.CreateKey(privInfo);
             }