<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IdentityDocumentServices",
  "identifier" : "/documentation/IdentityDocumentServices/IdentityDocumentWebPresentmentRawRequestValidator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "IdentityDocumentServices"
    ],
    "preciseIdentifier" : "s:24IdentityDocumentServices0aB33WebPresentmentRawRequestValidatorV"
  },
  "title" : "IdentityDocumentWebPresentmentRawRequestValidator"
}
-->

# IdentityDocumentWebPresentmentRawRequestValidator

A type that contains functions for validating the incoming web presentment raw request.

```
struct IdentityDocumentWebPresentmentRawRequestValidator
```

## Topics

### Initializers

[`init()`](/documentation/IdentityDocumentServices/IdentityDocumentWebPresentmentRawRequestValidator/init())

Initializes a raw request validator.

### Instance Methods

[`func validateISO18013MobileDocumentRequest(Data, origin: URL) throws -> ISO18013MobileDocumentRequest`](/documentation/IdentityDocumentServices/IdentityDocumentWebPresentmentRawRequestValidator/validateISO18013MobileDocumentRequest(_:origin:))

Validates an incoming raw ISO 18013-5 request.

[`func validateOpenID4VPRequest(Data, exchangeProtocol: OpenID4VPExchangeProtocolIdentifier, origin: URL) throws -> OpenID4VPRequest`](/documentation/IdentityDocumentServices/IdentityDocumentWebPresentmentRawRequestValidator/validateOpenID4VPRequest(_:exchangeProtocol:origin:))

Validates an incoming raw OpenID4VP request.

---

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)