• Verifies the given asset, by validating the signature and content binding.

    Parameters

    • assetId: string

      The ID of the asset.

    • asset: AssetNode

      The asset to verify.

    Returns Promise<{
        contentBindingVerified: boolean;
        root: string;
        signatureVerified: boolean;
        signer: string;
    }>

    A promise that resolves with an object containing the verification results.

Generated using TypeDoc