---
title: "attestationChallenge(forDeviceID:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrdevicecontroller/attestationchallenge(fordeviceid:)"
---

# attestationChallenge(forDeviceID:)

## Declaration

```swift
func attestationChallenge(forDeviceID deviceID: NSNumber) -> Data?
```
