Skip to main content
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. See the reference index for package import boundaries and verification scope.

createAuthorizationCommitment

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 17.

createOwnerIdentityCommitment

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 13.

createTinCommitment

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 9.

deriveDevnetTestPolicyCommitment

Test fixture that binds a policy to a named test identity. Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 56.

deriveDevnetTestPrivacyReceivingRootCommitment

Fixture for controlled testing. It reproduces an owner-device root from a public wallet key and an explicit test identity label, with deterministic output. Wallet recovery uses the owner’s protected recovery material instead of public fixture inputs. Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 43.

deriveDevnetTestTcapGenesisCommitment

Test fixture that derives a nonzero genesis commitment for a new TCAP TIP. Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 68.

derivePrivacyReceivingRootCommitment

Commits owner-device privacy-receiving-root material without exposing the material itself. Production callers must supply root material held by the authorized device; this function does not derive a spend key or balance. Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 29.
Direct failure expressions:

TSN_DEVNET_TEST_POLICY_COMMITMENT_DOMAIN

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 6.

TSN_DEVNET_TEST_PRIVACY_ROOT_MATERIAL_DOMAIN

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 5.

TSN_DEVNET_TEST_TCAP_GENESIS_COMMITMENT_DOMAIN

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 7.

TSN_PRIVACY_RECEIVING_ROOT_COMMITMENT_DOMAIN

Import from @trustlink/tsn-sdk or @trustlink/tsn-sdk/authorization. Implementation, line 4.