Restructure and fix RelativeDistinguishedName. THIS IS A BREAKING CHANGE
Fix Asn1Time not truncating to seconds
Fix parsing of CryptoSignature when decoding Certificates
Remove bogus serialize() function from CryptoSignatureTHIS IS A BREAKING CHANGE
Features
Wrap exceptions during deserialization in KmmResult, i.e. changing all deserialize() methods in companion objects THIS IS A BREAKING CHANGE
Move class JweDecrypted from package at.asitplus.wallet.lib.jws to at.asitplus.crypto.datatypes.jwsTHIS IS A BREAKING CHANGE
Support more JWE algorithms, e.g. AES
Add header to constructor parameters of JweEncrypted
Extend properties of JsonWebKey
Introduce CertificateChain typealias with .leaf and .root convenience properties
Use CertificateChain inside JwsHeader instead of `Array'
Use CertificateChain inside JsonWebKey instead of `Array'
SubjectAltNames and IssuerAltNames:
Perform some structural validations on SAN and IAN
Expose TbsCertificate.issuerAltNames and TbsCertificte.subjectAltnames, which contain (somewhat) parsed
AlternativeNames structures for easy access to dnsName. iPAddress, etc.
Fixes
RelativeDistinguishedName
. THIS IS A BREAKING CHANGEAsn1Time
not truncating to secondsserialize()
function fromCryptoSignature
THIS IS A BREAKING CHANGEFeatures
Wrap exceptions during deserialization in
KmmResult
, i.e. changing alldeserialize()
methods in companion objects THIS IS A BREAKING CHANGEMove class
JweDecrypted
from packageat.asitplus.wallet.lib.jws
toat.asitplus.crypto.datatypes.jws
THIS IS A BREAKING CHANGESupport more JWE algorithms, e.g. AES
Add
header
to constructor parameters ofJweEncrypted
Extend properties of
JsonWebKey
Introduce
CertificateChain
typealias with.leaf
and.root
convenience propertiesUse'
CertificateChain
insideJwsHeader
instead of `ArrayUse'
CertificateChain
insideJsonWebKey
instead of `ArraySubjectAltNames and IssuerAltNames:
TbsCertificate.issuerAltNames
andTbsCertificte.subjectAltnames
, which contain (somewhat) parsedAlternativeNames
structures for easy access todnsName
.iPAddress
, etc.