Hierarchy

  • LitResourceBase
    • LitAccessControlConditionResource

Implements

Constructors

Properties

resource: string
resourcePrefix: "lit-accesscontrolcondition" = LIT_RESOURCE_PREFIX.AccessControlCondition

Methods

  • Composes a resource string by hashing access control conditions and appending a data hash.

    Parameters

    • accs: AccessControlConditions

      The access control conditions to hash.

    • dataToEncryptHash: string

      The hash of the data to encrypt.

    Returns Promise<string>

    The composed resource string in the format 'hashedAccs/dataToEncryptHash'.