summary refs log tree commit diff
path: root/crypto/test/src/security (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for modified UTF-8 in JKSAlexander Scheel2024-06-211-0/+16
| | | | | | | | | | | When parsing JKS entries, BC C# previously failed to parse entries with UTF-8 entries. This is because Java encodes them using a modified UTF-8 wherein NULL bytes and 4-byte extended values do not appear. Add support for both reading and writing this modified method of UTF-8 within the JKS parsing code. Signed-off-by: Alexander Scheel <alexander.scheel@keyfactor.com>
* Correctly disable tests on LinuxAlexander Scheel2024-02-121-4/+13
| | | | | | | | | | | | | | | | | | | | | The SP800-38G tests fail to execute on Linux, due to the inability to set environment variables documented in a dotnet runtime issue. This uses RuntimeInformation to conditionally exclude the test from being run on Linux. Switch from SupportedOSPlatform to RuntimeInformation.IsOSPlatform for TestRsaInterop Guard this by a NET 6.0 requirement so that it doesn't affect old Windows-only .NET framework versions. Note: this only appears to fail on Linux when building from the CLI: > dotnet test -v:normal -l \"console;verbosity=detailed\" Building from an IDE (e.g., Rider) does not seem to be affected. Signed-off-by: Alexander Scheel <alexander.scheel@keyfactor.com>
* ParameterUtilities support for CCM, GCM parametersPeter Dettman2023-02-161-1/+42
| | | | - see https://github.com/bcgit/bc-csharp/issues/354
* Add some dotnet ECDsa interop methodsPeter Dettman2022-11-061-1/+31
|
* Release preparationsPeter Dettman2022-10-291-4/+4
|
* FIne-grained SupportedOSPlatform attributesPeter Dettman2022-10-251-4/+5
|
* Add Gost2012 algorithms to registriesPeter Dettman2022-10-231-1/+1
| | | | - see https://github.com/bcgit/bc-csharp/pull/217
* More span variants in randomness classesPeter Dettman2022-10-071-1/+9
|
* Add basic support for JKS keystoresPeter Dettman2022-09-121-0/+181
|
* Don't use CLR span-based NextBytesPeter Dettman2022-08-261-4/+13
|
* Implement NextBytes(Span<byte)Peter Dettman2022-08-191-13/+104
|
* Add SupportedOSPlatform attributesPeter Dettman2022-07-171-1/+7
|
* Utility method for selecting AES enginePeter Dettman2022-07-171-2/+3
|
* Generics migration completePeter Dettman2022-06-293-16/+1
|
* Generics migration in Asn1Peter Dettman2022-06-271-7/+5
|
* Remvoe ThreadedSeedGeneratorPeter Dettman2022-06-231-9/+0
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-221-3/+3
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-221-3/+4
|
* Cleanup old build systemsPeter Dettman2022-06-212-4/+2
|
* Update definesPeter Dettman2022-06-211-3/+3
|
* Updates towards netstandardPeter Dettman2022-06-151-0/+4
|
* Fix range and bias of NextDoublePeter Dettman2020-06-211-0/+48
| | | | - see https://github.com/bcgit/bc-csharp/issues/253
* Don't use 'var' keywordPeter Dettman2020-06-211-3/+3
|
* github #237 - gost 2012 parsingDavid Hook2020-04-251-0/+13
|
* Support SM2 in SignerUtilitiesPeter Dettman2019-06-011-9/+30
| | | | - including support for non-standard SHA256withSM2
* Handle CVC-ECDSA and PLAIN-ECDSA in test casePeter Dettman2018-10-141-1/+3
|
* Higher-level API support for Ed25519/Ed448/X25519/X448Peter Dettman2018-09-211-0/+18
|
* EC-related updates from bc-javaPeter Dettman2018-07-102-27/+20
|
* Added s box allocation to AesEnginePeter Dettman2017-06-101-2/+2
| | | | - mark AesFastEngine obsolete and replace all usages with AesEngine
* Improve usage/behaviour of SecureRandom.GenerateSeedPeter Dettman2015-11-171-2/+39
|
* Use culture-independent prefix-check in MacUtilities.GetMacPeter Dettman2015-11-121-0/+38
| | | | - Fix for https://github.com/bcgit/bc-csharp/pull/40 (modified from original patch)
* Exclude some tests for PORTABLEPeter Dettman2015-10-272-2/+2
|
* Use platform RNG as master, where available release-1.8.0-beta.4Peter Dettman2014-09-281-4/+18
| | | | Obsolete seeded constructor in favour of GetInstance variant
* RefactoringPeter Dettman2014-09-171-138/+139
|
* Fix Platform references in testsPeter Dettman2013-07-071-159/+160
|
* Initial import of old CVS repositoryPeter Dettman2013-06-286-0/+743