Skip to content

Commit

Permalink
Added CWT proofs to PID in mso_mdoc (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
babisRoutis authored Jun 17, 2024
1 parent 92404b9 commit 5123271
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,16 @@ val PidMsoMdocV1: MsoMdocCredentialConfiguration =
cryptographicBindingMethodsSupported = emptySet(),
credentialSigningAlgorithmsSupported = emptySet(),
scope = PidMsoMdocScope,
proofTypesSupported = ProofTypesSupported(nonEmptySetOf(ProofType.Jwt(nonEmptySetOf(JWSAlgorithm.ES256)))),
proofTypesSupported = ProofTypesSupported(
nonEmptySetOf(
ProofType.Jwt(nonEmptySetOf(JWSAlgorithm.ES256)),
ProofType.Cwt(
algorithms = nonEmptySetOf(CoseAlgorithm.ES256),
curves = nonEmptySetOf(CoseCurve.P_256),
),
),
),
policy = MsoMdocPolicy(oneTimeUse = true),
)

//
Expand Down

0 comments on commit 5123271

Please sign in to comment.