generateRequest
fun generateRequest(version: OpenID4VP.Version, origin: String, clientId: String, nonce: String, responseEncryptionKey: EcPublicKey?, requestSigningKey: EcPrivateKey?, requestSigningKeyCertification: X509CertChain?, responseMode: OpenID4VP.ResponseMode, responseUri: String?, dclqQuery: JsonObject): JsonObject
Generates an OpenID4VP 1.0 request.
Return
the OpenID4VP request.
Parameters
version
the version of OpenID4vp to generate the request for.
origin
the origin, e.g. https://verifier.multipaz.org.
clientId
the client ID, e.g. x509_san_dns:verifier.multipaz.org.
nonce
the nonce to use.
responseEncryptionKey
the key to encrypt the response against or null.
requestSigningKey
the key to sign the request with or null.
requestSigningKeyCertification
the certification for requestSigningKey or null.
dclqQuery
the DCQL query.
responseMode
the response mode.
responseUri
the response URI or null.