summary refs log tree commit diff
path: root/crypto/src/asn1 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adjust new tag namePeter Dettman2023-03-052-2/+2
|
* Add TODOPeter Dettman2023-03-051-0/+1
|
* Improve Asn1 encodingPeter Dettman2023-03-052-29/+39
| | | | - reduced allocations for GetEncoded
* Support 'leaveOpen' in Asn1 streamsPeter Dettman2023-03-056-26/+100
|
* Refactor Asn1Set classesPeter Dettman2023-03-045-64/+72
|
* Add GetLengthOfEncodingILPeter Dettman2023-03-022-3/+6
|
* Refactoring around ASN.1 DL encodingsPeter Dettman2023-02-287-15/+22
|
* Asn1InputStream refactoringPeter Dettman2023-02-281-4/+7
|
* Update Asn1TagsPeter Dettman2023-02-282-2/+18
|
* FIx TODOs in Asn1InputStreamPeter Dettman2023-02-271-8/+17
|
* Use string.Create when availablePeter Dettman2023-02-272-44/+107
|
* Extra constructorPeter Dettman2023-02-241-0/+5
|
* ASN.1: "Alternative algorithm" types and extension OIDsPeter Dettman2023-02-185-11/+247
|
* Refactoring around Asn1EncodableVectorPeter Dettman2023-02-1744-79/+55
|
* ParameterUtilities support for CCM, GCM parametersPeter Dettman2023-02-162-0/+132
| | | | - see https://github.com/bcgit/bc-csharp/issues/354
* Improve DerObjectIdentifier cachePeter Dettman2023-02-141-10/+18
| | | | - see https://github.com/bcgit/bc-csharp/pull/416
* Misc. refactoringPeter Dettman2023-02-071-14/+13
|
* Improve CmpCertificate.GetInstancePeter Dettman2023-02-071-1/+17
|
* Obsolete/rename propertyPeter Dettman2023-02-071-1/+5
|
* Refactor PopoPrivKeyPeter Dettman2023-02-071-5/+14
|
* Refactor DistributionPointNamePeter Dettman2023-02-071-2/+2
|
* Overhaul GeneralNamePeter Dettman2023-02-071-187/+177
|
* Null checkPeter Dettman2023-02-071-0/+2
|
* Add direct PKMacValue constructorPeter Dettman2023-02-071-0/+6
|
* CHOICE cannot be implicitly taggedPeter Dettman2023-02-072-1/+3
|
* Use .NET style for Try methodsPeter Dettman2023-02-061-0/+175
| | | | - Osbolete existing Try methods
* New tagged object methods and refactoringPeter Dettman2023-02-067-69/+192
|
* Misc. refactoring after bc-fips-csharp updatesPeter Dettman2023-02-042-21/+18
|
* Overhaul Asn1.CmpPeter Dettman2023-02-0142-527/+507
|
* Add GetInstanceFromChoice helperPeter Dettman2023-02-011-0/+19
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-305-180/+111
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-283-27/+17
|
* MIsc. cleanupPeter Dettman2023-01-272-6/+6
|
* Misc. cleanup after bc-fips-csharp updatesPeter Dettman2023-01-2718-144/+66
|
* Add CrlID.GetInstance methods, obsolete public constructorPeter Dettman2023-01-271-2/+18
|
* Add CmsAlgorithmProtection and related constantsPeter Dettman2023-01-273-0/+112
|
* Add Asn1.Pkcs.CrlBagPeter Dettman2023-01-242-19/+55
|
* Mark registered brainpool curves internalPeter Dettman2023-01-241-14/+14
|
* Refactoring in Asn1Peter Dettman2023-01-1730-742/+559
|
* Asn1Generator implements IDisposablePeter Dettman2022-11-096-143/+146
| | | | - now expects BerOctetStringGenerator to be disposed, not just its octets stream
* CleanupPeter Dettman2022-11-091-13/+8
|
* Overhaul GeneralizedTime classesPeter Dettman2022-11-086-322/+147
|
* Overhaul UTCTime classesPeter Dettman2022-11-075-273/+288
|
* CMS support for OtherRevocationInfoFormatPeter Dettman2022-11-061-5/+3
| | | | - see https://github.com/bcgit/bc-csharp/pull/328
* Asn1 GetInstance refactoringPeter Dettman2022-11-0624-248/+289
|
* Update KeyPurposeID from bc-javaPeter Dettman2022-11-061-16/+74
| | | | | - obsolete old-style names - add Kerberos entries (see https://github.com/bcgit/bc-csharp/pull/256)
* Merge branch 'Optimize-structures' of github.com:harrison314/bc-csharpPeter Dettman2022-11-052-10/+6
|\
| * Optimize constructors for Org.BouncyCastle.Asn1.X509.Time and ↵Jozef Gajdos2022-08-022-10/+6
| | | | | | | | Org.BouncyCastle.Asn1.Cms.Time.
* | Port OpenPGP support for XDH, EdDSA from bc-javaPeter Dettman2022-11-051-0/+11
| | | | | | | | - see https://github.com/bcgit/bc-csharp/issues/345
* | Clenaup warningsPeter Dettman2022-11-035-11/+13
| |
* | More Span-based Stream methodsPeter Dettman2022-11-015-6/+158
| |
* | Cleanup CMS compressed dataPeter Dettman2022-10-282-6/+8
| |
* | Add Asn1UtcTime and usePeter Dettman2022-10-2512-328/+338
| |
* | Fixed pqc/utilsroyb2022-10-241-9/+9
| |
* | Merge remote-tracking branch 'origin/master'royb2022-10-2426-447/+562
|\ \
| * | Add Asn1GeneralizedTime and usePeter Dettman2022-10-2526-447/+562
| | |
* | | Added Aes and Uniform variant to Saberroyb2022-10-241-1/+10
|/ /
* | Initial import of HQCPeter Dettman2022-10-201-0/+9
| |
* | Compare byte arrays using SequenceCompareToPeter Dettman2022-10-171-0/+5
| |
* | general cleanups - naming, importsDavid Hook2022-10-121-3/+12
| |
* | Span usage in Asn1RelativeOidPeter Dettman2022-10-081-0/+18
| |
* | Use generics in EnumsPeter Dettman2022-10-051-8/+1
| |
* | Fix warningsPeter Dettman2022-10-043-5/+5
| |
* | ECPrivateKeyStructure refactoringPeter Dettman2022-10-041-30/+20
| |
* | Add variant of AddOptionalTaggedPeter Dettman2022-10-041-0/+8
| |
* | Update CryptoProObjectIdentifiersPeter Dettman2022-10-041-1/+7
| |
* | Added ASN.1 key encoding/decoding for Kyber, Dilithium, and Falcon.royb2022-09-291-0/+33
| |
* | MiscObjectIdentifier updates from bc-javaPeter Dettman2022-09-281-5/+27
| |
* | Port of Asn1.Cmp tests from bc-javaPeter Dettman2022-09-203-83/+107
| |
* | Update Asn1.Cmp from bc-javaPeter Dettman2022-09-2044-1253/+2051
| |
* | Add MapElements methodsPeter Dettman2022-09-142-16/+26
| |
* | Stream modernizationPeter Dettman2022-09-033-23/+78
| |
* | GeneralizedTime improvementsPeter Dettman2022-08-111-23/+71
|/
* Use intrinsics in several placesPeter Dettman2022-07-191-1/+1
|
* Cleanup doc warningsPeter Dettman2022-07-122-8/+8
|
* added Oracle PKCS12 trusted certificate usage oidDavid Hook2022-07-101-0/+2
|
* Overloads for params methodsPeter Dettman2022-07-055-8/+81
|
* SIKE implementation with compression addedRoy Basmacier2022-07-011-0/+13
| | | | Implemented SecretWIhEcapsulationImpl.cs
* Fix static readonly collectionsPeter Dettman2022-07-011-89/+97
|
* Refactoring around MemoryStreamPeter Dettman2022-06-301-1/+1
|
* Null tmpBuffers when disposingPeter Dettman2022-06-301-1/+8
|
* Some PORTABLE cleanupPeter Dettman2022-06-303-16/+2
|
* Add Objects classPeter Dettman2022-06-291-6/+6
|
* Cleanup NewLine handlingPeter Dettman2022-06-297-84/+43
|
* Refactoring around PlatformPeter Dettman2022-06-292-7/+3
|
* Refactor Asn1DumpPeter Dettman2022-06-291-101/+102
|
* Generics migration in CmsPeter Dettman2022-06-281-4/+16
|
* Generics migration in Asn1Peter Dettman2022-06-2757-734/+491
|
* Generics migration in PkixPeter Dettman2022-06-271-20/+11
|
* Generics migration workPeter Dettman2022-06-2711-147/+106
|
* Implement generic IEnumerable in ASN.1 classesPeter Dettman2022-06-268-119/+49
|
* RefactoringPeter Dettman2022-06-252-62/+42
|
* Replace Dump program with static utility methodPeter Dettman2022-06-242-30/+11
|
* Update EC curve registry classesPeter Dettman2022-06-248-564/+412
|
* Cleanup Exception classesPeter Dettman2022-06-242-16/+18
|
* Use generics instead of dynamic checksPeter Dettman2022-06-248-54/+22
|
* Some modern syntax updatesPeter Dettman2022-06-243-19/+16
|
* Initial merge of PQC portroyb2022-06-232-0/+48
|
* New build organizationPeter Dettman2022-06-231-13/+1
| | | | - TargetFrameworks netstandard2.0;net40
* Warnings cleanupPeter Dettman2022-06-222-4/+4
|
* Code cleanupPeter Dettman2022-06-226-14/+14
|
* Add utility methodsPeter Dettman2022-06-221-0/+24
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-2212-109/+66
|
* Cleanup old build systemsPeter Dettman2022-06-217-10/+9
|
* Remove ApplicationSpecific classesPeter Dettman2022-06-2110-452/+3
|
* Remove per-ECPoint compressionPeter Dettman2022-06-212-27/+3
|
* ObsoleteAttribute cleanupPeter Dettman2022-06-2142-836/+32
|
* Fix PORTABLE buildPeter Dettman2022-06-161-19/+17
|
* Work on Stream classesPeter Dettman2022-05-233-31/+36
| | | | | | | - consistent naming, ordering - CanRead/Seek/Write fixes - argument validation - some cases of blocking zero-byte Read calls
* added RSA/EC checksDavid Hook2022-03-235-33/+33
|
* Minor optimizationPeter Dettman2022-02-081-6/+6
|
* Improve curve registry lazinessPeter Dettman2022-02-039-485/+1154
|
* Remove Obsolete methodsPeter Dettman2022-02-031-33/+14
|
* added additional OIDs in line with draft-uni-qsckeys-00.txtPeter Dettman2022-01-131-0/+21
|
* Add BitString parsersPeter Dettman2021-11-229-60/+396
|
* Perf. opts.Peter Dettman2021-11-221-2/+2
|
* Use Meta for checked castsPeter Dettman2021-11-221-4/+2
|
* RenamingPeter Dettman2021-11-211-24/+23
|
* Fix return valuesPeter Dettman2021-11-211-2/+5
|
* ASN.1 perf. optsPeter Dettman2021-11-214-148/+69
|
* ASN.1: Tagged object parser improvementsPeter Dettman2021-11-2011-212/+381
| | | | | - add DLTaggedObjectParser - refactoring of Asn1InputStream/Asn1StreamParser
* ASN:1 tagged object parser updates from bc-javaPeter Dettman2021-11-1810-47/+329
|
* ASN.1: Port of bc-java TYPE instancesPeter Dettman2021-11-1834-926/+1622
| | | | | - we use Meta.Instance here due to syntax restrictions - also reworked some ASN.1 string types
* ASN.1: Staged encodingPeter Dettman2021-11-1650-1060/+535
|
* Make cast more specificPeter Dettman2021-11-121-1/+1
|
* Reimplement application-specific over tagged objectPeter Dettman2021-11-128-356/+506
|
* Add new Equals methodPeter Dettman2021-11-124-3/+8
|
* Refactor tagged object parsingPeter Dettman2021-11-113-38/+40
|
* Trim stack tracePeter Dettman2021-11-112-4/+8
|
* RefactoringPeter Dettman2021-11-111-15/+10
|
* Remove now-redundant workaroundPeter Dettman2021-11-111-15/+0
|
* Minor fixes for DLTaggedObjectPeter Dettman2021-11-111-2/+2
|
* Improved parsing of tagged objectsPeter Dettman2021-11-114-192/+196
|
* Add DLTaggedObject and use from parserPeter Dettman2021-11-112-3/+113
|
* ASN.1: Update encoding in line with bc-javaPeter Dettman2021-11-1143-370/+567
|
* Handle high tag numbersPeter Dettman2021-11-101-13/+21
|
* Add DLSequence, DLSet for internal usePeter Dettman2021-11-0916-146/+370
| | | | - improve sorting of sets
* Fix DER encoding of lazy objectsPeter Dettman2021-11-092-8/+24
|
* Fix deprecated callPeter Dettman2021-11-091-1/+1
|
* RefactoringPeter Dettman2021-11-092-8/+8
|
* ASN.1: Add support for relative OIDsPeter Dettman2021-11-084-160/+373
|
* Lazy ASN.1 enumeration and refactoringPeter Dettman2021-11-087-234/+298
|
* ASN.1 refactoringPeter Dettman2021-11-089-130/+123
|
* More tagged object work from bc-javaPeter Dettman2021-11-084-46/+248
|
* Change return type of GetExplicitBaseObjectPeter Dettman2021-11-082-3/+3
|
* Utility methods and guardsPeter Dettman2021-11-086-7/+95
|
* Remove unnecessary static referencesPeter Dettman2021-11-071-2/+2
|
* Add EncodeConstructed methodPeter Dettman2021-11-0730-19/+164
|
* Rewrite DerExternalPeter Dettman2021-11-065-135/+234
|
* Trim the stack tracePeter Dettman2021-11-061-2/+2
|
* Add TagClass property to Asn1TaggedObjectPeter Dettman2021-11-064-6/+10
|
* Add Asn1Utilities classPeter Dettman2021-11-061-0/+28
|
* Refactor GetStringPeter Dettman2021-11-061-6/+7
|
* Support parsing of Asn1ObjectDescriptorPeter Dettman2021-11-061-0/+2
|
* Add Asn1ObjectDescriptorPeter Dettman2021-11-061-0/+108
|
* DerGraphicString refactoringPeter Dettman2021-11-062-21/+26
| | | | - avoid extra copy of parsed contents
* ASN.1 tagged objectsPeter Dettman2021-11-064-96/+61
| | | | | - guard against null base objects - Obsolete IsEmpty
* BiString updates from bc-javaPeter Dettman2021-10-164-125/+358
|
* Preserve laziness in substreamsPeter Dettman2021-10-152-26/+40
|
* Use primitive encoding for short octet stringsPeter Dettman2021-10-152-50/+92
|
* Merge checksPeter Dettman2021-10-151-8/+8
|
* Refactor ASN.1 parsersPeter Dettman2021-10-155-68/+89
|
* Replace Obsolete tagPeter Dettman2021-10-154-7/+7
|
* RefactoringPeter Dettman2021-10-152-101/+87
|
* Update tag constantsPeter Dettman2021-10-151-1/+14
|
* Improve ASN.1 substream handlingPeter Dettman2021-10-152-77/+83
|
* ASN1InputStream updates from bc-javaPeter Dettman2021-10-151-33/+46
| | | | | - improve tag validation - improve handling of long form definite-length
* SEQUENCE/SET can't contain java null valuesPeter Dettman2021-10-141-73/+37
|
* Initial pass at EncodedLength methodsPeter Dettman2021-10-1433-14/+258
|
* Add withID to Encode methodPeter Dettman2021-10-1437-232/+243
| | | | - refactor Asn1OutputStream utility methods
* Fix and Obsolete BerNullPeter Dettman2021-10-141-13/+3
|
* More ASN.1 updates from bc-javaPeter Dettman2021-10-146-132/+126
|
* Add WriteElements methodPeter Dettman2021-10-145-20/+12
|
* Null check and reformattingPeter Dettman2021-10-142-105/+109
|
* Some Obsolete cleanupPeter Dettman2021-10-144-12/+4
|
* Add Asn1Encodable.EncodeTo methodsPeter Dettman2021-10-148-48/+55
|
* Obsolete DerOutputStreamPeter Dettman2021-10-1441-142/+177
|
* Obsolete BerOutputStreamPeter Dettman2021-10-1410-19/+33
|
* ASN.1 Obsolete cleanupPeter Dettman2021-10-145-90/+14
|
* ASN.1 opts.Peter Dettman2021-10-146-7/+7
|
* Improve ASN.1 set special handlingPeter Dettman2021-10-131-23/+27
|
* DER sequence/set encoding opts.Peter Dettman2021-10-132-28/+56
|
* OID improvementsPeter Dettman2021-10-122-20/+24
|
* completed copy constructor in SignerInformation, fixed mutable issue for SET ↵David Hook2021-10-081-3/+5
| | | | in ASN1Encodable
* added explicit sorting of DER encoded SETDavid Hook2021-10-072-18/+5
|
* corrected DER encoding of SETDavid Hook2021-10-071-0/+18
|
* format changes only - relates to github #68David Hook2021-10-041-1/+1
|
* Issue #1mw2021-09-011-75/+120
| | | | | | Added logic to handle duplicate extensions. New method on Pkcs10CertificationRequest for extracting X509Extensions Tests
* Hold boolean instead of the parserPeter Dettman2021-07-211-4/+5
|
* Followup OAEP changesPeter Dettman2021-07-211-2/+2
|
* ASN.1 updates from bc-javaPeter Dettman2021-07-087-58/+82
|
* Overload AddObject for Asn1ObjectPeter Dettman2021-06-094-6/+26
|
* Add support for ARIAPeter Dettman2021-05-241-0/+59
|
* github #222 addressed OAEP parameter setting, refactored ↵David Hook2021-05-241-3/+8
| | | | KeyTransRecipientInfoGenerator to allow deprecation of sub class
* New HasValue methodsPeter Dettman2021-02-0813-20/+34
|
* Env. var. to enforce correct X.509 cert encodingPeter Dettman2021-02-081-2/+40
| | | | - Org.BouncyCastle.X509.Allow_Non-DER_TBSCert
* Support V1 attribute certificates and holdersPeter Dettman2021-02-082-18/+36
|
* Implement TODO checksPeter Dettman2021-02-081-3/+7
|
* Implement TODO checksPeter Dettman2021-02-081-6/+17
|
* Cleanup after recent changesPeter Dettman2020-10-302-34/+16
|
* Added KMAC Params and testmw2020-10-292-0/+223
|
* Finished NewTspTestsmw2020-10-271-1/+12
|
* Misc. updates from bc-javaPeter Dettman2020-07-301-0/+5
|
* Misc. updates from bc-javaPeter Dettman2020-07-302-2/+6
|
* Remove unused codePeter Dettman2020-07-181-1/+0
|
* Straighten out ECGOST3410NamedCurvesPeter Dettman2020-07-172-18/+19
| | | | - deprecate/replace methods returning ECDomainParameters
* Rewrite enumeration of BEROctetStringPeter Dettman2020-07-071-19/+50
|
* Update Asn1OctetString.GetInstance from bc-javaPeter Dettman2020-06-251-13/+34
|
* github #237 - gost 2012 parsingDavid Hook2020-04-251-0/+5
|
* initial support for non-default PRF with PBKDF2David Hook2020-04-181-0/+2
|
* Add OtherName support and refactoringPeter Dettman2020-04-051-0/+71
|
* Update ASN.1 GetInstance methodsPeter Dettman2020-02-217-109/+49
|
* Misc. updates from bc-javaPeter Dettman2020-02-202-4/+16
|
* ASN.1 updates from bc-javaPeter Dettman2020-02-1911-143/+261
|
* ASN.1 updates from bc-javaPeter Dettman2020-02-1314-217/+298
|
* Mark some constructors obsolete (per bc-java)Peter Dettman2020-02-122-2/+10
|
* Add ChaCha ciphers to factory classesPeter Dettman2019-09-101-0/+11
|
* Port of strict hex decoding from bc-javaPeter Dettman2019-09-098-194/+202
|
* Add and use IntValueExact propertiesPeter Dettman2019-08-1020-101/+179
|
* ASN.1 updates from bc-javaPeter Dettman2019-08-094-37/+50
| | | | | - Integer cannot have empty contents octets - Enumerated values can't be negative
* Use GetInstance instead of castPeter Dettman2019-08-041-2/+1
|
* Misc. ASN.1 updatesPeter Dettman2019-08-046-21/+23
|
* Refactoring in PublicKeyFactoryPeter Dettman2019-08-041-0/+13
| | | | | - add SubjectPublicKeyInfo.ParsePublicKey and use where applicable - validate GOST3410 public key lengths
* Handle x400Address as sequence in GeneralNamePeter Dettman2019-08-021-14/+17
| | | | - add 'default' tag handler (instead of falling out of if-block)
* EC wNAF-related updates from bc-javaPeter Dettman2019-08-026-390/+413
| | | | | | | - 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
* Add experimental support for GLV Type A endomorphismsPeter Dettman2019-08-021-36/+40
|
* Rewrite Asn1Sequence/Set to store elements as Asn1Encodable[]Peter Dettman2019-08-018-264/+170
|
* PCL fixesPeter Dettman2019-08-011-2/+2
|
* Inline BuildEncodableVector to shrink recursive call stacksPeter Dettman2019-08-011-13/+10
|
* Misc. ASN.1 updates from bc-javaPeter Dettman2019-08-015-103/+217
|
* Fix a corner-case for DER set-value sortingPeter Dettman2019-07-291-15/+22
|
* RefactoringPeter Dettman2019-06-0490-1049/+371
|
* Port LinkedCertificate from bc-javaPeter Dettman2019-06-043-1/+118
|
* Name constraint validation updates from bc-javaPeter Dettman2019-06-013-0/+378
|
* Update DHValidationParms.csKristian Rastrup2019-05-131-1/+1
| | | Correcting type check in DHValidationParms
* fixed ECGOST co-factors for 2012 setsDavid Hook2019-02-051-4/+4
|
* Fixes and tidying up for releasePeter Dettman2019-01-315-17/+13
|
* added use of IKeyWrapper for managing CMS KeyTransRecipientDavid Hook2019-01-181-1/+1
|
* Missing file from last commit.MW2019-01-181-1/+2
|
* CMS ArchiveControlMW2019-01-171-0/+2
|
* Updated C# doc.Megan Woods2019-01-151-0/+1
| | | | Removed EJBCA EnrollmentTest as it s not viable to produce an example on .Net Framework 2.0
* updateDavid Hook2019-01-152-143/+0
|
* refactor of PKMacBuilderDavid Hook2019-01-152-156/+0
|
* moved ASN.1 class backDavid Hook2019-01-151-0/+55
|
* Updated locations added initial example for EJBCAMegan Woods2019-01-141-174/+0
|
* packaging fixDavid Hook2019-01-1411-860/+0
|
* Nist algs and ProtectedMessageTestsMegan Woods2019-01-141-1/+30
|
* Initial CMPMegan Woods2019-01-1417-0/+1285
|
* Added ECGOST3410_2012SignerMegan Woods2019-01-141-26/+26
| | | | Updated encoding of SubjectPublicKeyInfo and PrivateKeyInfo
* Fix some commentsPeter Dettman2018-12-031-2/+2
|