Skip to content

v0.28.0

Choose a tag to compare

@phisakel phisakel released this 05 May 06:34
· 50 commits to main since this release
c01b7ca

What's Changed

  • Add support for issuer metadata policy and update OpenID4VP dependency to v0.33.0 by @phisakel in #343

Configure Issuer Metadata Policy

When you need strict validation of issuer metadata signatures using certificate chains (such as IACA root certificates), you can configure the issuer's OpenId4VciConfiguration with a signed metadata policy:

// Create a certificate chain trust validator with IACA root certificates
let trust: CertificateChainTrust = TrustedChainValidator(iacaRoots: [eudic])

// Create an issuer metadata policy that requires signed metadata
let issuerMetadataPolicy: IssuerMetadataPolicy = .requireSigned(issuerTrust: .byCertificateChain(certificateChainTrust: trust))

// Configure the issuer with the strict signed metadata policy
let config = OpenId4VciConfiguration(credentialIssuerURL: "https://issuer.example.com", clientId: "my-wallet",
 issuerMetadataPolicy: issuerMetadataPolicy) 


**Full Changelog**: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-kit/compare/v0.27.0...v0.28.0