Scott Xu
Scott Xu
`CMSSignedDataGenerator` Generate `CmsProcessableInputStream` with encapsulate `true` always throw InvalidOperationException("CmsProcessableInputStream can only be used once") because it calls `content.Write` twice. https://github.com/bcgit/bc-csharp/blob/master/crypto/src/cms/CMSSignedDataGenerator.cs#L132 https://github.com/bcgit/bc-csharp/blob/master/crypto/src/cms/CMSSignedDataGenerator.cs#L539
This PR leverages BCL's [ECDiffieHellman](https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.ecdiffiehellman) for key exchange instead of using BouncyCastle. Cryptographic operations in BCL are done by operating system (OS) libraries. ### Advantages: It inherits the advantages described...
Trying to understand some flaky tests
Fixes https://github.com/sshnet/SSH.NET/issues/1406