@opentdf/sdk
    Preparing search index...

    Function CreateAssertion

    • Creates an Assertion object with the specified properties.

      Parameters

      • aggregateHash: string | Uint8Array<ArrayBufferLike>

        The aggregate hash for the assertion.

      • assertionConfig: AssertionConfig

        The configuration for the assertion.

      • cryptoService: CryptoService

        The crypto service to use for signing.

      • OptionaltargetVersion: string

        The target TDF spec version.

      Returns Promise<Assertion>

      The created assertion.