summary refs log tree commit diff
path: root/crypto/src/asn1/x9/X9FieldID.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-24use latest sdk to buildOren Novotny1-1/+1
2020-02-24Bump NUnit3TestAdapter from 3.15.1 to 3.16.1dependabot-preview[bot]1-1/+1
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.15.1 to 3.16.1. - [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases) - [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.15.1...V3.16.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0dependabot-preview[bot]1-1/+1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.5.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24set version pcl-v1.8.6Oren Novotny1-1/+1
2020-02-21Update versions and release notes for 1.8.6 release-1.8.6Peter Dettman3-5/+9
2020-02-21Add utility methodPeter Dettman1-1/+20
2020-02-21RefactoringPeter Dettman4-148/+148
2020-02-21Fix handling of reason codesPeter Dettman1-39/+43
2020-02-21Update ASN.1 GetInstance methodsPeter Dettman7-109/+49
2020-02-20Improvements to permitted sub-treesPeter Dettman1-1/+14
2020-02-20Misc. updates from bc-javaPeter Dettman5-8/+39
2020-02-20Mark methods as "Var" for clarityPeter Dettman2-6/+6
2020-02-20Stricter header validation for PEM filesPeter Dettman2-4/+15
2020-02-20Fix typoPeter Dettman1-1/+1
2020-02-20TLS backports from bc-java/tlsPeter Dettman6-99/+3
2020-02-20PGP updates from bc-javaPeter Dettman13-30/+92
2020-02-20Mark several EC multipliers as obsoletePeter Dettman9-7/+30
2020-02-20Check IsSsl after other checks (NPE)Peter Dettman1-25/+19
2020-02-19ASN.1 updates from bc-javaPeter Dettman13-153/+320
2020-02-13Case-insensitive check of boolean env. var.Peter Dettman1-1/+1
2020-02-13PKCS12: Improved support for certificate-only key stores without passwordPeter Dettman3-26/+102
2020-02-13ASN.1 updates from bc-javaPeter Dettman15-231/+312
2020-02-12Update release notesPeter Dettman1-0/+4
2020-02-12Update copyrights to 2020Peter Dettman2-2/+2
2020-02-12Mark some constructors obsolete (per bc-java)Peter Dettman4-6/+14
2020-01-31EdDSA: guard against pub key mismatchPeter Dettman7-48/+62
2020-01-30Port of X25519/X448 field updates from bc-javaPeter Dettman2-25/+39
2020-01-06Bump coverlet.collector from 1.1.0 to 1.2.0dependabot-preview[bot]1-1/+1
Bumps [coverlet.collector](https://github.com/tonerdo/coverlet) from 1.1.0 to 1.2.0. - [Release notes](https://github.com/tonerdo/coverlet/releases) - [Commits](https://github.com/tonerdo/coverlet/compare/v1.1.0...v1.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28Bump coverlet.collector from 1.0.1 to 1.1.0dependabot-preview[bot]1-1/+1
Bumps [coverlet.collector](https://github.com/tonerdo/coverlet) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/tonerdo/coverlet/releases) - [Commits](https://github.com/tonerdo/coverlet/compare/v1.0.1...v1.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28Bump Microsoft.SourceLink.GitHub from 1.0.0-beta2-19367-01 to 1.0.0dependabot-preview[bot]1-1/+1
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.0.0-beta2-19367-01 to 1.0.0. - [Release notes](https://github.com/dotnet/sourcelink/releases) - [Commits](https://github.com/dotnet/sourcelink/compare/1.0.0-beta2-19367-01...1.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28Bump NUnit3TestAdapter from 3.14.0 to 3.15.1dependabot-preview[bot]1-1/+1
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 3.14.0 to 3.15.1. - [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases) - [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.14...V3.15.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.4.0dependabot-preview[bot]1-1/+1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.2.0 to 16.4.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.2.0...v16.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-28Bump NerdBank.GitVersioning from 3.0.26 to 3.0.28dependabot-preview[bot]1-1/+1
Bumps [NerdBank.GitVersioning](https://github.com/AArnott/Nerdbank.GitVersioning) from 3.0.26 to 3.0.28. - [Release notes](https://github.com/AArnott/Nerdbank.GitVersioning/releases) - [Commits](https://github.com/AArnott/Nerdbank.GitVersioning/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-03Build script updates pcl-v1.8.5.2Oren Novotny1-2/+1
2019-11-03Build script updatesOren Novotny5-89/+97
2019-10-23Improve ChaCha20Poly1305 testsPeter Dettman3-35/+66
- focused on processing array sub-ranges
2019-09-10Add ChaCha ciphers to factory classesPeter Dettman10-12/+310
2019-09-09Port ChaCha20Poly1305 from bc-javaPeter Dettman10-96/+1134
2019-09-09Tampering and reuse test cases for GCMPeter Dettman2-27/+90
2019-09-09Updates from bc-javaPeter Dettman1-10/+51
2019-09-09Rewrite conditionals to avoid overflowPeter Dettman1-2/+2
2019-09-09Support user cancellation of (D)TLS handshakesPeter Dettman15-3/+57
- see https://github.com/bcgit/bc-java/pull/549
2019-09-09Port of strict hex decoding from bc-javaPeter Dettman61-306/+362
2019-08-29Add sanity checks on scalar mult. outputsPeter Dettman3-10/+116
2019-08-29Add new X448 test cases from bc-javaPeter Dettman1-0/+190
2019-08-29CCM: only enforce the tag length restrictions for encryptionPeter Dettman1-4/+4
2019-08-26Check CCM tag length during initializationPeter Dettman1-2/+10
2019-08-26PssSigner verification improvementsPeter Dettman1-7/+13
- enforce leading zero bits consistency requirement - explicitly zero when cipher output is short
2019-08-22Remove unneeded ifdef'sOren Novotny31-61/+21
2019-08-22Fix parsing of test messages due to using arg exception with parameter nameOren Novotny1-8/+8
2019-08-22Revert all Main -> MainOld renames by specifying startup object explicitlyOren Novotny298-298/+315
2019-08-22More reversions for netcore 2.1Oren Novotny2-23/+3
2019-08-22Fix formattingOren Novotny1-1/+1
2019-08-22Restore original code as it's in netcore 2.1 nowOren Novotny1-1/+1
2019-08-22Restore original method as it's in netcore2.1Oren Novotny1-1/+1
2019-08-22Restore original exception type as it is in netstandard2Oren Novotny1-1/+1
2019-08-22Update depsOren Novotny3-4/+6
2019-08-10Fix circular dependence of staticsPeter Dettman27-39/+51
2019-08-10Add and use IntValueExact propertiesPeter Dettman35-123/+201
2019-08-09Use utility methodPeter Dettman1-1/+1
2019-08-09Add Clone for bool[]Peter Dettman1-30/+21
2019-08-09Loosen test requirements on error messagePeter Dettman1-4/+4
2019-08-09Add non-constant-time variant to ECLookupTablePeter Dettman41-149/+860
2019-08-09ASN.1 updates from bc-javaPeter Dettman5-42/+66
- Integer cannot have empty contents octets - Enumerated values can't be negative
2019-08-09Add IntValueExact and LongValueExact to BigIntegerPeter Dettman1-0/+22
2019-08-07single hit to trueOren Novotny2-10/+3
2019-08-06only collect coverage on .net coreOren Novotny1-2/+9
2019-08-06Use coverlet code coverageOren Novotny5-30/+29
2019-08-06Bump depsOren Novotny1-2/+2
2019-08-06Bump to .NET Core 2.1 as that's the earliest supportedOren Novotny1-4/+4
2019-08-06Remove netstandard1 targets as they broke the build with missing Array.Copy ↵Oren Novotny1-2/+2
overloads.
2019-08-04EdDSA refactoringPeter Dettman4-34/+46
- tighten scalar bounds for wNAF - provide CMov in field classes - fix spelling of Straus
2019-08-04Implement promotion for ECPoint precomputationsPeter Dettman3-7/+128
- a point is promoted after repeated use (e.g. in ECDSA verification) - promoted points are eligible for extra precomp => faster algorithms
2019-08-04Use Arrays.Reverse utility method in several placesPeter Dettman3-35/+8
2019-08-04Use GetInstance instead of castPeter Dettman1-2/+1
2019-08-04Misc. ASN.1 updatesPeter Dettman7-33/+31
2019-08-04Refactoring in PublicKeyFactoryPeter Dettman3-55/+73
- add SubjectPublicKeyInfo.ParsePublicKey and use where applicable - validate GOST3410 public key lengths
2019-08-03Improve caching behaviour for algorithms using endomorphismsPeter Dettman9-19/+187
2019-08-02Use fixed-point comb when multiplying basepointPeter Dettman2-5/+11
2019-08-02Handle x400Address as sequence in GeneralNamePeter Dettman1-14/+17
- add 'default' tag handler (instead of falling out of if-block)
2019-08-02EC wNAF-related updates from bc-javaPeter Dettman11-539/+659
- better control of window size limits - callers take advantage of available larger precomps - provide ConfigureBasepoint to mark points for larger precomp - mark built-in curve basepoints for larger default wNAF width
2019-08-02Add experimental support for GLV Type A endomorphismsPeter Dettman15-111/+398
2019-08-02Provide a constant-time zero testPeter Dettman2-4/+18
2019-08-02Updates to raw math classes from bc-javaPeter Dettman6-42/+148
2019-08-02Refactor Equals/GetHashCode in X509 objectsPeter Dettman3-34/+107
- cache public key in X509Certificate
2019-08-01SHA-256 performance tweakPeter Dettman1-30/+18
2019-08-01Rewrite Asn1Sequence/Set to store elements as Asn1Encodable[]Peter Dettman8-264/+170
2019-08-01Don't create a SecureRandom unnecessarilyPeter Dettman1-4/+20
2019-08-01Refactor ToString()Peter Dettman1-11/+6
2019-08-01PCL fixesPeter Dettman4-6/+7
2019-08-01Inline BuildEncodableVector to shrink recursive call stacksPeter Dettman1-13/+10
2019-08-01Cast to remove warningPeter Dettman1-1/+1
2019-08-01EC updates from bc-javaPeter Dettman24-34/+553
- use half-trace when possible (odd m) for decompression/validation - provide field-specific half-trace methods for custom curves - clarify the logic of point-order testing for binary curves - expand test cases for invalid points
2019-08-01Fix warningsPeter Dettman2-10/+10
2019-08-01Misc. ASN.1 updates from bc-javaPeter Dettman7-104/+232
2019-07-31Rework some of the ImplSquare methods in custom binary curvesPeter Dettman7-25/+22
2019-07-31Accept only properly-sized BigInteger (no auto-reduction)Peter Dettman10-27/+25
2019-07-31Fix CMP tests failing to set bodyPeter Dettman2-4/+12
2019-07-30Work on EC parameters classesPeter Dettman5-43/+42
- make fields private/readonly where possible - add public validation methods to ECDomainParameters - add validation to ECPrivateKeyParameters - ECDomainParameters equality/GetHashCode ignore (optional) cofactor
2019-07-29Adapt test to access restrictionsPeter Dettman1-16/+35
2019-07-29Fix a corner-case for DER set-value sortingPeter Dettman1-15/+22
2019-07-29Add several copy64 methodsPeter Dettman1-0/+17
2019-07-29Make main SMix array 1-dimensionalPeter Dettman1-12/+16
2019-07-29Remove unused importsPeter Dettman1-4/+0
2019-07-29Fix field reduction for custom secp128r1 curvePeter Dettman4-0/+57
- see https://github.com/bcgit/bc-java/issues/566
2019-06-21Rename mainOren Novotny1-1/+1
2019-06-15fixed typoDavid Hook1-1/+1
2019-06-15updateDavid Hook1-4/+4
2019-06-12Update ECPointTest.csKristian Rastrup1-2/+2
Updated to test all points and not just the first
2019-06-04RefactoringPeter Dettman90-1049/+371
2019-06-04Port LinkedCertificate from bc-javaPeter Dettman10-1/+230
2019-06-01Name constraint validation updates from bc-javaPeter Dettman13-206/+1104
2019-06-01Remove extraneous outputPeter Dettman1-1/+1
2019-06-01Support SM2 in SignerUtilitiesPeter Dettman5-109/+240
- including support for non-standard SHA256withSM2
2019-05-28Update warningsOren Novotny2-1/+2
2019-05-28Update depsOren Novotny5-11/+13
2019-05-23Update Arrays.csKristian Rastrup1-1/+1
Changed to string since char in StringBuilder constructor gets converted into int for capacity
2019-05-14Default saltLength to 20Peter Dettman1-2/+1
2019-05-14Increase zlib default buffer sizePeter Dettman2-2/+2
2019-05-14Refactor to not need pending_buf_sizePeter Dettman1-7/+1
2019-05-13Update DHValidationParms.csKristian Rastrup1-1/+1
Correcting type check in DHValidationParms
2019-05-13Update PssSigner.csKristian Rastrup1-1/+1
Passing through parameter in constructor of PssSigner
2019-05-10Cleanup around OfferInput methodsPeter Dettman2-11/+16
2019-05-10Update KDF test project files and .NET 1.1 compat.Peter Dettman9-341/+311
2019-05-09Update TlsProtocol.csdeniszykov1-1/+6
added `TlsProtocol.OfferInput()` overload which specify _offset_ and _length_ of input buffer like in java source https://www.bouncycastle.org/docs/tlsdocs1.5on/org/bouncycastle/tls/TlsProtocol.html
2019-05-07KDF Related tests.mw6-2/+3417
2019-05-06Add .rsp as text in .gitattributesPeter Dettman1-0/+1
2019-05-06.NET 1.1 fixes for KDF changesPeter Dettman1-1/+0
2019-05-06Fix errors and names in KDF changesPeter Dettman6-42/+35
2019-05-06Update project files for recent KDF additionsPeter Dettman6-3/+94
2019-05-06TLS: Clone in GetPsk since TlsPskKeyExchange will clear after usePeter Dettman8-5/+105
- use not-all-zeroes test psk to ensure coverage
2019-05-01Additional KDF operations and tests.mw14-0/+189102
2019-04-30EdDSA verifiers now reject overly long signaturesPeter Dettman8-23/+85
- see https://github.com/bcgit/bc-java/issues/508
2019-03-26Update PkixBuilderParameters.csKristian Rastrup1-1/+1
Due to hidden member a this. has been forgotten
2019-03-26Update CMSSignedHelper.csKristian Rastrup1-1/+1
Change to Id Field for TeleTrusTObjectIdentifiers.TeleTrusTRsaSignatureAlgorithm
2019-03-26Update PkixCertPath.csKristian Rastrup1-1/+1
The Equals method compares to the wrong list
2019-03-09DTLS: Guard against epoch wrappingPeter Dettman1-3/+8
2019-03-09Update comment in line with Java versionPeter Dettman1-6/+6
2019-03-09Don't ignore indexPeter Dettman1-1/+1
2019-02-07Fix invalid cast in test pcl-v1.8.5Oren Novotny1-1/+1
2019-02-07Prep 1.8.5Oren Novotny2-4/+4
2019-02-07Fix merge bugOren Novotny1-1/+0
2019-02-07Fix setting of buffer positionPeter Dettman1-1/+1
2019-02-05fixed ECGOST co-factors for 2012 setsDavid Hook2-4/+6
2019-02-04updateDavid Hook1-0/+5
2019-01-31Update versions and release notes for 1.8.5 release-1.8.5Peter Dettman4-7/+7
2019-01-31Fixes and tidying up for releasePeter Dettman78-1750/+1758
2019-01-25Remove old nunit artifactOren Novotny1-1/+0
2019-01-24removed unnecessary extra ECGOST3410 classDavid Hook2-154/+14