basic_utils
Common util classes for Strings, Dates, X509, PKCS, Cryptographie and more.
5.8.2
227K downloads/mo
#806 most downloaded on pub.dev
Ephenodrom/Dart-Basic-Utils
What this package is like to depend on
Last release 1 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 126 of 129 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
139 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
139 releases · Feb 2019 to Feb 2025Releases
latest 60 of 139-
5.8.223 Feb 2025 -
5.8.121 Feb 2025 -
5.8.021 Feb 2025Release notes
Open source →- Improve pkcs12_utils to be more align with the RFC according empty passwords
- Added DER Bytes encoding as alternative to PEM (PR #116)
- Basic Constraints extension (PR #107)
- Add optional ECDomainParameters to ec key from bytes method (PR #95)
- Remove dart.io imports to be compatible with web
BREAKING CHANGES**
- StringUtils->isIP changed type of ipType to String, see code doc.
-
5.7.024 Oct 2023Release notes
Open source →- ECDSA Keypair SEC1 to Pkcs8 converting (PR #101)
- Added a new param for the "Not Before" flag of self signed x.509 certificates (PR #105)
-
5.6.116 Jul 2023 -
5.6.006 Jun 2023 -
5.5.414 Apr 2023 -
5.5.323 Mar 2023 -
5.5.220 Mar 2023Release notes
Open source →- Remove ported classes from package to be compatible with the latest release of pointycastle
-
5.5.121 Feb 2023Release notes
Open source →- Improved X509Utils, X509 parsing and generation supports now KeyUsage extensions. (PR #81)
-
5.5.014 Feb 2023 -
5.4.208 Nov 2022 -
5.4.104 Nov 2022Release notes
Open source →- Improved X509CertificateData. Field signature is now nullable to be backwards compatible.
-
5.4.013 Oct 2022Release notes
Open source →- Improved MathUtils added median(), logBase(), log2(), log10() method (PR #78, #79)
- Added unit tests
-
5.3.015 Sep 2022 -
5.2.206 Sep 2022Release notes
Open source →- Improved X509CertificateData. Field tbsCertificate is now nullable to be backwards compatible.
- Update dependencies
-
5.2.105 Sep 2022Release notes
Open source →- Improved ASN1Utils, improved complexDump()
- Improved StringUtils, added toPascalCase()
- Added unit tests
-
5.2.030 Aug 2022Release notes
Open source →- Improved ASN1Utils, added complexDump() method
- Added new models ASN1DumpWrapper, ASN1DumpLine and ASN1ObjectType
- Added unit tests
-
5.1.225 Aug 2022Release notes
Open source →- Improved X509Utils, parsing distinguised names from ASN1 Sequence now supports multi value DN. This improves the parsing of CSR and X509 PEMs.
-
5.1.122 Aug 2022 -
5.1.022 Aug 2022Release notes
Open source →- Improved X509Utils, added checkChain() method
- Improved X509Utils, added fixPem() method
- Added new unit tests
- Added new models CertificateChainCheckData and CertificateChainPairCheckResult
-
5.0.017 Aug 2022Release notes
Open source →IMPORTANT This version includes some important changes. Read the log carefully. All functions are currently backwards compatible and will also fill the deprecated fields. But this may change in the future!
- Improved model X509CertificateData to match the structure described at RFC 2459
- Improved model CertificateSigningRequestData to match the structure described at RFC 2986
- Improved model X509CertificateData marked fields as deprecated
- Improved model CertificateSigningRequestData marked fields as deprecated
- Added new model TbsCertificate
- Added new model CertificationRequestInfo
- Improved X509Utils, added new method checkX509Signature()
-
4.5.204 Aug 2022Release notes
Open source →- Improved CryptopUtils, fixed a bug in encodeEcPrivateKeyToPem() that encoded the EC point Q wrong
-
4.5.103 Aug 2022Release notes
Open source →- Improved IterableUtils, added swap() and permutate() methods
- Added new unit tests
- Improved CryptoUtils addd i2osp() and osp2i() methods
-
4.5.001 Aug 2022Release notes
Open source →- Improved X509Utils, generateSelfSignedCertificate() accepts custom issuer
-
4.4.327 Jul 2022 -
4.4.225 Jul 2022Release notes
Open source →- Improved CryptoUtils, added ecSignatureFromDerBytes()
- Improved X509Utils, added checkCsrSignature()
- Added new field infoData to CertificateSigningRequestData model
-
4.4.120 Jul 2022Release notes
Open source →- Fixed static value of X509Utils.BEGIN_EC_PUBLIC_KEY
- Fixed static value of X509Utils.END_EC_PUBLIC_KEY
-
4.4.019 Jul 2022Release notes
Open source →- Improved X509Utils, added crlDerToPem()
- Improved X509Utils, added crlDataFromPem()
- Improved X509Utils to support constructed subject alternative names (#73)
- Improved X509CertificateDataExtensions model, added new field cRLDistributionPoints
- Improved X509Utils, certificate parsing now supports cRLDistributionPoints extension
- Update dependencies
- Fixed linter errors
-
4.3.005 Jul 2022Release notes
Open source →- Improved IterableUtils (PR #68 #69)
- Improved HttpsUtils (PR #71)
- Improved CryptoUtils, added new methods ecSignatureToBase64(), ecSignatureFromBase64()
- Improved CryptoUtils (PR #72)
-
4.2.213 May 2022 -
4.2.122 Apr 2022Release notes
Open source →- Improved X509Utils, added parseChainString()
- Improved X509Utils, added parseChainStringAsString()
-
4.2.010 Feb 2022Release notes
Open source →- Added BooleanUtils (PR #65)
- Updated minimum SDK version to 2.15 (PR #66)
-
4.1.008 Feb 2022Release notes
Open source →- Improved model SubjectPublicKeyInfo, added new exponent field
- Improved model X509CertificatePublicKeyData, added new fields
- Improved X509Utils, parsing of CSR data
- Improved X509Utils, generateSelfSignedCertificate should now handle not ascii characters
- Improved X509Utils, x509CertificateFromPem() will fetch more information about the public key used
- Update dependencies
-
4.0.124 Jan 2022 -
4.0.021 Jan 2022 -
3.9.421 Dec 2021 -
3.9.313 Dec 2021 -
3.9.212 Dec 2021Release notes
Open source →- Improved X509Utils, generateSelfSignedCertificate() supports ECC keys
- Improved X509Utils, csrFromPem now fetches the SANs within the given CSR
- Added new unit tests
- Added model CertificateSigningRequestExtensions
-
3.9.126 Nov 2021 -
3.9.017 Nov 2021Release notes
Open source →- Added support for VMC certificates
- Added model X509CertificateDataExtensions
- Added model VmcData
- Marked X509CertificateData.subjectAlternativNames as deprecated
- Marked X509CertificateData.extKeyUsage as deprecated
- Added BIMI as value to ExtendedKeyUsage enum
-
3.8.210 Nov 2021Release notes
Open source →- Improved X509Utils, fixed public key length calculation while parsing a CSR
- Updated minimum Dart SDK constraint to 2.14.0
-
3.8.103 Nov 2021 -
3.8.002 Nov 2021Release notes
Open source →- Improved X509Utils add new method generateSelfSignedCertificate()
- Improved X509Utils, x509CertificateFromPem() now parses the extKeyUsage extension
- Improved X509CertificateData model, added new field extKeyUsage
- Added new model ExtendedKeyUsage
-
3.7.013 Oct 2021Release notes
Open source →- Improved X509Utils add new method pemToPkcs7()
- Added new unit tests
- Improved X509Utils, added optional parameter to the encodeASN1ObjectToPem() method, changed line seperator to "\n" instead of "\r\n"
-
3.6.128 Sep 2021Release notes
Open source →- Improved X509Utils and handling of IPv6 SANs (PR #51)
- Added new unit tests (PR #51)
-
3.6.010 Sep 2021Release notes
Open source →- Improved X509Utils added getModulusFromRSAX509Pem() method
- Improved X509Utils added getModulusFromRSACsrPem() method
- Improved CryptoUtils added getModulusFromRSAPrivateKeyPem() method
- Improved CryptoUtils added rsaPrivateKeyExponentToBytes() method
- Added new unit tests
-
3.5.027 Aug 2021Release notes
Open source →- Improved X509Utils added buildOCSPRequest() method
- Improved X509Utils added getOCSPUrl() method
- Improved X509Utils added parseOCSPResponse() method
- Added new unit tests
- Added new OCSP models
- Improved X509Utils added new optional parameter (san, signingAlgorithm) to generateRsaCsrPem() method
- Improved X509Utils added new optional parameter to generateEccCsrPem() method
- Improved X509Utils added new optional parameter to ecPrivateKeyFromDerBytes() method
- Updated dependencies
-
3.4.030 Jul 2021 -
3.3.304 Jul 2021 -
3.3.228 Jun 2021 -
3.3.128 Jun 2021 -
3.3.028 Jun 2021 -
3.2.024 Jun 2021Release notes
Open source →- Improved X509Utils added pkcs7fromPem() method
- Added unit tests
- Update dependencies
-
3.1.017 May 2021 -
3.0.213 Apr 2021Nothing published for this version
-
3.0.109 Apr 2021Nothing published for this version
-
3.0.008 Apr 2021Nothing published for this version
-
3.0.0-nullsafety.325 Mar 2021 pre-releaseNothing published for this version
-
3.0.0-nullsafety.224 Mar 2021 pre-releaseNothing published for this version