Skip to content

5.4.0

Latest
Compare
Choose a tag to compare
@nodh nodh released this 13 Feb 09:17

Release 5.4.0:

  • Extend support for POTENTIAL UC5: Remote qualified electronic signatures
    • Update data classes in rqes-data-classes
    • See main classes RqesOpenId4VpHolder and RqesOpenId4VpVerifier in vck-rqes
    • OpenID4VP: Update implementation to draft 23, adding transaction data hashes to the response of the Wallet
    • Rename RequestOptions to OpenIdRequestOptions
    • Add transactionData to PresentationRequestParameters
  • Implement Digital Credentials Query Language (DCQL) from OpenID for Verifiable Presentations:
    • Add DCQL library in module openid-data-classes (module vck now depends on this module because of dcql queries)
    • AuthenticationRequestParameters: Add member dcqlQuery
    • CredentialFormatEnum: Add method coerceDeprecations to coerce deprecated VC_SD_JWT to DC_SD_JWT
    • Holder: Deprecate previous methods for creating presentations, add new methods for creating presentations supporting DCQL and presentation exchange
    • Add class CredentialPresentation
    • Add class CredentialPresentationRequest
    • Change PresentationResponseParameters to directly reveal the parameters necessary for creating a response
    • Add subclasses to PresentationResponseParameters for working with raw presentation results
    • Add subclass VerifiableDCQLPresentationValidationResults of AuthnResponseResult to preserve credential query identifiers
    • AuthorizationResponsePreparationState now holds general credential presentation request
    • OpenId4VpHolder: Add presentation methods supporting both presentation mechanisms and deprecate previously existing presentation methods
    • OpenId4VpVerifier: Add prepareAuthnRequest and submitAuthnRequest to allow customization of presentation request, add validation support for DCQL presentations
    • RequestOptions: Add member presentationMechanism to explicitly select DCQL or PresentationExchange
  • Error handling:
    • Preserve more causes for errors
    • In AuthnRespnoseResult.Error add cause, which optionally holds the cause for the error
    • In AuthnRespnoseResult.ValidationError add cause, which optionally holds the cause for the error
  • Improve support for ISO mDocs:
    • In IssuerSignedItem, tag Instant values with CBOR tag 0, and LocalDate with CBOR tag 1004
  • Updates:
    • signum to 3.13.0, fixing COSE headers with more than one certificate
  • Remove elements marked as deprecated in 5.3.0: OidcSiopVerifier, OidcSiopWallet, Verifier.verifyPresentation(), OpenId4VpVerifier.validateAuthnResponseFromPost()