OpenID4VP
object OpenID4VP
Functions
Link copied to clipboard
suspend fun generateRequest(version: OpenID4VP.Version, origin: String, clientId: String?, nonce: String, responseEncryptionKey: EcPublicKey?, requestSigningKey: AsymmetricKey?, responseMode: OpenID4VP.ResponseMode, responseUri: String?, dclqQuery: JsonObject): JsonObject
Generates an OpenID4VP request.
Link copied to clipboard
suspend fun generateResponse(version: OpenID4VP.Version, preselectedDocuments: List<Document>, source: PresentmentSource, showConsentPrompt: suspend (credentialPresentmentData: CredentialPresentmentData, preselectedDocuments: List<Document>, requester: Requester, trustPoint: TrustPoint?) -> CredentialPresentmentSelection?, appId: String?, origin: String?, request: JsonObject, requesterCertChain: X509CertChain?): JsonObject
Generates an OpenID4VP response.