Skip to content

Commit

Permalink
add new requet
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 26, 2024
1 parent c09d93e commit 3b9f02c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions agent/src/keyMethods/createSelfSignedCertificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export const createSelfSignedCertificate = async (key: Key) =>
name: 'C=NL',
notBefore: new Date(0), // Thu Jan 01 1970 01:00:00 GMT+0100 (Central European Standard Time)
notAfter: new Date(1763799732333), // Sat Nov 22 2025 09:22:12 GMT+0100 (Central European Standard Time)
includeAuthorityKeyIdentifier: true,
})
).toString('base64')
21 changes: 19 additions & 2 deletions agent/src/verifiers/animo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AGENT_HOST } from '../constants'
import { steuerIdMdoc, steuerIdSdJwt } from '../issuers/steuern'
import type { PlaygroundVerifierOptions } from '../verifier'
import { pidMdocInputDescriptor, pidSdJwtInputDescriptor } from './util'
import { mdocDcqlCredential, pidMdocInputDescriptor, pidSdJwtInputDescriptor, sdJwtDcqlCredential } from './util'

export const animoVerifier = {
clientMetadata: {
Expand Down Expand Up @@ -70,5 +71,21 @@ export const animoVerifier = {
],
},
],
dcqlRequests: [],
dcqlRequests: [
{
id: '6a93d69f-b1d5-4f21-b1d4-a2cc102b2341',
name: 'Steuer ID two formats (vc+sd-jwt/mso_mdoc)',
credentials: [
mdocDcqlCredential({
doctype: steuerIdMdoc.doctype,
namespace: 'eu.europa.ec.eudi.hiid.1',
fields: ['resident_address', 'issuance_date'],
}),
sdJwtDcqlCredential({
vcts: [steuerIdSdJwt.vct],
fields: ['credential_type', 'resident_address', 'birth_date'],
}),
],
},
],
} as const satisfies PlaygroundVerifierOptions
1 change: 1 addition & 0 deletions agent/src/verifiers/sixt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { AGENT_HOST } from '../constants'
import { mobileDriversLicenseMdoc, mobileDriversLicenseSdJwt } from '../issuers/infrastruktur'
import { steuerIdMdoc, steuerIdSdJwt } from '../issuers/steuern'
import type { PlaygroundVerifierOptions } from '../verifier'
import {
mdocDcqlCredential,
Expand Down

0 comments on commit 3b9f02c

Please sign in to comment.