<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ThreadNetwork",
  "identifier" : "/documentation/ThreadNetwork/THCredentials",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ThreadNetwork"
    ],
    "preciseIdentifier" : "c:objc(cs)THCredentials"
  },
  "title" : "THCredentials"
}
-->

# THCredentials

A class that contains credentials for a Thread network.

```
class THCredentials
```

## Overview

A Thread network defines parameters that all connected devices use. [`THCredentials`](/documentation/ThreadNetwork/THCredentials)
provides these parameters.

## Topics

### Getting the Thread Parameters

[`activeOperationalDataSet`](/documentation/ThreadNetwork/THCredentials/activeOperationalDataSet)

The essential operational parameters for the Thread network.

[`borderAgentID`](/documentation/ThreadNetwork/THCredentials/borderAgentID)

The identifier of an active Thread network Border Agent.

[`channel`](/documentation/ThreadNetwork/THCredentials/channel)

The Thread network radio channel.

[`extendedPANID`](/documentation/ThreadNetwork/THCredentials/extendedPANID)

The Thread network extended PAN identifier.

[`networkKey`](/documentation/ThreadNetwork/THCredentials/networkKey)

The Thread network key.

[`networkName`](/documentation/ThreadNetwork/THCredentials/networkName)

The Thread network name.

[`panID`](/documentation/ThreadNetwork/THCredentials/panID)

The Thread network PAN identifier.

[`PSKC`](/documentation/ThreadNetwork/THCredentials/pskc)

The Thread network pre-shared key (PSKC) for the Commissioner.

### Getting the Framework Parameters

[`creationDate`](/documentation/ThreadNetwork/THCredentials/creationDate)

The date and time that the framework stored the credential in the database.

[`lastModificationDate`](/documentation/ThreadNetwork/THCredentials/lastModificationDate)

The date and time that the framework updated the credential in the database.

## Relationships

### Conforms To

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

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)