> ## Documentation Index
> Fetch the complete documentation index at: https://trust-link-tsn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# device/non-exportable-credentials API

> Source-derived exports, parameter and result types, public methods and source links.

This reference is generated from the checked-out TypeScript exports. Types and signatures describe the package contract; source presence does not establish deployment or service availability. Error expressions below are direct throws, not an exhaustive list of failures from dependencies.

[Source module](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts). See the [reference index](https://trust-link-tsn.mintlify.site/sdk/api-reference.md) for package import boundaries and verification scope.

## generateNonExportableDeviceCredentials

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device`. [Implementation, line 55](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L55).

```ts theme={null}
generateNonExportableDeviceCredentials(): Promise<NonExportableDeviceCredentials>
```

## generateNonExportableDeviceSigningCredential

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device` or `@trustlink/tsn-sdk/sessions/proof-of-possession`. [Implementation, line 23](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L23).

```ts theme={null}
generateNonExportableDeviceSigningCredential(): Promise<NonExportableSigningCredential>
```

## generateNonExportableEncryptionCredential

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device`. [Implementation, line 39](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L39).

```ts theme={null}
generateNonExportableEncryptionCredential(keyPurpose: "device" | "recovery"): Promise<NonExportableEncryptionCredential>
```

## NonExportableDeviceCredentials

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device`. [Implementation, line 18](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L18).

### NonExportableDeviceCredentials.signing

[Source, line 19](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L19).

```ts theme={null}
signing: NonExportableSigningCredential
```

### NonExportableDeviceCredentials.encryption

[Source, line 20](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L20).

```ts theme={null}
encryption: NonExportableEncryptionCredential
```

## NonExportableEncryptionCredential

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device`. [Implementation, line 12](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L12).

### NonExportableEncryptionCredential.keyId

[Source, line 13](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L13).

```ts theme={null}
keyId: string
```

### NonExportableEncryptionCredential.publicKey

[Source, line 14](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L14).

```ts theme={null}
publicKey: JsonWebKey
```

### NonExportableEncryptionCredential.privateKey

[Source, line 15](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L15).

```ts theme={null}
privateKey: CryptoKey
```

## NonExportableSigningCredential

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/device`. [Implementation, line 6](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L6).

### NonExportableSigningCredential.publicKey

[Source, line 7](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L7).

```ts theme={null}
publicKey: JsonWebKey
```

### NonExportableSigningCredential.privateKey

[Source, line 8](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L8).

```ts theme={null}
privateKey: CryptoKey
```

### NonExportableSigningCredential.fingerprint

[Source, line 9](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/device/non-exportable-credentials.ts#L9).

```ts theme={null}
fingerprint: string
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.