Skip to content

Commit

Permalink
kotlinx.io for ASN.1 decoding (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud authored Oct 29, 2024
1 parent 7228ba3 commit 1f5fedf
Show file tree
Hide file tree
Showing 19 changed files with 986 additions and 485 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

### 3.10.0 NEXT (Supreme 0.5.0 NEXT)

The public API remains unchanged, except for some methods migrating from a ByteIterator to kotlinx-io Source
and some newly added. The internals have changed substantially, however.
Be sure to match Signum versions if multiple libraries pull it in as transitive dependency.
Better safe than sorry!

* KmmResult 1.9.0
* Introduce generic tag assertion to `Asn1Element`
* Change CSR to take an actual `CryptoSignature` instead of a ByteArray
* Introduce shorthand to create CSR from TbsCSR
Expand All @@ -13,6 +19,11 @@
* Base OIDs on BigInteger instead of UInt
* Directly support UUID-based OID creation
* Implement hash-to-curve and hash-to-scalar as per RFC9380
* Use kotlinx-io as primary source for parsing
* Base number encoding/decoding on koltinx-io
* Remove parsing from iterator
* Base ASN.1 encoding and decoding on kotlinx-io
* Remove single element decoding from Iterator

### 3.9.0 (Supreme 0.4.0)

Expand Down Expand Up @@ -300,7 +311,7 @@ the Tag class just cannot be directly accessed from Swift and ObjC any more.
* Proper BIT STRING
* BitSet (100% Kotlin BitSet implementation)
* Recursively parsing (and encapsulating) ASN.1 structures in OCTET Strings
* Initial pretty-printing of ASN.1 Structures
* Initial pretty-printing of ASN.1 Strucutres
* Massive ASN.1 builder DSL streamlining
* More convenient explicit tagging

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jose = "9.31"
kotlinpoet = "1.16.0"
runner = "1.5.2"
kotest-plugin = "20240918.002009-71"
kmmresult = "1.8.0"
kmmresult = "1.9.0"

[libraries]
bignum = { group = "com.ionspin.kotlin", name = "bignum", version.ref = "bignum" }
Expand Down
Loading

0 comments on commit 1f5fedf

Please sign in to comment.