Execute JS on the nodes and combine and return any resulting signatures
Get Chain Data Signing Shares
Ger Decryption Shares from Nodes
Retrieve the symmetric encryption key from the LIT nodes. Note that this will only work if the current user meets the access control conditions specified when the data was encrypted. That access control condition is typically that the user is a holder of the NFT that corresponds to this encrypted data. This NFT token address and ID was specified when this LIT was created.
Get different formats of access control conditions, eg. evm, sol, unified etc.
Get hash of access control conditions
Get JS Execution Shares from Nodes
Get the request body of the lit action
Request a signed JWT of any solidity function call from the LIT network. There are no prerequisites for this function. You should use this function if you need to transmit information across chains, or from a blockchain to a centralized DB or server. The signature of the returned JWT verifies that the response is genuine.
Request a signed JWT from the LIT network. Before calling this function, you must either create or know of a resource id and access control conditions for the item you wish to gain authorization for. You can create an access control condition using the saveSigningCondition function.
final JWT
Get Signing Shares from Nodes
Handle node promises
Handshake with SGX
Securely save the association between access control conditions and something that you wish to decrypt
Associated access control conditions with a resource on the web. After calling this function, users may use the getSignedToken function to request a signed JWT from the LIT network. This JWT proves that the user meets the access control conditions, and is authorized to access the resource you specified in the resourceId parameter of the saveSigningCondition function.
Sign Condition ECDSA
Store encryption conditions to nodes
Store signing conditions to nodes
Throw node error
Validates a condition, and then signs the condition if the validation returns true. Before calling this function, you must know the on chain conditions that you wish to validate.
Generated using TypeDoc
Combine Shares from network public key set and signature shares
Returns
final JWT (convert the sig to base64 and append to the jwt)