diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 16:58:53 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 16:58:53 +0700 |
commit | fe161d043699655430af72f77d50c4924d764662 (patch) | |
tree | 03b3f654c0bccd0c498c322edee051de8da56cb5 /crypto/test | |
parent | Refactoring in Asn1.Oiw (diff) | |
download | BouncyCastle.NET-ed25519-fe161d043699655430af72f77d50c4924d764662.tar.xz |
Refactoring in Asn1.Sec
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/tls/test/TlsTestUtilities.cs | 3 |
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); } |