- Kotlin 1.9.20
- COSE Support
- Full RSA and HMAC Support
- New interface
Asn1OctetString
to unify both ASN.1 OCTET STREAM classes - Fix broken
content
property ofAsn1EncapsulatingOctetString
- Refactor
.derEncoded
property ofAsn1Encodable
interface to function.encodeToDer()
- Consistent exception handling behaviour
- Throw new type
Asn1Exception
for ASN.1-related errors - Throw
IllegalArgumentException
for input-related errors - Add
xxxOrNull()
functions for all encoding/decoding/parsing functions - Add
xxxSafe()
functions to encapsulate encoding/decoding inKmmResult
- Return
KmmResult
for conversions between different key representations ( i.e.CryptoPublicKey
,CoseKey
andJsonWebKey
)
- Throw new type