Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Kotlin 2.0 * Gradle 8.8 * Bouncy Castle 1.78.1 * Kotest 5.9.1 * Coroutines 1.8.1 * Serialization 1.7.1-SNAPSHOT * KmmResult 1.6.1 **Fixes** * Move `curve` from `CryptoAlgorithm` to `JwsAlgorithm` * Don't assume curve information for the X.509 signature when, in fact, none exists * `CryptoSignature`s in X.509 are now indefinite length **Changes** * Always DID-encode keys in compressed form (but keep decoding support) * Rename `CryptoAlgorithm` to `X509SignatureAlgorithm` to better describe what it is * Rename `toCryptoAlgorithm` to `toX509SignatureAlgorithm` accordingly * Rework CryptoSignature to two-dimensional interface: * CryptoSignature <- {EC <- {IndefiniteLength, DefiniteLength}, RsaOrHmac} * CryptoSignature <- {RawByteEncodable <- {EC.DefiniteLength, RsaOrHmac}, NotRawByteEncodable <- EC.IndefiniteLength}
- Loading branch information