<!--
{
  "availability" : [
    "iOS: 16.1.0 - 16.4.0",
    "iPadOS: 16.1.0 - 16.4.0",
    "macCatalyst: 16.1.0 - 16.4.0",
    "macOS: 13.0.0 - 13.3.0",
    "tvOS: 16.1.0 - 16.4.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 9.1.0 - 9.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "Matter",
  "identifier" : "/documentation/Matter/MTRNOCChainIssuer/onNOCChainGenerationNeeded(_:attestationInfo:onNOCChainGenerationComplete:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Matter"
    ],
    "preciseIdentifier" : "c:objc(pl)MTRNOCChainIssuer(im)onNOCChainGenerationNeeded:attestationInfo:onNOCChainGenerationComplete:"
  },
  "title" : "onNOCChainGenerationNeeded(_:attestationInfo:onNOCChainGenerationComplete:)"
}
-->

# onNOCChainGenerationNeeded(_:attestationInfo:onNOCChainGenerationComplete:)

```
func onNOCChainGenerationNeeded(_ csrInfo: CSRInfo, attestationInfo: AttestationInfo, onNOCChainGenerationComplete: @escaping MTRNOCChainGenerationCompleteHandler)
```

---

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)