<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityDocumentServicesUI",
  "identifier" : "/documentation/IdentityDocumentServicesUI/OpenID4VPRawRequestContext/Response",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "IdentityDocumentServicesUI"
    ],
    "preciseIdentifier" : "s:26IdentityDocumentServicesUI26OpenID4VPRawRequestContextV8ResponseV"
  },
  "title" : "OpenID4VPRawRequestContext.Response"
}
-->

# OpenID4VPRawRequestContext.Response

An OpenID4VP response to send to the relying party.

```
struct Response
```

## Overview

Create a response with [`init(responseData:)`](/documentation/IdentityDocumentServicesUI/OpenID4VPRawRequestContext/Response/init(responseData:)), and pass it to [`sendResponse(_:)`](/documentation/IdentityDocumentServicesUI/OpenID4VPRawRequestContext/sendResponse(_:)).

## Topics

### Creating a response

[`init(responseData: Data)`](/documentation/IdentityDocumentServicesUI/OpenID4VPRawRequestContext/Response/init(responseData:))

Creates an OpenID4VP response.

### Accessing the response data

[`let responseData: Data`](/documentation/IdentityDocumentServicesUI/OpenID4VPRawRequestContext/Response/responseData)

The OpenID4VP authorization response.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)